"YEOMAN" executed yo command, reported Eacces:permission denied, mkdir '/root/.config/configstore '

Source: Internet
Author: User

Basic Environment: CentOS7, Nodejs6.0, yo:1.8.4

In the execution of yo initialization webapp, the error content is as follows:

Error:EACCES:permission denied, mkdir '/root/.config/Configstore ' at Error (native) at Object.fs.mkdirSync (fs.js:916:18) atFunction. Sync (/usr/local/lib/node_modules/yo/node_modules/mkdirp/index.js:71:13) at Object.create.all.get (/usr/local/lib/node_modules/yo/node_modules/configstore/index.js:38:13) at Object.configstore (/usr/local/lib/node_modules/yo/node_modules/configstore/index.js:27:44) at New Insight (/usr/local/lib/node_modules/yo/node_modules/insight/lib/index.js:37:34) at Object.<anonymous> (/usr/local/lib/node_modules/yo/lib/cli.js:172:11) at Module._compile (module.js:541:32) at Object.module._extensions. JS (module.js:550:10) at Module.load (module.js:458:32)

Here's how:

[[email protected] YEOMANSV] # cd/root/.config/ [root@iZ289zd8c52Z. config] # CD Configstore-bash:cd:configstore:No such file or Directory[root@iZ289zd8c52Z. config]# c7> mkdir-p/root/.config/configstore[root@iZ289zd8c52Z. config]#  chmod g+rwx/root/root /.config/root/.config/configstore

"YEOMAN" executed yo command, reported Eacces:permission denied, mkdir '/root/.config/configstore '

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.