when running npm install on any project I used to get a result looking like this https://prnt.sc/grns5z
which shows all the dependencies being installed,
I recently installed
sudo npm install -g react@16.0.0-alpha.6
npm install npm@latest -g
echo "" > $(npm config get globalconfig)
npm config --global edit
Try killing any lingering node processes by running these codes:
sudo kill -9 ```pgrep node```
rm -rf ./node_modules
npm update
then you should try running the codes again.
*******:~$ sudo npm install -g react@16.0.0-alpha.6
It should show you this after it installs successfully
+ react@16.0.0-alpha.6
added 16 packages in 35.241s
and
*******:~$ sudo npm install npm@latest -g
/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
/usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
+ npm@5.4.2
updated 1 package in 15.393s