Vagrantta nodejs ve npm paketleri kurulmaya çalışırken alınan hata
/usr/local/bin/nodemon -> /usr/local/lib/node_modules/nodemon/bin/nodemon.js
nodemon@1.3.7 /usr/local/lib/node_modules/nodemon
+¦¦ minimatch@0.3.0 (sigmund@1.0.0, lru-cache@2.5.0)
+¦¦ touch@0.0.3 (nopt@1.0.10)
+¦¦ ps-tree@0.0.3 (event-stream@0.5.3)
L¦¦ update-notifier@0.3.1 (is-npm@1.0.0, string-length@1.0.0, chalk@1.0.0, semver-diff@2.0.0, latest-version@1.0.0, configstore@0.3.2)
vagrant@vagrant-ubuntu-trusty-32:/var/www/benimsite$ nodemon app.js
/usr/bin/env: node: No such file or directory
vagrant@vagrant-ubuntu-trusty-32:/var/www/benimsite$ sudo nodemon app.js
/usr/bin/env: node: No such file or directory
bu hatanın cevabı
http://stackoverflow.com/questions/26320901/cannot-install-nodejs-usr-bin-env-node-no-such-file-or-directory
sudo ln -s /usr/bin/nodejs /usr/bin/node
şeklinde çalıştır
nodemon@1.3.7 /usr/local/lib/node_modules/nodemon
+¦¦ minimatch@0.3.0 (sigmund@1.0.0, lru-cache@2.5.0)
+¦¦ touch@0.0.3 (nopt@1.0.10)
+¦¦ ps-tree@0.0.3 (event-stream@0.5.3)
L¦¦ update-notifier@0.3.1 (is-npm@1.0.0, string-length@1.0.0, chalk@1.0.0, semver-diff@2.0.0, latest-version@1.0.0, configstore@0.3.2)
vagrant@vagrant-ubuntu-trusty-32:/var/www/benimsite$ nodemon app.js
/usr/bin/env: node: No such file or directory
vagrant@vagrant-ubuntu-trusty-32:/var/www/benimsite$ sudo nodemon app.js
/usr/bin/env: node: No such file or directory
bu hatanın cevabı
http://stackoverflow.com/questions/26320901/cannot-install-nodejs-usr-bin-env-node-no-such-file-or-directory
sudo ln -s /usr/bin/nodejs /usr/bin/node
şeklinde çalıştır
Yorumlar
Yorum Gönder