Reputation: 65
Since migrating from node14 to node16, cypress is not being installed on 'npm install' and throws an error:
i think iv tried everything from reinstalling node16 to using 'sudo npm install'
its solved by either switching to node14 OR erasing the cypress line from package.json, but i need node16+cypress.
my 'nvm ls':
this issue is related to is-installed-globally npm package and it won't let me install it as well
Upvotes: 1
Views: 3016
Reputation: 11
For everyone who finds this in the future.
I was having the same trouble described above. The new version of cypress works with node 16.
Upvotes: 0
Reputation: 31904
It sounds like npm
itself is out of alignment with node. Try updating with
npm update npm -g
then re-install Cypress
Upvotes: 1