npm安装的时候报-4048

npm ERR! errno -4048
npm ERR! syscall scandir

是缓存的问题,清理下缓存就行了。

控制台输入:

npm cache clean --force

转载于:https://www.cnblogs.com/apgy/p/9603004.html

你可能感兴趣的:(npm安装的时候报-4048)