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

"yo go-static" encounter error #7

Open
luckypoem opened this issue Apr 5, 2017 · 0 comments
Open

"yo go-static" encounter error #7

luckypoem opened this issue Apr 5, 2017 · 0 comments

Comments

@luckypoem
Copy link

hi.

root@localhost:/usr/local/generator-go-static-site# yo go-static
/usr/local/lib/node_modules/yo/node_modules/configstore/index.js:53
throw err;
^

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

at Object.fs.openSync (fs.js:557:18)
at Object.fs.readFileSync (fs.js:467:33)
at Configstore.get (/usr/local/lib/node_modules/yo/node_modules/configstore/index.js:34:26)
at Configstore (/usr/local/lib/node_modules/yo/node_modules/configstore/index.js:27:44)
at new Insight (/usr/local/lib/node_modules/yo/node_modules/insight/lib/index.js:37:34)
at Object.<anonymous> (/usr/local/lib/node_modules/yo/lib/cli.js:172:11)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)

root@localhost:/usr/local/generator-go-static-site#

how to fix it?

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

1 participant