简体   繁体   中英

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.

Just reverse the command

npx cypress open 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM