Właśnie zrobiłem środowisko laravel5 używając domostwa. Zrobiłem "npm install" i otrzymałem błędy poniżej.Npm w Homestead
[email protected]:~/Code/casts$ npm install
> [email protected] install /home/vagrant/Code/casts/node_modules/laravel-elixir/node_modules/gulp-sass/node_modules/node-sass
> node scripts/install.js
Binary downloaded and installed at /home/vagrant/Code/casts/node_modules/laravel-elixir/node_modules/gulp-sass/node_modules/node-sass/vendor/linux-x64-11/binding.node
> [email protected] postinstall /home/vagrant/Code/casts/node_modules/laravel-elixir/node_modules/gulp-sass/node_modules/node-sass
> node scripts/build.js
` /home/vagrant/Code/casts/node_modules/laravel-elixir/node_modules/gulp-sass/node_modules/node-sass/vendor/linux-x64-11/binding.node ` exists.
testing binary.
Binary is fine; exiting.
npm ERR! EEXIST, open '/home/vagrant/.npm/9fb4c098-adable-stream-1-0-33-package-tgz.lock'
File exists: /home/vagrant/.npm/9fb4c098-adable-stream-1-0-33-package-tgz.lock
Move it away, and try again.
npm ERR! System Linux 3.16.0-23-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/vagrant/Code/casts
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! path /home/vagrant/.npm/9fb4c098-adable-stream-1-0-33-package-tgz.lock
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! not ok code 0
Chyba „packages.json” może być w porządku, ale problem może być spowodowany przez KMP.
Wszelkie pomysły?
mam zalane z błędami, i potrzebne rzeczy, jak przy użyciu '--no-bin-links' i instalowania jako' sudo' który "Nigdy" nie chcę robić normalnie, a ja wciąż mam problemy, nie mogę uzyskać 'npm run watch', aby pracować np. w prawdziwym bałaganie. Mam zamiar rzucić ręcznik, ponieważ potrzebuję trochę produkcji tutaj. – blamb