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

how to resolve this problem thanks #1137

Closed
fanhengxing opened this issue Feb 29, 2016 · 3 comments
Closed

how to resolve this problem thanks #1137

fanhengxing opened this issue Feb 29, 2016 · 3 comments

Comments

@fanhengxing
Copy link

i install like this in centos7 and user is root:
https://hubot.github.com/docs/
1.npm install -g yo generator-hubot
2.mkdir myhubot
3.cd myhubot
4.yo hubot
then error:
Error: EACCES, permission denied '/root/.config'
at Object.fs.mkdirSync (fs.js:654:18)
at sync (/usr/lib/node_modules/yo/node_modules/configstore/node_modules/mkdirp/index.js:71:13)
at Function.sync (/usr/lib/node_modules/yo/node_modules/configstore/node_modules/mkdirp/index.js:77:24)
at Object.create.all.get (/usr/lib/node_modules/yo/node_modules/configstore/index.js:38:13)
at Object.Configstore (/usr/lib/node_modules/yo/node_modules/configstore/index.js:27:44)
at new Insight (/usr/lib/node_modules/yo/node_modules/insight/lib/index.js:37:34)
at Object. (/usr/lib/node_modules/yo/lib/cli.js:163:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

@marceloslacerda
Copy link

it's a bug with yo
yeoman/yeoman.io#282 (comment)
You need to chown all directories that throw that error. 😣

@HerrmannHinz
Copy link

in case your try to run this in a docker container, check this comment:

keystonejs/keystone#1566 (comment)

@bkeepers
Copy link
Contributor

Looks like this has been answered. Let us know if it hasn't.

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

4 participants