-
Notifications
You must be signed in to change notification settings - Fork 12k
Angular-Cli 1.0.0-beta.22-1 activate --aot by default ? #3427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
dupe of #3368 |
It is using AOT=true (cannot be disabled) by default IN EVERY version now, because of benevolent dependencies on ngtools/webpack.. this is the hell of NPM. We cannot even build our applications now.. |
@montella1507 I heard about the ngtools/webpack problem and as it's a problem of Anyway until they figure something out, I wiped my node_modules, uninstalled angular-cli globally and reinstalled it in beta21 (same for local). |
i would try, thanks. I think the entire "allow to install newer- - nonbreaking changes version" in NPM is only road to hell and terrible dead. |
Error: AppModule is not an NgModule IS there ANY working version? I dont think so... i did:
|
Closing this as duplicate of #3368 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Uh oh!
There was an error while loading. Please reload this page.
OS?
Ubuntu 16.10 x64
Versions.
Repro steps.
I updated this morning to
"angular-cli": "1.0.0-beta.22-1"
and I have a strange behaviour. It seems thataot
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 :Or
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 :
Thanks for your awesome work on angular-cli !
The text was updated successfully, but these errors were encountered: