Hubot Running
$yo hubot
/root/.nvm/versions/node/v5.2.0/lib/node_modules/yo/node_modules/mkdirp/index.js:90
below err0;
^
Error: EACCES:permission denied, mkdir'/root/.config/configstore'
at Error (native)
at Object.fs.mkdirSync (fs.js:843:18)
at Function.sync(/root/.nvm/versions/node/v5.2.0/lib/node_modules/yo/node_modules/mkdirp/index.js:71:13)
at Object.create.all.get(/root/.nvm/versions/node/v5.2.0/lib/node_modules/yo/node_modules/configstore/index.js:38:13)
at Object.Configstore(/root/.nvm/versions/node/v5.2.0/lib/node_modules/yo/node_modules/configstore/index.js:27:44)
at new Insight (/root/.nvm/versions/node/v5.2.0/lib/node_modules/yo/node_modules/insight/lib/index.js:37:34)
at Object.(/root/.nvm/versions/node/v5.2.0/lib/node_modules/yo/lib/cli.js:130:11)
at Module._compile(module.js:399:26)
at Object.Module._extensions..js(module.js:406:10)
at Module.load (module.js:345:32)
Attempt to grant access in chown.
$sudo town $root-R
/root/.nvm/versions/node/v5.2.0/lib/node_modules
chown: `/root/.nvm/versions/node/v5.2.0/lib/node_modules'
does not have an operand after it Try'chown --help' for more information.
I don't know the solution.Please let me know. Is the root probably bad?
javascript hubot
Have you tried the sudo yo hubot
command?
The mkdir
command appears to be failing.The root directory cannot run mkdir
without administrator privileges.
Or try specifying an operand in the chown
command, and you'll find an example if you search "chown".
© 2024 OneMinuteCode. All rights reserved.