Hi all,
I follow the Developer Guild prepare environment
But, I failed at “bin/setup” step
The Error Message:
== Migrating database ==
/usr/local/lib/node_modules/bower/lib/node_modules/configstore/index.js:54
throw err;
^
Error: EACCES: permission denied, open '/home/milk/.config/configstore/bower-github.json'
You don't have access to this file.
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.readFileSync (fs.js:397:15)
at Object.create.all.get (/usr/local/lib/node_modules/bower/lib/node_modules/configstore/index.js:35:26)
at Object.Configstore (/usr/local/lib/node_modules/bower/lib/node_modules/configstore/index.js:28:44)
at readCachedConfig (/usr/local/lib/node_modules/bower/lib/config.js:19:23)
at defaultConfig (/usr/local/lib/node_modules/bower/lib/config.js:11:12)
at Object.<anonymous> (/usr/local/lib/node_modules/bower/lib/index.js:16:32)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
== bower install failed ==
== Command ["bundle exec rake update:bower"] failed ==
The bower-github.json’ file actual doesn’t exist
~/rails/manageiq$ sudo ls /home/milk/.config/configstore/bower-github.json
ls: cannot access '/home/milk/.config/configstore/bower-github.json': No such file or directory
How to fix it ?