NPM does not work after a while

0

I'm doing some Angular courses and need to run npm commands frequently.

But after a few commands run, when I go to execute a new command with npm, it locks, returns nothing, no messages. It simply gets the dashboard blinking on the terminal and nothing happens.

It only works again if I restart Windows. But it's annoying, because every time I crash I have to restart. And it does not occur just inside the folder of my application, because even the command npm -v does not rotate.

My OS is Windows 10 and this occurs either at the windows command prompt (Adm or not), or at the Visual Studio Code terminal.

Does anyone know what may be happening and if there is anything that can be done to fix this?

    
asked by anonymous 30.06.2018 / 22:32

0 answers