我运行过npm install && npm run dev
我得到了这个错误。
npm ERR! code UNKNOWN
npm ERR! syscall mkdir
npm ERR! path C:\Users\user\AppData\Roaming\npm-cache\_cacache\content-v2\sha512\24\db
npm ERR! errno -4094
npm ERR! UNKNOWN: unknown error, mkdir 'C:\Users\user\AppData\Roaming\npm-cache\_cacache\content-v2\sha512\24\db'
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm ERR! code UNKNOWN
npm ERR! syscall mkdir
npm ERR! path C:\Users\user\AppData\Roaming\npm-cache\_cacache\content-v2\sha512\24\db
npm ERR! errno -4094
npm ERR! UNKNOWN: unknown error, mkdir 'C:\Users\user\AppData\Roaming\npm-cache\_cacache\content-v2\sha512\24\db'我试过了
npm cache verify,npm cache clear --force.但是没有什么改变
我已经卸载并安装了js节点。但什么也没有
我该怎么办?我使用窗口10 64位
发布于 2020-08-28 21:10:17
我遇到了与您相同的问题,我尝试了与您相同的步骤在我的应用程序中安装mongoDB,但没有成功。因此,我在管理员模式下打开了提示符,并放置了以下路径:C:\foo\target_folder> npm安装mongodb,它成功了!)
https://stackoverflow.com/questions/63073172
复制相似问题