#Error: EACCES, permission denied ‘/root/.config/configstore/insight-yo.json’ https://github.com/keystonejs/keystone/issues/1566
When I try to run: yo meanjs, I got the error: Error: EACCES, permission denied ‘/root/.config/configstore/insight-yo.json’ You don’t have access to this file.
It seems that ‘/root/.config/configstore/insight-yo.yml’ does not exist at all
##Solution:
I find the solution here: https://github.com/yeoman/yeoman.io/issues/282
run the command below fix my problem:
mkdir -p /root/.config/configstore
chmod g+rwx /root /root/.config /root/.config/configstore
chmod g+rwx ~/.npm -R
chmod g+rwx <workspace> -R
作者:ryanemax
微信关注:ryanemax (刘雨飏)
本文出处:https://romantic-hoover-f991f1.netlify.com/faq/yonpmgruntbower/
授权协议:
CC BY-SA 4.0