无法npm安装“取消链接'H:\ working_dir \ node_modules \ .mongoose.DELETE \ lib \ browser.js'”

时间:2019-03-23 13:58:56

标签: node.js mongoose

无法运行npm install。我想删除节点模块,然后重新安装,但无法删除,因为它显示此错误:

npm ERR! path H:\Backend\notecrates_backend\node_modules\.mongoose.DELETE\lib\browser.js
npm ERR! code UNKNOWN
npm ERR! errno -4094
npm ERR! syscall unlink
npm ERR! UNKNOWN: unknown error, unlink 'H:\Backend\notecrates_backend\node_modules\.mongoose.DELETE\lib\browser.js'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Hellstar\AppData\Roaming\npm-cache\_logs\2019-03-23T13_51_38_148Z-debug.log

1 个答案:

答案 0 :(得分:0)

尝试使用npm config set unsafe-perm=true

我希望您可以通过允许不安全的烫发来解决该错误