Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Error installing Yeoman and spring generator #9137

Closed
CristhianBoujon opened this issue Aug 3, 2015 · 2 comments
Closed

Error installing Yeoman and spring generator #9137

CristhianBoujon opened this issue Aug 3, 2015 · 2 comments
Assignees
Labels

Comments

@CristhianBoujon
Copy link

overflow012@Overflow012:~$ sudo npm install yo generator-spring -g --unsafe-perm
npm WARN engine yo@1.4.7: wanted: {"node":">=0.10.0","npm":">=2.8.0"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine hawk@3.1.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN deprecated CSSselect@0.7.0: the module is now available as 'css-select'

> spawn-sync@1.0.13 postinstall /usr/local/lib/node_modules/yo/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! Error: ENOENT, open '/usr/local/lib/node_modules/yo/node_modules/insight/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 3.19.0-25-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "yo" "generator-spring" "-g" "--unsafe-perm"
npm ERR! cwd /home/overflow012
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! path /usr/local/lib/node_modules/yo/node_modules/insight/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/uniqueItems.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! spawn-sync@1.0.13 postinstall: `node postinstall`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the spawn-sync@1.0.13 postinstall script.
npm ERR! This is most likely a problem with the spawn-sync package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node postinstall
npm ERR! You can get their info via:
npm ERR!     npm owner ls spawn-sync
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.19.0-25-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "yo" "generator-spring" "-g" "--unsafe-perm"
npm ERR! cwd /home/overflow012
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/yo/node_modules/insight/node_modules/request/node_modules/hawk/node_modules/hoek/test/index.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 3.19.0-25-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "yo" "generator-spring" "-g" "--unsafe-perm"
npm ERR! cwd /home/overflow012
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! path /usr/local/lib/node_modules/yo/node_modules/insight/node_modules/request/node_modules/hawk/node_modules/hoek/test/index.js
npm ERR! fstream_path /usr/local/lib/node_modules/yo/node_modules/insight/node_modules/request/node_modules/hawk/node_modules/hoek/test/index.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/yo/node_modules/insight/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/browser/bluebird.min.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 3.19.0-25-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "yo" "generator-spring" "-g" "--unsafe-perm"
npm ERR! cwd /home/overflow012
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! path /usr/local/lib/node_modules/yo/node_modules/insight/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/browser/bluebird.min.js
npm ERR! fstream_path /usr/local/lib/node_modules/yo/node_modules/insight/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/browser/bluebird.min.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/overflow012/npm-debug.log
npm ERR! not ok code 0
@kenany
Copy link
Contributor

kenany commented Aug 3, 2015

@Overflow012

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

You need to run

$ sudo apt-get install nodejs-legacy

or use NodeSource's distribution.

@ehsalazar ehsalazar self-assigned this Aug 27, 2015
@ehsalazar
Copy link

We haven’t heard back and we’re trying to clean up some old issues. If this is still a problem, can you please reply and let us know? We’ll be happy to reopen if necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants