npm一个错误 npm ERR code ENOENT npm ERR syscall open
·
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\Sys\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'D:\Sys\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\Lenovo\AppData\Roaming\npm-cache\_logs\2021-11-02T08_47_57_691Z-debug.log
原因就是找不到package.json
其中可能是误删了package.json,另一个可能是不在项目那一级运行,可能在上一级或者下一级
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐


所有评论(0)