Anton Myzenkov

Results comments of Anton Myzenkov

Npm version 6.1.0 fixes `write after end error.` See npm [relese notes](https://github.com/npm/npm/releases). All versions between 5.6.0 and 6.1.0 have this problem. See https://github.com/npm/npm/issues/19989

Opened an issue for UglifyJS https://github.com/mishoo/UglifyJS2/issues/3055

@filipesilva, Yes, it works with `--build-optimizer = false`. But it also works with sets various `--prod` flags where `--build-optimizer = true`. ``` ng build --aot=true --environment=prod --output-hashing=all --sourcemaps=false \ --extract-css=true...

Hmm... The project is successfully created relative to the "`/`"(root) directory, but is not created relative to the "`/home/username/`" and subdir.

@dimitrijuchtmans, thank you. Yea, the directory "`/home/username`" contained an `angular cli.json` file.

@ge0rgecz It seems that this is a problem with npm. See this issue https://github.com/npm/npm/issues/19989

@fmorriso You can add a serve rule to build architect in `angular.json` ```json "build": { "builder": "@angular-devkit/build-angular:browser", "options": { --- }, "configurations": { "production": { --- }, "serve": { "extractCss":...

@mmalerba, Datepicker don't show dates if I build with `--prod`(AOT mode?). Why?

Yes, I tried. But this did not give positive results.

@mmalerba, thank you very much for your investigation. Also I noticed that `--prod` works with Moment.js version below 2.19.0. Since version 2.19.0, this function has changed. How do you think...