Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got many errors when install. What should i do? #284

Closed
khoi-thinh opened this issue Mar 17, 2016 · 2 comments
Closed

I got many errors when install. What should i do? #284

khoi-thinh opened this issue Mar 17, 2016 · 2 comments

Comments

@khoi-thinh
Copy link

Hi everyone,
I'm running CentOS 7 and install node.js with the latest stable version as following.
I'm using root account too.
[root@ip-10-0-7-69 ~]# npm -v
3.7.3
[root@ip-10-0-7-69 ~]# node -v
v5.9.0
Then, i install hubot but got so many errors.
[root@ip-10-0-7-69 ~]# npm install -g hubot coffee-script yo generator-hubot
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
/root/.nvm/versions/node/v5.9.0/bin/coffee -> /root/.nvm/versions/node/v5.9.0/lib/node_modules/coffee-script/bin/coffee
/root/.nvm/versions/node/v5.9.0/bin/cake -> /root/.nvm/versions/node/v5.9.0/lib/node_modules/coffee-script/bin/cake
/root/.nvm/versions/node/v5.9.0/bin/hubot -> /root/.nvm/versions/node/v5.9.0/lib/node_modules/hubot/bin/hubot
/root/.nvm/versions/node/v5.9.0/bin/yo -> /root/.nvm/versions/node/v5.9.0/lib/node_modules/yo/lib/cli.js

yo@1.7.0 postinstall /root/.nvm/versions/node/v5.9.0/lib/node_modules/yo
yodoctor

sh: yodoctor: command not found
/root/.nvm/versions/node/v5.9.0/lib
tqq coffee-script@1.10.0
tqq generator-hubot@0.3.1
tqq hubot@2.18.0
mqq UNMET PEER DEPENDENCY yo@>=1.0.0

npm ERR! Linux 3.10.0-327.10.1.el7.x86_64
npm ERR! argv "/root/.nvm/versions/node/v5.9.0/bin/node" "/root/.nvm/versions/node/v5.9.0/bin/npm" "install" "-g" "hubot" "coffee-script" "yo" "generator-hubot"
npm ERR! node v5.9.0
npm ERR! npm v3.7.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! yo@1.7.0 postinstall: yodoctor
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the yo@1.7.0 postinstall script 'yodoctor'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the yo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! yodoctor
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs yo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls yo
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log

Could someone help me please?

@khoi-thinh khoi-thinh changed the title Got error EACCES. What should i do? I got many errors when install. What should i do? Mar 17, 2016
@M1lan
Copy link

M1lan commented Jun 19, 2016

more or less the same here:

npm install -g coffee-script yo generator-hubot
npm WARN deprecated slack-client@1.4.1: Use @slack/client instead, this package is no longer maintained
`-- coffee-script@1.10.0 
npm ERR! fetch failed https://registry.npmjs.org/inquirer/-/inquirer-0.7.3.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 400
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm

@DEGoodmanWilson
Copy link

Fixed in #309

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

No branches or pull requests

3 participants