Issue with Yo Generator on MEAN One-Click Install Image
One of the main parts of Mean.js that goes with “MEAN One-Click Install Image” is “Yo Generator”
Have tested installing it with and without sudo but always end up with this
root@NodeJS2:/opt/test# yo meanjs Error: EACCES, permission denied '/root/.config/configstore/insight-yo.yml' You don't have access to this file. at Object.fs.openSync (evalmachine.<anonymous>:438:18) at Object.fs.readFileSync (evalmachine.<anonymous>:289:15) at Object.create.all.get (/usr/local/lib/node_modules/yo/node_modules/configstore/configstore.js:33:29) at Object.Configstore (/usr/local/lib/node_modules/yo/node_modules/configstore/configstore.js:26:44) at new Insight (/usr/local/lib/node_modules/yo/node_modules/insight/lib/index.js:26:34) at Object.<anonymous> (/usr/local/lib/node_modules/yo/cli.js:123:15) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12)
Here is install instructions http://meanjs.org/generator.html#application
Have tested several suggestions of fixes for this but can’t get it to work so i hope someone have a solution for this that really works.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.