Elastep

Results comments of Elastep

I have a project with exact same error, using @angular 4.1.3 and @angular/cli 1.1.0-rc.0 (tried 1.04 as well with the same result). So the project builds fine with ` ng...

Even more, the project builds just fine like this: `npm run ng build -- --aot=true --environment=prod --output-hashing=all --sourcemaps=false --extract-css=true` But does not build like this: `npm run build -- --prod...

I've just opened a separate issue for this... So probably it'll attract more attention...

Please also leave a note about your issue here: https://github.com/angular/angular-cli/issues/6426

There are some undocumented or badly documented things that --aot --prod does with your code. For example, cssnano is also run, Please take a look https://github.com/angular/angular-cli/issues/6426 here for my solution....

That's probably a bug in syntax like the one I had... In my case it had nothing to do with dependencies... Does it build in debug mode?

How can I setup a **simple** repro? It's probably something inside my current project and if I knew what's the cause probably I could resolve it myself or write a...

Updated to 1.1.0-rc.1 ``` C:\...\FolWebAdmin>npm ls typescript [email protected] C:\...\FolWebAdmin `-- [email protected] ``` So now only one version of typescript is there... The error is still there... ``` Hash: 016265276845733f1ee8 Time:...

Never tried with aot build before. Switched from webpack to angular-cli and aot build did not work initially. Ok, I'll try to set up a repro... Tried running ng build...