node.js - Yo Webapp: Error EACCES, permission denied 'Gruntfile.js' -
node.js - Yo Webapp: Error EACCES, permission denied 'Gruntfile.js' -
i trying install yeoman generator , always error eaccess, permission denied, since switched linux.
fs.js:432 homecoming binding.open(pathmodule._makelong(path), stringtoflags(flags), mode); ^ error: eacces, permission denied 'gruntfile.js' @ object.fs.opensync (fs.js:432:18) @ object.fs.writefilesync (fs.js:971:15) @ appgenerator.<anonymous> (/usr/local/lib/node_modules/generator-webapp/node_modules/yeoman-generator/lib/actions/actions.js:217:10) @ processimmediate [as _immediatecallback] (timers.js:336:15)
i running node v0.10.29 , npm v1.4.14 , zorin os8 codename saucy. if install "yo webapp-gulp" error message says: "eacces, permission denied 'gulpfile.js'
i know "error eacces" here, , read of lot threats, nil fitted yet. give thanks much.
edit: bower won't work, because message, if want install package:
error: eacces, open '/home/george/.cache/bower/packages/c667e980af216b85bcc1c0800106f136-2.0.5.lock'
the reply is:
chmod -r 777 .
on related access denied. know bit much, works , supposed work on dev-machine.
just directory, has problem (for me whole 'www' , 'home' directory (again know not best practice)) , run chmod command terminal.
node.js npm yeoman
Comments
Post a Comment