I am trying to create a new angular project. I followed the steps mentioned in this site. https://github.com/angular/angular-cli
When I try to create a new project using ng new
command, I get error.
E:\Code\> ng new some-name
Error: dryRunSink.commit(...).ignoreElements(...).concat is not a function
dryRunSink.commit(...).ignoreElements(...).concat is not a function
Here is the result of ng serve
Angular CLI: 1.6.4
Node: 6.11.4
OS: win32 x64
Edit: Looks like everyone is getting this error. https://github.com/angular/angular-cli/issues/9194
Here is the link to git issue: https://github.com/angular/devkit/issues/380
Solution (temporary solution until they fix the issue): Adding the following lines to the package.json fixes the problems
"@angular-devkit/schematics":"0.0.42",
"@angular-devkit/core": "0.0.23",
To create new project run the following command
npm i @angular-devkit/[email protected] @angular/cli --no-save
These solutions were provided in the git issue,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With