I am a novice with node.js and npm. I wanted to use purgecss npm plugin so tried to update and upgrade my node Downloaded v11.1 and installed it but after that Its broken now and I can't figure out its log file either
Here is the npm-debug.log file with it. Please tell me in simple and plain words how to fix this node installation problem
If your having a problem try to update node.js (I did for 3 days). Try Give NVM (Node Version Manager) a try.
Do the following in this order:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
command -v nvm
nvm install node
node -v
node -v will show you that your node.js is updated.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.