npm ERR! code ENOENT npm ERR! syscall open npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file

Posted 王同学要努力

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了npm ERR! code ENOENT npm ERR! syscall open npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file相关的知识,希望对你有一定的参考价值。

npm ERR! code ENOENT npm ERR! syscall open npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file

报错如下

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\\Users\\落笔\\package
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

解决办法

原因就是找不到package.json,找到你的package.json所在的目录即可解决此问题 项目就可以跑起来了

以上是关于npm ERR! code ENOENT npm ERR! syscall open npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file的主要内容,如果未能解决你的问题,请参考以下文章

npm 启动错误并出现 ERR!代码 ENOENT,系统调用打开

npm ERR! enoent ENOENT: no such file or directory, rename

cnmp安装失败,报错npm ERR! enoent ENOENT: no such file or directory,

`yo angular` 给出错误:npm ERR!代码 ENOENT npm 错误! errno 34(是的,我已经清理了缓存并设置了 .npmignore)

docker-compose 无法以 npm ERR 启动! enoent ENOENT:没有这样的文件或目录,打开'/usr/src/app/package.json'

npm ERR! code ETIMEDOUT npm ERR! syscall connect npm ERR! errno ETIMEDOUT npm ERR! network reques...