Prefix=null

after installing cnpm, there is no problem printing cnpm-v. Prefix=null, causes an error when using the cnpm command later

clipboard.png

clipboard.png

prefix=null

clipboard.png

clipboard.png

ask the Great God for help to see where there is something wrong with the configuration of the environment.

Mar.04,2021

I generally choose to set it up as a command, and configure these two folders in other drive letters to prevent permission problems

npm config set prefix "D:\nodejs\node_global" //
npm config set cache "D:\nodejs\node_cache" //
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-1b397ce-2c18d.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-1b397ce-2c18d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?