虚拟机安装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.

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐