日本免费高清视频-国产福利视频导航-黄色在线播放国产-天天操天天操天天操天天操|www.shdianci.com

學無先后,達者為師

網站首頁 編程語言 正文

npm一個錯誤 npm ERR code ENOENT npm ERR syscall open

作者:averylllo 更新時間: 2022-01-10 編程語言
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,另一個可能是不在項目那一級運行,可能在上一級或者下一級

原文鏈接:https://blog.csdn.net/averyluo/article/details/121118297

欄目分類
最近更新