Error: dryRunSink.commit(...).ignoreElements(...).concat is not a function
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
I am also stuck with same error: Angular CLI: 1.6.4 Node: 8.9.4 OS: win32 x64 Angular:
Great solution @gurgelv works perfect!
thank u! @gurgelv it works fine!
For some reason I had a earlier local version of the CLI? Make sure you don't. Mine seems to be working now (not getting this error) with the above additions to package.json BUT I think there may be other problems. But I'm able to create components and modules. Angular CLI: 1.6.4 Node: v8.9.1 OS: Win10 x64
Thank you @gurgelv it works!
I Needed to npm install , after adding those lines to the dev dependencies , and i think now it is working
I have the same error: "Error: dryRunSink.commit(...)"
- Node.js: v9.4.0
- npm: 5.6.0
- Angular CLI: 1.6.4
Maybe I would to reinstall Angular CLI 1.5 The commands that I used
- sudo npm un -g @angular/cli
- sudo npm cache clean --force
- sudo npm i -g @angular/[email protected]
The same problem here.
Node: 8.5 NPM: 5.3
ng-cli: 1.4.3 ng-cli: 1.5.3 ng-cli: 1.6.4
I've tried with the above cli's versions and is the same problem. For 1.4 and 1.5 cli version I can't create new components, with 1.6 version I can't create new projects.
i don't get it ... was working fine just a while ago and then i got the dreaded error why is rolling back to an older version of the cli still producing the same error? tried 1.5.3
There is a fix about to be released for this based upon PR angular/devkit#384
@Metrophobe I think the issue is with the angular/devkit dependency, so even if you use lower releases of ng-cli you'll still get the faulty dependency.
@Metrophobe I think the issue is with the angular/devkit dependency, so even if you use lower releases of ng-cli you'll still get the faulty dependency.
so can we actually install an older angular/devkit and get back up and running ? the proposed solution previously further up is not working for me ... projects/ components not generating and am in the middle of some work! :(
There is a fix about to be released for this based upon PR angular/devkit#384
Many thanks for the effort! How do I apply this fix ?
Working on getting it released to npm, so all you would need to do is reinstall.
@Brocco Thanks
@Brocco, does it fix the whole range of issues including the generator commands?
@Brocco I reinstall angular-cli and the ng new is fixed but ng generate is still failing Should I have to update anything else? Node: 9.4.0 CLI: 1.6.4
@DiegoRodriguezTandil, the fix is not on NPM yet, you can check it out on the project page...
Oh boy - I guess there will be a fix by tomorrow
@Cosmin-Parvulescu it will fix generate commands as well.