简体   繁体   中英

I get an error message whenever I try to run the cypress run --record --key xxxx in VScode terminal

I get an error message whenever I try to run the cypress run --record --key xxxx in VScode terminal. this is the error: cypress : The term 'cypress' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

每当我尝试在 VScode 终端中运行 cypress run --record --key xxxx 时,都会收到一条错误消息

看起来您缺少 npx 前缀,请再试一次:

npx cypress run --record --key <key goes here>

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