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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!