【发布时间】:2020-10-27 18:41:24
【问题描述】:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/vagrant/code/node_modules/@fullhuman/postcss-purgecss/node_modules/commander/package.json.630663003
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/vagrant/code/node_modules/@fullhuman/postcss-purgecss/node_modules/commander/package.json.630663003'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
我在运行 npm install 时不断收到此错误。
我已经删除了 node_modules 文件夹、packages.json-lock 并清除了 npm 缓存
我正在使用 Homestead。
【问题讨论】: