-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"yo hubot" fails on ubuntu 14.04. #1178
Comments
I managed the above issue by using https://deb.nodesource.com/setup_6.x Instead, the documentation didn't seem to reference this. |
After updating npm / node: sjakubowski@sjakubowski-u:~/hubot$ sudo yo hubot ? Owner Sylvester Jakubowski sjakubowski@someemail.com /usr/lib/node_modules/yo/node_modules/rx/dist/rx.js:77 |
I managed to fix this by running the
Command, which got further, It complained of:
Which lead me to trying it from scratch in a new directory and it installed. Hopefully this helps someone in the future. |
Another undocumented step/issue from https://hubot.github.com/docs/ When starting hubot got:
Resolved with:
|
same on ubuntu 15.10, node 5.10.0, npm 3.8.3 edit: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
/usr/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/untildify/index.js:2
const osHomedir = require('os-homedir');
^^^^^
SyntaxError: Use of const in strict mode.
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/usr/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:10:17)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
History:
18 wget https://deb.nodesource.com/setup_dev
19 chmod +x setup_dev
21 sudo ./setup_dev
22 sudo apt-get install nodejs
25 sudo npm install -g yo generator-hubot
27 mkdir hubot
28 cd hubot/
29 yo hubot
sjakubowski@sjakubowski-u:
/hubot$ uname -a14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/LinuxLinux sjakubowski-u 3.19.0-25-generic #26
Thanks.
The text was updated successfully, but these errors were encountered: