2015-01-19 4 views
5

Host-Betriebssystem: Ubuntu 14.04.npm installieren Abhängigkeiten schlägt in vagrant Ubuntu mit freigegebenen Ordner

Wenn ich npm installiere, erhalte ich die folgenden Fehler.

npm WARN optional dep failed, continuing [email protected] 
npm WARN optional dep failed, continuing [email protected] 
npm WARN optional dep failed, continuing [email protected] 
npm WARN optional dep failed, continuing [email protected] 
npm ERR! EEXIST, open '/home/vagrant/.npm/bc688003--npm-gulp-util-3-0-2-package-tgz.lock' 
File exists: /home/vagrant/.npm/bc688003--npm-gulp-util-3-0-2-package-tgz.lock 
Move it away, and try again. 

npm ERR! System Linux 3.13.0-34-generic 
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--no-bin-link" 
npm ERR! cwd /home/vagrant/tixif/telmo-web 
npm ERR! node -v v0.10.33 
npm ERR! npm -v 1.4.28 
npm ERR! path /home/vagrant/.npm/bc688003--npm-gulp-util-3-0-2-package-tgz.lock 
npm ERR! code EEXIST 
npm ERR! errno 47 
npm ERR! not ok code 0 

ich versucht habe: npm --no-bin-Links zu installieren, auch habe ich versucht, die unten an meine Vagabund-Datei hinzufügen.

vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant", "1"] 

Funktioniert immer noch nicht. Vielen Dank für Ihre Antworten im Voraus.

Antwort

0

sieht aus, als ob Sie --no-bin-link statt --no-bin-links ausgeführt haben könnten. Gib es noch einmal?

+0

Versucht es mit --no-bin-links, hat nicht funktioniert Alberick0

+0

Stellen Sie sicher, dass Sie vagrant als Administrator ausführen, und auch npm als root installieren. –