Erro em projeto Angular 9

2 respostas
A

Hoje quando fui subir meu projeto(ng serve), apareceu esse erro:
Unknown error: Error: EPERM: operation not permitted, read
Vocês poderiam me ajudar?

2 Respostas

L

Tenta remover o angular-cli, limpando o cache em seguida, assim:

npm cache clean --force

Depois instale o angular-cli novamente para ver se funciona

A

Infelizmente não funcionou.
Apareceu a mensagem
Your global Angular CLI version (10.1.0) is greater than your local
version (10.0.7). The local Angular CLI version is used.

To disable this warning use “ng config -g cli.warnings.versionMismatch false”.
Unknown error: Error: EPERM: operation not permitted, read

Criado 8 de setembro de 2020
Ultima resposta 8 de set. de 2020
Respostas 2
Participantes 2