Auth0 Home Blog Docs

Cannot find module 'auth0-source-control-extension-tools@3.1.4

Hi Auth0 community,

I’ve been trying to setup GitHub Deployments Extension on my tenant. It uses version 2.8. However, I got this error output every time I want to enter the extension. Any insight what is the cause?

{
* code: 400,
* message: "Compilation failed: Cannot find module 'auth0-source-control-extension-tools@3.1.4'",
* error: "Cannot find module 'auth0-source-control-extension-tools@3.1.4'",
* stack: "Error: Cannot find module 'auth0-source-control-extension-tools@3.1.4' at Function.Module._resolveFilename (module.js:325:15) at Function.WebtaskModule._resolveFilename (/data/sandbox/lib/module.js:96:27) at WebtaskModule.require (/data/sandbox/lib/module.js:149:39) at require (/data/sandbox/lib/module.js:184:21) at Object.<anonymous> (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:13916) at t (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:177) at Object.<anonymous> (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:17438) at t (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:177) at Object.module.exports.e.__esModule.default (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:46183) at t (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:177) at Object.module.exports.e.__esModule.default (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:52145) at t (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:177) at Object.<anonymous> (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:25599) at Object.<anonymous> (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:27567) at t (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:177) at Object.<anonymous> (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:54862) at t (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:177) at module.exports.e.exports.version (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:560) at Object.<anonymous> (/data/io/7342caf4-573a-4190-ab97-6f8e7a03c35a/webtask.js:1:571) at WebtaskModule.compileWebtask (/data/sandbox/lib/module.js:143:34) at defaultJavascriptCompiler (/data/sandbox/lib/compiler.js:119:30) at defaultCompiler (/data/sandbox/lib/compiler.js:128:16)"
}

Thanks in advance,
Katia

Hey @katia!

Thanks for bringing that up! Let me ask the team responsible for extensions what’s the reason here.

I’ll get back to you once I have any news to share!

In the meantime, can you share with me the steps you took so I can try reproduce it? Thank you a lot!

Hey @konrad.sopala,

Thanks.

Here the step to reproduce the error :
From the manage.auth0.com page

  • Go to the Extensions menu
  • Select Github Deployments Application
  • Fill the information needed (I filled repository, branch and token).
  • Once it’s created, Go to the Installed Extensions tab
  • Click on the Github Deployments application link displayed.
    it opens a new tab with this error message.

To give a little more context to your research, we’ve been using this extension on the other tenant but with an older version (2.3) and everything work fine. So it’s probably cause by this new version.

Thanks a lot for that! Will get back to you once I have any info to share!

Hey @katia!

I just submitted it as an internal request to the team responsible for extensions. As soon as I hear back from them I’ll get the answer for you!

1 Like

Hey @katia!

I was asked if you can tell us whether you’re trying to run extension on node8 and not node4.
auth0-source-control-extension-tools@3.1.4 is unavailable in node4 containers

Hi @konrad.sopala,

Indeed that was the problem We were running with node4. We updated it to node8 and it’s works.
Thanks a lot :slight_smile:

Perfect glad you have it working now!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.