ERR! path D:\NodeJS\node_cache\_cacache npm ERR! errno -4048
执行npm install express -g时报错如下:
ERR! path D:\NodeJS\node_cache_cacache npm ERR! errno -4048
解决方法:
以管理员身份运行cmd,再执行npm install express -g成功。

总结npm ERR! errno -4048是cmd没有用管理员权限,以管理员运行就解决了
Buy me a cup of coffee 🙂
觉得对你有帮助,就给我打赏吧,谢谢!
