5
sistema operativo host: Ubuntu 14.04.Le dipendenze di installazione di npm falliscono in ubuntu vagabondo con cartella condivisa
Durante l'installazione di npm vengono visualizzati i seguenti errori.
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
ho provato: NPM installare --no-bin-link, anche Ho provato ad aggiungere la seguente per il mio file vagabonda.
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant", "1"]
Ancora non funziona. Grazie per le vostre risposte in anticipo.
Provato con --no-bin-links, non ha funzionato 3 – Alberick0
Assicurati di eseguire vagrant come amministratore, e anche npm installare come root. –