0
我試圖用npm start
在Windows 7機器上啓動一個sandstorm
應用程序vagrant-spk
。我可以vagrant-spk vm ssh
然後npm start
做到這一點,但是當我嘗試vagrant-spk dev
,它崩潰了:ENOENT:沒有這樣的文件或目錄,uv_os_homedir
/usr/lib/node_modules/npm/node_modules/update-notifier/node_modules/xdg-basedir/index.js:5 const home = os.homedir(); ^ Error: ENOENT: no such file or directory, uv_os_homedir at Object. (/usr/lib/node_modules/npm/node_modules/update-notifier/node_modules/xdg-basedir/index.js:5:17) at Module._compile (module.js:569:30) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:503:32) at tryModuleLoad (module.js:466:12) at Function.Module._load (module.js:458:3) at Module.require (module.js:513:17) at require (internal/module.js:11:18) at lazy (/usr/lib/node_modules/npm/node_modules/update-notifier/node_modules/lazy-req/index.js:2:51) at /usr/lib/node_modules/npm/node_modules/update-notifier/node_modules/lazy-req/index.js:10:11
沒有人有任何想法?謝謝!