After upgrading node to the latest 10.0, the npm version has been reduced and npm, cannot be upgraded. Attached picture

clipboard.png
clipboard.png

after upgrading Node from 7.9.0 to 10.0, the npm version became 5.6 instead. Why did you update npm separately and report an error again?

Mar.06,2021

because the npm in the Node package is 5.6. I don't know how you upgraded, so it's hard to determine what the problem is.

The inability to upgrade after

seems to be a permission problem. The previous directory cannot be accessed. You can try sudo or reinstall it.

finally, it is recommended that you do not use CNPM, which will lead to package delivery problems. It is recommended that you temporarily modify the system variables when necessary (download Electron, Phonegap, etc.), and most of the time NPM will not be too slow.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eac36d-20bf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eac36d-20bf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?