Home > Software design >  npm ERR! could not determine executable to run - Every time I load up VS Code and try to open Cypres
npm ERR! could not determine executable to run - Every time I load up VS Code and try to open Cypres

Time:03-17

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.

CodePudding user response:

Just reverse the command

npx cypress open 
  • Related