I am trying to follow along with the hubot documentation (Getting Started With Hubot | HUBOT).
I have installed node.js and npm on my ubuntu system without any issues but when I enter the command “npm install -g yo generator-hubot” it gives me a permissions error. I then add sudo in front of it and it runs. I then go to the next step to make a directory and try to run yo hubot. I then get the error “EACCESS: permission denied” even when I run it as sudo yo hubot.
Do any of you have any advice on how to proceed?
Thank you.
You can try to follow those steps and modify /root/.config /root/.config/configstore but in the end its better to start over with the installation process and follow it to the letter. The most likely cause of this is that you were root at some point in the install and that messed things up.
@ vlee
I also encountered this issue. what I do is create a new user account as a user then log out my root account then, log in again using the user account a created. after that i run the first command using sudo like “sudo npm install -g yo generator-hubot” then, run the second command without sudo “yo hubot --adapter matteruser”