Reputation: 147
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 [email protected]
and npm install npm@latest -g
after running these two commands I no longer see the dependencies being installed in yellow text This is what I see now https://prnt.sc/grntzv
Is there a option or setting to display the dependencies being installed like in the first screenshot?
I tried resetting npm global settings with echo "" > $(npm config get globalconfig)
npm config --global edit
but it didn't work,
Upvotes: 0
Views: 68
Reputation: 9933
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 [email protected]
It should show you this after it installs successfully
+ [email protected]
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
+ [email protected]
updated 1 package in 15.393s
Upvotes: 1