Auth0 Home Blog Docs

Gitlab Extension not working

git
extension

#1

I just configured all as this guide says… when I submitted the form and proceeded to step 2, instead the login screen I got this error:

{
  "code": 400,
  "message": "Compilation failed: Cannot find module 'gitlab@3.4.2'",
  "error": "Cannot find module 'gitlab@3.4.2'",
  "stack": "Error: Cannot find module 'gitlab@3.4.2'\n    at Function.Module._resolveFilename (module.js:325:15)\n    at Function.WebtaskModule._resolveFilename (/data/sandbox/lib/module.js:49:27)\n    at WebtaskModule.require (/data/sandbox/lib/module.js:101:39)\n    at require (/data/sandbox/lib/module.js:136:21)\n    at Object.<anonymous> (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:82983)\n    at t (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:177)\n    at Object.module.exports.n (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:7344)\n    at t (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:177)\n    at Object.<anonymous> (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:56163)\n    at t (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:177)\n    at Object.module.exports.e.__esModule.default (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:58275)\n    at t (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:177)\n    at Object.module.exports.e.__esModule.default (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:63455)\n    at t (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:177)\n    at Object.<anonymous> (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:27201)\n    at Object.<anonymous> (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:28636)\n    at t (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:177)\n    at Object.<anonymous> (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:65703)\n    at t (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:177)\n    at /data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:560\n    at Object.<anonymous> (/data/io/dc5731db-bdee-4304-b2ec-fa0aa60c69e4/webtask.js:1:571)\n    at WebtaskModule.compileWebtask (/data/sandbox/lib/module.js:95:34)\n    at defaultJavascriptCompiler (/data/sandbox/lib/compiler.js:119:30)\n    at defaultCompiler (/data/sandbox/lib/compiler.js:128:16)\n    at /data/sandbox/lib/compiler.js:231:17\n    at /data/sandbox/node_modules/async/dist/async.js:3880:24\n    at replenish (/data/sandbox/node_modules/async/dist/async.js:1011:17)\n    at /data/sandbox/node_modules/async/dist/async.js:1016:9"
}

#2

Hi @knifesk,

Please check if you are using the latest version of the extension. If you are not, or are not please un-install and then re-install.


#3

@Karen We have the same error. Everything used to work fine until we upgraded to the latest version (2.3 => 2.4).

I have created a github issue as well, you can follow the progress here -> https://github.com/auth0-extensions/auth0-gitlab-deploy/issues/31

As a temporary fix we now do everything manually again but as this is very error prone we would love to get this fixed.

Resolved:
Edit: Our bad, this was caused due to an invalid secret.


#4

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