bSky
bSky

Reputation: 187

npm ERR! could not determine executable to run - Every time I load up VS Code and try to open Cypress

Basically as per title, every time I load up Visual Studio Code and go to run 'npx open cypress' I get the below message in my terminal.

npm ERR! could not determine executable to run

If I do 'npx cypress -v' it gives me version details, So im a bit stumped.

Tried deleting the node_modules folder and re-running 'npm install' and 'npm install cypress --save-dev'

Currently having to use .exe download of cypress because of this issue.

Upvotes: 0

Views: 1837

Answers (1)

Fody
Fody

Reputation: 31974

Just reverse the command

npx cypress open 

Upvotes: 3

Related Questions