-
Notifications
You must be signed in to change notification settings - Fork 12k
Error: dryRunSink.commit(...).ignoreElements(...).concat is not a function #9194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
same, just installed the cli and getting the same error.
With the same result |
I am getting this error, too. Angular CLI: 1.6.4 |
Me too |
Same error, |
Same Error: |
oh my god ! i am having the same problem ! |
I can offer no help. But I have deep sympathy as I see the same problem. |
Following this worked -
|
angular/devkit@e1f4356#diff-0dfbc02885bfb31a1e86e72520aad335 This is the commit in the As this is just some refactoring, maybe it would be best to just go back. |
See @maymarx answer in angular/devkit#380: adding |
Same issue here too guys and gals! |
Adding |
how you add those things you talked about ?! |
i have the same issue, after adding "@angular-devkit/schematics":"0.0.42", "@angular-devkit/core": "0.0.23", to the package.json, i uninstalled angular cli and re installed it, but the same issue pops up |
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: 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:
|
thanks @gurgelv that worked 👍 |
Thanks @gurgelv, works! |
That will make you able to create a new project correct !! |
Adding
into devDependencies don't resolve problem in my case. The build still broken. |
i have of same problem :C |
I am also stuck with same error: |
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. |
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(...)"
Maybe I would to reinstall Angular CLI 1.5
|
The same problem here. Node: 8.5 ng-cli: 1.4.3 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 |
I have the proper rxjs version
|
Hi, has someone tried to solve the problem with angular-cli v1.7.0-beta.1?
|
have the exact same issue right now when using |
@andreimcristof try this |
seems updating to
and deleting node_modules + npm install might have done the trick for me. But I also updated some other versions of ng libraries that were warned about after previous installs, so I can't say with absolute certainty that the above two lines are what pushed it over the top. |
Also experiencing this issue, tried various fixes suggested here. I don't think this issue should be closed. Error:
And version info:
EDIT: My problem was with using rxjs 5.5.2. I changed to the following dev dependencies:
and updated to rxjs 5.5.6
and then deleted my node_modules and package-lock, then |
@mendhak solution didn't work for me. I got a new one after that:
I don't think this issue should be closed. |
I've tried every single solution offered here and nothing works. This is ridiculous. Why is this issue closed? |
Try using this:
yarn add --dev @angular-devkit/core@^0.0.28
yarn add rxjs@^5.5.2
rm -rf yarn.lock; rm -rf node_modules;
yarn;
This error cause in angular-devkit/core. There was undefined observable
method.
Yesterday it was take me about 3 hours to investigate and fix that. I hope
it will help
|
I have found a solution for my project: I have deleted my
Here is my package.json |
Not working
|
This was closed as no longer an issue, but I just installed @angular/cli (using
|
Please reopen, still an issue |
We the "CLI Team" would like to apologize for the confusion. StatusThis issue has been resolved in version UpdatingThe steps to update your environment to the latest version containing the fix: npm uninstall -g @angular/cli
npm cache clean
# if npm version is > 5 then use `npm cache verify` to avoid errors (or to avoid using --force)
npm install -g @angular/cli@latest
rm -rf node_modules dist # use rmdir /S/Q node_modules dist in Windows Command Prompt; use rm -r -fo node_modules,dist in Windows PowerShell
npm install --save-dev @angular/cli@latest
npm install ExplanationThe issue of The issue is that the CLI was using operators that were not imported and relied on them being on the Observable object. When the devkit was updated it removed this function and the bug in the CLI was exposed. The latest version of the CLI is now using pipeable operators and therefore importing all of the operators needed to work with observables, so this issue has been resolved. Thank you for your patience and for contributing by reporting this issue. |
@Brocco Thank you, it is worked)) |
@Brocco |
@Brocco problem solved! Thank you! |
…ular-cli#9194 (comment) Signed-off-by: Josip Ledic <ledicjp@gmail.com>
Thank you @gurgelv, that's works fine for me. |
@gurgelv You're a Rockstar!, thank you |
I had the same problem. My big thanks go to Mendhak. |
I had the same problem but not quite sure if it might work for the rest of you guys, but essentially i deleted node_module folder then uninstalled @angular/cli and re-install it once again but with higher version and finally updated the current node. |
I was helped
|
Hi, The suggested version 1.6.6 is compatible with Angular 5? If no, there is a different version that is compatible & work properly? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
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
The text was updated successfully, but these errors were encountered: