npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\ze wei lin\Desktop\lzw/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\ze wei lin\Desktop\lzw\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: PS C:\Users\ze wei lin\Desktop\lzw> npm run server npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\ze wei lin\Desktop\lzw/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\ze wei lin\Desktop\lzw\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ze wei lin\AppData\Local\npm-cache\_logs\2023-05-31T06_44_48_998Z-debug.log PS C:\Users\ze wei lin\Desktop\lzw> npm run build npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\ze wei lin\Desktop\lzw/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\ze wei lin\Desktop\lzw\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ze wei lin\AppData\Local\npm-cache\_logs\2023-05-31T06_45_34_144Z-debug.log
时间: 2023-09-12 18:12:30 浏览: 174
YOLO算法-城市电杆数据集-496张图像带标签-电杆.zip
这看起来是一个 npm 的错误,可能是因为在执行 npm 命令时,它找不到指定的 package.json 文件。你可以检查一下你的项目目录下是否有 package.json 文件,或者是否路径有误。你也可以尝试重新初始化 npm 以及安装所需的依赖,或者更新 npm 版本。如果还是无法解决问题,你可以查看完整的错误日志以获取更多信息。
阅读全文