Skip to content
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

CI builds for docker-hubot example are currently failing #403

Closed
geerlingguy opened this issue May 11, 2021 · 2 comments
Closed

CI builds for docker-hubot example are currently failing #403

geerlingguy opened this issue May 11, 2021 · 2 comments

Comments

@geerlingguy
Copy link
Owner

Getting:

/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:533
      } catch {
              ^

SyntaxError: Unexpected token {
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:617:28)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/yo/lib/router.js:8:27)

When it tries to generate the bot with yo hubot.

Confirmed locally by running playbook=docker-hubot.yml distro=ubuntu2004 tests/test.sh.

@geerlingguy
Copy link
Owner Author

Wondering if maybe yo is now incompatible with Node.js v8 which is the version used in that playbook. Maybe updating to v14 (current LTS) is a good idea?

@geerlingguy
Copy link
Owner Author

Yay, fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant