question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: EACCES, permission denied '/root/.config/configstore/insight-yo.json'

See original GitHub issue

On Fedora 24 i get:

$yo keystone

Error: EACCES, permission denied ‘/root/.config/configstore/insight-yo.json’ You don’t have access to this file.

at Object.fs.openSync (fs.js:439:18)
at Object.fs.readFileSync (fs.js:290:15)
at Object.create.all.get (/usr/lib/node_modules/yo/node_modules/configstore/index.js:27:26)
at Object.Configstore (/usr/lib/node_modules/yo/node_modules/configstore/index.js:20:44)
at new Insight (/usr/lib/node_modules/yo/node_modules/insight/lib/index.js:37:34)
at Object.<anonymous> (/usr/lib/node_modules/yo/lib/cli.js:130:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:37 (4 by maintainers)

github_iconTop GitHub Comments

77reactions
rocugbgcommented, Feb 12, 2016

Fixed this with: chmod g+rwx /root /root/.config /root/.config/configstore

29reactions
dmincacommented, May 8, 2016

In order to make this working in a Docker Alpine Linux container, you need to

  mkdir -p /root/.config/configstore
  chmod g+rwx /root /root/.config /root/.config/configstore
Read more comments on GitHub >

github_iconTop Results From Across the Web

2 - Stack Overflow
Error : EACCES: permission denied, open '/home/myname/.config/insight-nodejs/insight-yo.json.3782504431' ; Error: EACCES ; openSync (fs.js ...
Read more >
Upgrade to 2.17 not rendering web pages correctly - WeBWorK
npm verb stack Error: EACCES: permission denied, mkdir '/root/.npm/_cacache/tmp' npm verb cwd /opt/webwork/webwork2/htdocs
Read more >
ERROR running auth:web:login: EACCES: permission denied ...
In MacOS Finder, the file info showed that all users have "no access" (no read, no write, etc...) to this file... and the...
Read more >
Node-RED Forum
When execute the file in node in debug windows I see the error on the title Can ... Error: EACCES: permission denied, open...
Read more >
How to fix EACCES errors with NPM on MacOS - WILL & SKILL
Error : EACCES: permission denied, access '/usr/local/lib/node_modules/react-native-cli/node_modules/ansi-styles' npm ERR! { [Error: EACCES: permission ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found