npm安装的时候报-4048 npm ERR! errno -4048npm ERR! syscall scandir 是缓存的问题,清理下缓存就行了。 控制台输入: npm cache clean --force