no such file or directory, npm i 安装的时候
解决办法尝试 删除 node_modules 文件夹执行如下命令npm cache clean失败。提示如下npm ERR! As of npm5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is cons istent, use npm cache verify instead. On the other hand, if youre debugging an issue with the installer, you can use npm install --cache /tmp/empty-cache to use a tempor ary cache instead of nuking the actual one.执行提示命令npm install --cache /tmp/empty-cache成功。