I run on Window 10, node js 8.12, visual studio code ver 1.27.2 In other PC which cypress worked normally with Windows PowerShell in terminal but in error PC it only run with cmd.
Use \
instead of /
in path for Windows:
.\node_modules\.bin\cypress open
In order to run cypress by this comand npm run cypress:open
you need to add "cypress:open": "cypress open"
to the scripts
field in your package.json
file:
{
"scripts": {
"cypress:open": "cypress open"
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With