My npm is getting stuck a lot, whether its npm install from package.json
or individual packages.
Right now, I\'m not even able to sudo npm install
For me it was double temp directories in Windows.
Open a command prompt and type:
echo %TEMP%
You should receive path to a single directory. If you receive multiple directories (I received C:\Users\\AppData\Local\Temp;C:\xampp\php) this might be the problem. You can fix it using this command:
SET TEMP=""
where
might be the first path (before semicolon, that means C:\Users\
in my case).