【发布时间】:2019-01-29 23:48:57
【问题描述】:
npm install --save-dev clean-webpack-plugin 产生以下错误:
npm ERR! path /home/dovetail/dealware/node_modules/latest/node_modules/npm/node_modules/dezalgo/node_modules/asap
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/home/dovetail/dealware/node_modules/latest/node_modules/npm/node_modules/dezalgo/node_modules/asap' -> '/home/dovetail/dealware/node_modules/latest/node_modules/npm/node_modules/dezalgo/node_modules/.asap.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
尝试过: 擦除 node_modules 目录和 npm install 检查文件权限。
节点版本:8.11.4 NPM 版本:5.6.0
【问题讨论】:
标签: node.js npm aurelia npm-install