

Hint: If is not accessible in your location try setting a proxy via HTTP_PROXY, e.g. Finally, there will be package damage and other installation problems.Npm WARN prefer global should be installed with install C:Usersyuexiaoblognode_modulesnode-sassĭownloading binary from. The file will be generated in the user directory Delete package-lock.json and directly npm installĪs long as you have configured parameters on the npm command line, such as npm config set registry Then the whole installation package under the / node_modules / file will fail due to the lack of package.ģ. Sometimes when we pull the package-lock.json file of others on git, npm install may report an error and prompt for package breakage. If not, you can close the anti-virus software Then go to the account under the user under the c disk to query, this time there will be, then delete, and execute the clear cache command again npm cache clean -forceĬlose the ide program, delete all the files in node ﹣ modules, and then npm install. I check the directory address of the text file and find it is the same as the above If it does not, the edit will be empty, npm config edit Then I went to the folder again and found out whether To query the npmrc path, enter the following command npm config ls -l I searched in this computer for a long time and found nothing. Then the question comes again, so where is the. Npm ERR! Error: EPERM: operation not permitted, unlink 'D:\pbs_workspace\web-vue\node_modules\.staging\echarts-2a49d5e4\dist\echarts.js.map'

Npm ERR! path D:\pbs_workspace\web-vue\node_modules\.staging\echarts-2a49d5e4\dist\echarts.js.map This problem was reported when using node.js to package vue today npm ERR! code EPERM
