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

Cannot find module 'npx-cli.js #6

Closed
robfreundlich opened this issue May 1, 2020 · 2 comments
Closed

Cannot find module 'npx-cli.js #6

robfreundlich opened this issue May 1, 2020 · 2 comments

Comments

@robfreundlich
Copy link

When i try to run a test (Right-click -> Run test -> Cypress Run), it crashes immediately with the following output:

$PATH_TO_NODE\node.exe $PATH_TO_NODE\node_modules\npm\bin\npx-cli.js cypress run --reporter $PATH_TO_TEST_DIR/node_modules/cypress-intellij-reporter --spec $PATH_TO_TEST_DIR/cypress/path/to/MyTestSpec.spec.ts
module.js:472
    throw err;
    ^

Error: Cannot find module '$PATH_TO_NODE\node_modules\npm\bin\npx-cli.js'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.runMain (module.js:605:10)
    at run (bootstrap_node.js:423:7)
    at startup (bootstrap_node.js:147:9)
    at bootstrap_node.js:538:3

Process finished with exit code 1
@mbolotov
Copy link
Owner

Hi Rob!
Is this issue still actual for you?

@robfreundlich
Copy link
Author

Nope, it's working fine now.

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

No branches or pull requests

2 participants