-
Notifications
You must be signed in to change notification settings - Fork 12k
ng e2e error: Cannot find module 'process-nextick-args' #2128
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
I just got this error too. Upgrading node to 6.5 and reinstalling angular-cli fixed it for me! |
I already used node v6.5.0 and npm v3.10.7 (see above). I'm using the linked version of angular-cli, so I will experiment a little bit. |
I did a fresh reinstall of the linked cli version and cannot reproduce the problem -> closing the issue |
Hi Dmitry, I closed the issue, because after reinstalling a linked cli I could not reproduce the issue any more. Regards, Walter Von: Dmitry A. Efimenko [mailto:[email protected]] — |
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:angular-cli: local (v1.0.0-beta.14, branch: master)
node: 6.5.0
os: win32 x64
do on your code? etc.
App was created by "ng new foo7", no changes
more information.
ng e2e
module.js:457
throw err;
^
Error: Cannot find module 'process-nextick-args'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module.load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (d:\Entwicklung\angular2\angular-cli\foo7\node_modules\readable-stream\lib_stream
duplex.js:21:23)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Walter\AppData\Roaming\npm\node_modules
npm\bin\npm-cli.js" "run" "e2e" "--" "./protractor.conf.js"
npm ERR! node v6.5.0
npm ERR! npm v3.10.7
npm ERR! code ELIFECYCLE
npm ERR! [email protected] pree2e:
webdriver-manager update
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] pree2e script 'webdriver-manager update'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the foo7 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webdriver-manager update
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs foo7
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls foo7
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! d:\Entwicklung\angular2\angular-cli\foo7\npm-debug.log
Some end-to-end tests failed, see above.
After installing process-nextick-args manually (npm install process-nextick-args --save-dev) the e2e tests work.
The text was updated successfully, but these errors were encountered: