# GitHub Deployments extension not working on Node 12

**URL:** <https://community.auth0.com/t/github-deployments-extension-not-working-on-node-12/42334>\
**Category:** Get Help\
**Tags:** github, extensions\
**Created:** [May 4, 2020, 11:59pm UTC](https://community.auth0.com/t/github-deployments-extension-not-working-on-node-12/42334 "2020-05-04T23:59:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommyr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tommyr/32/14485_2.png) [@tommyr](https://community.auth0.com/u/tommyr)\
**Post date:** [May 4, 2020, 11:59pm UTC](https://community.auth0.com/t/github-deployments-extension-not-working-on-node-12/42334/1 "2020-05-04T23:59:55Z")

</div>

I created a new tenant today, and the installation of the GitHub Deployments extension was failing consistently with the following error:

```
{
  "code": 400,
  "message": "Compilation failed: Cannot find module 'auth0-source-control-extension-tools@4.0.5'\nRequire stack:\n- /data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js",
  "error": "Cannot find module 'auth0-source-control-extension-tools@4.0.5'\nRequire stack:\n- /data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js",
  "stack": "Error: Cannot find module 'auth0-source-control-extension-tools@4.0.5'\nRequire stack:\n- /data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js\n at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17)\n at Function.WebtaskModule._resolveFilename (/data/sandbox/lib/module.js:96:21)\n at WebtaskModule.require (/data/sandbox/lib/module.js:154:37)\n at require (/data/sandbox/lib/module.js:189:17)\n at Object.<anonymous> (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:22878)\n at t (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:177)\n at Object.<anonymous> (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:27674)\n at t (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:177)\n at Object.<anonymous> (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:97187)\n at t (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:177)\n at Object.<anonymous> (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:104372)\n at t (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:177)\n at Object.<anonymous> (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:40111)\n at Object.<anonymous> (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:41291)\n at t (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:177)\n at Object.<anonymous> (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:106167)\n at t (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:177)\n at /data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:560\n at Object.<anonymous> (/data/io/9ce6a17d-77e3-470a-8e06-a241ad317846/webtask.js:1:571)\n at WebtaskModule.compileWebtask (/data/sandbox/lib/module.js:147:32)\n at defaultJavascriptCompiler (/data/sandbox/lib/compiler.js:135:24)\n at defaultCompiler (/data/sandbox/lib/compiler.js:144:12)"
}

```

I ended up learning how to change the Node version through the tenants settings here: [Trying to create Bitbucket deployments - #10 by devs\_auth0](http://community.auth0.com/t/trying-to-create-bitbucket-deployments/20806/10)

I’m guessing this is related to recently deprecating Node 8 in favor of 12. But wanted to report this issue in case others run into it as well. (Based on two other community posts, seems like this is possibly a recurring problem with Auth0 during Node version upgrades, and it would be nice to have a better experience.)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 5, 2020, 10:37am UTC](https://community.auth0.com/t/github-deployments-extension-not-working-on-node-12/42334/2 "2020-05-05T10:37:55Z")

</div>

Thanks for reporting it Tommy! Bringing it to attention of the responsible team!

---

<div class="post-metadata">

**Author:** ![hypervillain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hypervillain/32/14067_2.png) [@hypervillain](https://community.auth0.com/u/hypervillain)\
**Post date:** [May 11, 2020, 12:04pm UTC](https://community.auth0.com/t/github-deployments-extension-not-working-on-node-12/42334/3 "2020-05-11T12:04:29Z")

</div>

Same error here ✌  
Downgrading to Node 8 solved the issue although you have to reinstall the extension

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 11, 2020, 12:28pm UTC](https://community.auth0.com/t/github-deployments-extension-not-working-on-node-12/42334/4 "2020-05-11T12:28:15Z")

</div>

Hey there!

Thank you a lot for reporting that. For future reference, please create a GitHub issue in the repo and share the link to it with us here. We’ve passed that information to the appropriate team. Here’s the repo for that:

> **[GitHub - auth0-extensions/auth0-deploy-extensions: All Auth0 Deploy...](https://github.com/auth0-extensions/auth0-deploy-extensions)**
>
> All Auth0 Deploy Extensions in one place. Contribute to auth0-extensions/auth0-deploy-extensions development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![alexrussell](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexrussell/32/21208_2.png) [@alexrussell](https://community.auth0.com/u/alexrussell)\
**Post date:** [May 12, 2020, 9:09am UTC](https://community.auth0.com/t/github-deployments-extension-not-working-on-node-12/42334/5 "2020-05-12T09:09:11Z")

</div>

Konrad, do we watch here for updates on this? I see that Auth0 hasn’t opened their own ticket on the repo you linked to, so I don’t have anything to follow over there.

That said, it looks like the _actual_ issue is that `auth0-source-control-extension-tools@4.0.5` needs to be added to the Node 12 image (see [Can I require? - Search which node modules you can use in webtask.io](https://auth0-extensions.github.io/canirequire/#auth0-source) in Node 12 mode - there is no `4.0.5`, only `4.0.3`).

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 12, 2020, 12:53pm UTC](https://community.auth0.com/t/github-deployments-extension-not-working-on-node-12/42334/6 "2020-05-12T12:53:54Z")

</div>

The team is working on that. I’ll let you know once I have any updates to share

---

<div class="post-metadata">

**Author:** ![alexrussell](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexrussell/32/21208_2.png) [@alexrussell](https://community.auth0.com/u/alexrussell)\
**Post date:** [May 22, 2020, 8:59am UTC](https://community.auth0.com/t/github-deployments-extension-not-working-on-node-12/42334/7 "2020-05-22T08:59:41Z")

</div>

Is this now addressed? I see that canirequire suggests that version 4.0.5 (and 4.0.6 and 4.0.7) is now available…

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 26, 2020, 10:47am UTC](https://community.auth0.com/t/github-deployments-extension-not-working-on-node-12/42334/8 "2020-05-26T10:47:00Z")

</div>

Let me reach out again to the team and get back to you shortly!
