Estou tendo dificuldade para instalar o cypress.
estou usando a versão do node utilizada neste curso, e ao tentar instalar o cypress aparece o seguinte erro:
Microsoft Windows [versão 10.0.19045.3570]
(c) Microsoft Corporation. Todos os direitos reservados.
C:\WINDOWS\system32> nvm install 16.13.1
Downloading node.js version 16.13.1 (64-bit)...
Extracting node and npm...
Complete
npm v8.1.2 installed successfully.
Installation complete. If you want to use this version, type
nvm use 16.13.1
C:\WINDOWS\system32> nvm use 16.13.1
Now using node v16.13.1 (64-bit)
C:\WINDOWS\system32> nvm ls
18.18.2
18.17.1
* 16.13.1 (Currently using 64-bit executable)
C:\WINDOWS\system32> npm install cypress --save-dev
Error: Cannot find module 'C:\Users\Marce\AppData\Roaming\nvm\v16.13.1\node_modules\npm\node_modules\minizlib\node_modules\minipass\index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:353:19)
at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\Users\Marce\AppData\Roaming\nvm\v16.13.1\node_modules\npm\node_modules\minizlib\index.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
Error: Cannot find module 'C:\Users\Marce\AppData\Roaming\nvm\v16.13.1\node_modules\npm\node_modules\minizlib\node_modules\minipass\index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:353:19)
at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\Users\Marce\AppData\Roaming\nvm\v16.13.1\node_modules\npm\node_modules\minizlib\index.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
C:\WINDOWS\system32>