虚拟机安装nuxt,结果npm install 发生错误
原因据说是不可以在虚拟机hgfs共享文件夹安装,不过没有测试……放弃了
原文
https://stackoverflow.com/questions/33640805/npm-enoent-no-such-file-or-directory
I had a very similar issue and it was because I was trying to do an npm install from a mounted HGFS volume in Ubunutu.
This is because I use VMWare Fusion on OSX to virtualise Ubuntu, then mount shared OSX directories in Ubuntu.
Another npm install with the same source in a non-mounted directory (ie, my Ubuntu home folder) worked as expected.