无论我尝试安装什么模块,我都会收到以下错误。
npm ERR! path /home/ubuntu/server/node_modules/node-libcurl/node_modules/abbrev
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/home/ubuntu/server/node_modules/node-libcurl/node_modules/abbrev' -> '/home/ubuntu/spryfit-server/node_modules/node-libcurl/node_modules/.abbrev.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
我完全不知道它为什么会一直发生,我试图在node-libcurl目录中安装abbrev
模块。我发现每次运行npm install
时,node-libcurl中的依赖关系都会自动删除。从来没有发生这种情况,我该怎么办?