Everytime I use the command ember new myapp
it throws me these errors:
/usr/local/lib/node_modules/ember-cli/node_modules/configstore/index.js:53
throw err;
^
Error: EACCES: permission denied, open '/Users/MyAccount/.config/configstore/ember-cli.json'
You don't have access to this file.
at Error (native)
at Object.fs.openSync (fs.js:584:18)
at Object.fs.readFileSync (fs.js:431:33)
at Object.create.all.get (/usr/local/lib/node_modules/ember-cli/node_modules/configstore/index.js:34:26)
at Object.Configstore (/usr/local/lib/node_modules/ember-cli/node_modules/configstore/index.js:27:44)
at clientId (/usr/local/lib/node_modules/ember-cli/lib/cli/index.js:22:21)
at module.exports (/usr/local/lib/node_modules/ember-cli/lib/cli/index.js:64:19)
at /usr/local/lib/node_modules/ember-cli/bin/ember:26:3
at /usr/local/lib/node_modules/ember-cli/node_modules/resolve/lib/async.js:46:14
at process (/usr/local/lib/node_modules/ember-cli/node_modules/resolve/lib/async.js:173:43)
I tried to clean npm
cache, but the problem remains. How to correct this?
Aucun commentaire:
Enregistrer un commentaire