npm ERR! code ENOENT问题解决方法
很突然就在我关闭文件进行压缩后,再重新打开npm报错了npm ERR! code ENOENTnpm ERR! code ENOENTnpm ERR! errno -4058npm ERR! syscall opennpm ERR! enoent ENOENT: no such file or directory, open 'xxx\package.json'npm ERR! enoent Th
·
很突然就在我关闭文件进行压缩后,再重新打开npm报错了npm ERR! code ENOENT
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'xxx\package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
我的解决方法简单粗暴,删掉本地的node_modules以及package-lock.json,npmi nstall–》npm run build就好了
更多推荐
已为社区贡献3条内容
所有评论(0)