Я пытаюсь установить gulp через npm в дроплете DigitalOcean с помощью следующей команды (с sudo и без него):
npm install -g gulp
и я получаю ошибки, которые я не могу понять:
> [email protected] install /root/local/lib/node_modules/gulp/node_modules/v8flags
> node fetch.js
sh: 1: node: Permission denied
npm ERR! Linux 3.13.0-24-generic
npm ERR! argv "node" "/root/local/bin/npm" "install" "-g" "gulp"
npm ERR! node v0.10.33
npm ERR! npm v2.1.11
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node fetch.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] install script 'node fetch.js'.
npm ERR! This is most likely a problem with the v8flags package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node fetch.js
npm ERR! You can get their info via:
npm ERR! npm owner ls v8flags
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/local/bin/npm-debug.log
Установка узла производится в соответствии с это руководство.