No permission to create new ember-cli app
<p>Everytime I use the command <code>ember new myapp</code> it throws me these errors:</p>

<pre><code>/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)
</code></pre>

<p>I tried to clean <code>npm</code> cache, but the problem remains. How to correct this?</p>