I'm seeing an error when attempting to install the latest cypress on my Windows 10 machine. I was using cypress 8.7 just fine. I deleted node_modules
and package-lock.json
and removed "cypress": "^8.7.0",
from package.json
.
Now installing cypress (9.1) I see this error:
npm install --save-dev cypress
npm ERR! Error: Cannot find module 'har-validator'
I see the same error when trying to use the old version too
npm install --save-dev cypress@8.7.0
System info from powershell:
node -v
> v16.8.0
npm -v
> 7.21.0
UPDATE:
- My friend is able to install with dependency 8.7.0 in package.json, on OSX with nodejs
14.16.0
. - This works today (2021-11-26) for me
npm install --save-dev cypress@8.7.0