Skip to content
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

nigthwatch command failed with "Cannot find module 'optimist'" ( v1.0.4 ) #1793

Closed
dragon3 opened this issue May 5, 2018 · 0 comments · Fixed by #1794
Closed

nigthwatch command failed with "Cannot find module 'optimist'" ( v1.0.4 ) #1793

dragon3 opened this issue May 5, 2018 · 0 comments · Fixed by #1794

Comments

@dragon3
Copy link
Contributor

dragon3 commented May 5, 2018

I got the following error when I try to run the nightwatch command (v1.0.4):

$ nightwatch --help
   Cannot find module 'optimist'
       at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
       at Function.Module._load (internal/modules/cjs/loader.js:475:25)
       at Module.require (internal/modules/cjs/loader.js:598:17)
       at require (internal/modules/cjs/helpers.js:11:18)
       at Module._compile (internal/modules/cjs/loader.js:654:30)
       at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
       at Module.load (internal/modules/cjs/loader.js:566:32)
       at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
       at Function.Module._load (internal/modules/cjs/loader.js:498:3)
error Command failed with exit code 2.

It looks like the dependency optimist removed unintentionally in e037711 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants