Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Ao executar o npm install [email protected] --save dev tive o erro abaixo

PS C:\Curso ANGULAR\typescript-curso-1-arquivos-iniciais> npm install typescript@4.4.4 --save dev npm WARN config global --global, --local are deprecated. Use --location=global instead. npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for inotify@1.4.6: wanted {"os":"linux"} (current: {"os":"win32","arch":"x64"}) npm ERR! notsup Valid OS: linux npm ERR! notsup Valid Arch: undefined npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: x64

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Vitor\AppData\Local\npm-cache_logs\2022-07-27T22_47_21_959Z-debug-0.log PS C:\Curso ANGULAR\typescript-curso-1-arquivos-iniciais> npm audit fix npm WARN config global --global, --local are deprecated. Use --location=global instead. PS C:\Curso ANGULAR\typescript-curso-1-arquivos-iniciais> npm install typescript@4.2.2 --save-dev npm WARN config global --global, --local are deprecated. Use --location=global instead.

added 1 package, and audited 239 packages in 13s

11 packages are looking for funding run npm fund for details

15 vulnerabilities (3 moderate, 9 high, 3 critical)

To address all issues, run: npm audit fix

Run npm audit for details.

o que pode ser?

2 respostas
solução!

Rodei o fix e funcionou

Oi Vitor, tudo bem?

Que bom que conseguiu solucionar o problema! E obrigada por postar aqui a solução que pode ajudar outras pessoas.

Um abraço e bons estudos.