Description
OS?
Ubuntu 16.10 x64
Versions.
$ ng -v
angular-cli: 1.0.0-beta.22-1
node: 6.8.0
os: linux x64
Repro steps.
I updated this morning to "angular-cli": "1.0.0-beta.22-1"
and I have a strange behaviour. It seems that aot
is now activated by default. (I didn't change anything to my code).
The log given by the failure.
After running as usual ng serve
I first ran into error like :
Error encountered resolving symbol values statically. Reference to a non-exported function
Or
Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function
The big problem here is not even to make my code aot
compliant (and I did).
The problem is not to strip out custom decorators (see #2799).
Before that update, the app I'm working on could not be deployed using --aot
because of that.
And we said at work that it's fine till we can dev and hopefully this feature would come soon.
But now, I do have the same problem in dev, which is really a problem.
(I'll have to go back to beta-21 until it get fixed).
Mention any other details that might be useful.
To reproduce :
git clone https://gitlab.com/victornoel/petals-cockpit.git
git checkout front/upgrade-angular-cli-beta-22
cd petals-cockpit/frontend
yarn
# or : npm i
ng serve
Thanks for your awesome work on angular-cli !