-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Error: Cannot find module 'process-nextick-args' #1930
Comments
I'm also getting this same issue (on a mac) after updating to the angular-cli webpack version following the steps here: https://github.com/angular/angular-cli/blob/master/WEBPACK_UPDATE.md
Thanks |
Just playing around - I updated process-nextick-args, that is a dependency of readable stream from 1.0.6 to 1.0.7 and this fixed the issue for me. |
Update |
I solved it.
|
I am getting this error too after a fresh install of angular-cli@webpack and then running any ng command. I have used the above trick, but had to globally.
|
@sculove yes, this solution works for me too, but this seems to be a bug in the dependency hierarchy of angular-cli. |
have you tried my solution before downvoting? that's how I fixed it. You don't need to bloat-up you global packages. ;) |
Even |
Upgrading Node.js to 6.5 and reinstalling angular-cli also fixes this. |
Looking into it myself. |
Tried making a custom version and installing globally from it. I can verify that adding Edit: On a fresh copy of the repo, |
I've been trying to get to the root of this issue without much success. As far as I can tell, this is either a node or a nvm problem somehow. Maybe an odd combination of packages, or some kind of odd interaction with packages that try to be built like I've tried a lot of installs so far, and the best way I've found to reproduce this in Windows:
This gets me the error shown in the initial report:
As reported by @kevinsawicki, this also seems to happen in other projects: electron-userland/electron-prebuilt#63 (comment) As reported by @rbj325, using I'm not sure what can be done on our side to support node 5... we could add /cc @hansl |
Removing the critical label as it only seems to affect a subset of users and, as far as I can tell, it's not within out control to fix it. |
I'm on linux, node 6.2.0 (via distro's package manager), same error. Installing both dependencies as global packages fixed for me.
#arrumaIssoFilipe |
I am also getting this error after attempting to update from Windows 7
|
I am receiving this error as well. I installed the latest version of the CLI globablly: Operating System: Windows 7 |
Still exists at beta 15.
|
I can confirm that angular-cli: 1.0.0-beta.15 |
I think this was completely fixed in #3414. My theory is that, on machines that could build Closing but please let me know if it still happens. |
nvm install 6.11.3 helped me to install that damn package |
I ran into this issue and after spending sometime, I decided to delete node and npm. To completely uninstall node + npm is to do the following:
And if you don't know how to reinstall Node and npm, follow this: http://blog.teamtreehouse.com/install-node-js-npm-mac I hope this will help everyone |
I think this issue occur because of node version .So update your node and npm version. Check node versionnodejs --version Update node versionsudo apt-get install nodejs Update npm versionsudo apt-get install npm Install angular CLInpm install -g @angular/cli |
Seeing this error directly after Node/npm originally installed via nodesource.com.
|
Same problem as @thinkspill.
|
In my case it happens when i install yarn and seems there are conflict happens in there |
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. |
Windows 10
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:I cannot even get this (same error). But installed
1.0.0-beta.11-webpack.8
do on your code? etc.
more information.
Tried to init a project (
ng init
).Installed locally in the project's directory (
npm i angular-cli@webpack
)The text was updated successfully, but these errors were encountered: