{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/yo/issues/348","labels_url":"https://api.github.com/repos/yeoman/yo/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/yo/issues/348/comments","events_url":"https://api.github.com/repos/yeoman/yo/issues/348/events","html_url":"https://github.com/yeoman/yo/issues/348","id":93786531,"number":348,"title":"insight-yo.json","user":{"login":"lizhengnacl","id":7301055,"avatar_url":"https://avatars.githubusercontent.com/u/7301055?v=3","gravatar_id":"","url":"https://api.github.com/users/lizhengnacl","html_url":"https://github.com/lizhengnacl","followers_url":"https://api.github.com/users/lizhengnacl/followers","following_url":"https://api.github.com/users/lizhengnacl/following{/other_user}","gists_url":"https://api.github.com/users/lizhengnacl/gists{/gist_id}","starred_url":"https://api.github.com/users/lizhengnacl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizhengnacl/subscriptions","organizations_url":"https://api.github.com/users/lizhengnacl/orgs","repos_url":"https://api.github.com/users/lizhengnacl/repos","events_url":"https://api.github.com/users/lizhengnacl/events{/privacy}","received_events_url":"https://api.github.com/users/lizhengnacl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-08T13:14:17Z","updated_at":"2015-11-28T17:25:34Z","closed_at":"2015-07-08T16:08:47Z","body":"run <code>yo webapp</code>, and the err show:\r\n```\r\nError: EACCES, permission denied '/root/.config/configstore/insight-yo.json'\r\nYou don't have access to this file.\r\n\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:502:18)\r\n    at Object.fs.readFileSync (fs.js:354:15)\r\n    at Object.create.all.get (/usr/local/lib/node_modules/yo/node_modules/configstore/index.js:27:26)\r\n    at Object.Configstore (/usr/local/lib/node_modules/yo/node_modules/configstore/index.js:20:44)\r\n    at new Insight (/usr/local/lib/node_modules/yo/node_modules/insight/lib/index.js:37:34)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/yo/lib/cli.js:130:15)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n```\r\n\r\nwhen I run the command<code>ls /root/.config/configstore</code>, the result is:\r\n```\r\nbower-github.yml  insight-bower.yml  update-notifier-bower.yml\r\n```\r\nHELP !!"},"comment":{"url":"https://api.github.com/repos/yeoman/yo/issues/comments/160322353","html_url":"https://github.com/yeoman/yo/issues/348#issuecomment-160322353","issue_url":"https://api.github.com/repos/yeoman/yo/issues/348","id":160322353,"user":{"login":"looeee","id":5307958,"avatar_url":"https://avatars.githubusercontent.com/u/5307958?v=3","gravatar_id":"","url":"https://api.github.com/users/looeee","html_url":"https://github.com/looeee","followers_url":"https://api.github.com/users/looeee/followers","following_url":"https://api.github.com/users/looeee/following{/other_user}","gists_url":"https://api.github.com/users/looeee/gists{/gist_id}","starred_url":"https://api.github.com/users/looeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/looeee/subscriptions","organizations_url":"https://api.github.com/users/looeee/orgs","repos_url":"https://api.github.com/users/looeee/repos","events_url":"https://api.github.com/users/looeee/events{/privacy}","received_events_url":"https://api.github.com/users/looeee/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T17:25:34Z","updated_at":"2015-11-28T17:25:34Z","body":"Bump on this issue as I have been unable to solve it using permissions (the directory does not exist) or nvm\r\n\r\n/home/projects/yo-test# yo\r\n/usr/local/lib/node_modules/yo/node_modules/configstore/index.js:53\r\n                                throw err;\r\n                                ^\r\n\r\nError: EACCES: permission denied, open '/root/.config/configstore/insight-yo.json'\r\nYou don't have access to this file.\r\n\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:584:18)\r\n    at Object.fs.readFileSync (fs.js:431:33)\r\n    at Object.create.all.get (/usr/local/lib/node_modules/yo/node_modules/configstore/index.js:34:26)\r\n    at Object.Configstore (/usr/local/lib/node_modules/yo/node_modules/configstore/index.js:27:44)\r\n    at new Insight (/usr/local/lib/node_modules/yo/node_modules/insight/lib/index.js:37:34)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/yo/lib/cli.js:130:11)\r\n    at Module._compile (module.js:425:26)\r\n    at Object.Module._extensions..js (module.js:432:10)\r\n    at Module.load (module.js:356:32)"}}