bvaissade
bvaissade
I have also problems on app build with previous version ! I try to do : ``` rm -rf node_modules dist # use rmdir on Windows npm install --save-dev @angular/cli@latest...
All others params (target, env..) fail the same way.
Try with a brand new project (made with `ng init`). Always en dev mode with `ng serve --env=prod` !
I have try your code. Same bug ! Here my **environment.prod.ts** ``` export const environment = { production: true }; ``` Here my **app.component.ts** : ``` import { Component }...
Ok I have try with @ukaaa command `ng serve --target=production --environment=prod` but allway en DEV mode :-(
Can't test it ! Lot of errors in my .angular.cli.json. Like : ` "$schema": `"./node_modules/@angular/cli/lib/config/schema.json",`` And `ng new` don't works.
Same error in `@angular/cli: 1.0.0-beta.32.3` ! `ng new` send error : `The "ng new" command requires a name argument to be specified. For more details, use "ng help".`
Thanks but my PC is on Windows 10 ! My nodejs version is 7.5.0.
I update to 1.0.0-rc-0 : (uninstall and clean re-install) ``` _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___|...