Q . Error: dryRunSink.commit(...).ignoreElements(...).concat is not a function

Dev Singh. asked, Jan 17 ' 2018

Just Upgraded to Angular CLI: 1.6.4

each time I run ng new I get this error

Error: dryRunSink.commit(...).ignoreElements(...).concat is not a function
dryRunSink.commit(...).ignoreElements(...).concat is not a function

  • error
  • angular-cli
  • angular2

1 Answers

they are dependencies which can be added to the package.json of your project, and no "":"0.0.42", "": "0.0.23" is not enough. you need the full dependency names:
"@angular-devkit/schematics":"0.0.42", "@angular-devkit/core": "0.0.23"

In my case, I had no project to add these dependencies to (creating a new one now), so I had to follow @eclanrs's solution at angular/devkit#380:

npm i @angular-devkit/schematics@0.0.45 @angular/cli --no-save

Leave a Ansewer