Skip to content

api v4? node-gitlab v3.7.0? #17

@gotjoshua

Description

@gotjoshua

Is this lib compatible with Gitlab api v4? with the up-to-date node gitlab?

Background:
I updated gitlab itself (which now requires api v4) -> my CI broke silently
So then:
I tried explicitly installing node-gitlab in my CI-docker image and now i get an error in my CI:

/usr/lib/node_modules/cli-gitlab/bin/worker.js:58
      gitlab = gitlabLib({
               ^

TypeError: gitlabLib is not a function
    at requireOrGetGitlab (/usr/lib/node_modules/cli-gitlab/bin/worker.js:58:16)
    at Command.exports.token (/usr/lib/node_modules/cli-gitlab/bin/worker.js:82:14)
    at Command.listener (/usr/lib/node_modules/cli-gitlab/node_modules/commander/index.js:315:8)
    at emitTwo (events.js:126:13)
    at Command.emit (events.js:214:7)
    at Command.parseArgs (/usr/lib/node_modules/cli-gitlab/node_modules/commander/index.js:651:12)
    at Command.parse (/usr/lib/node_modules/cli-gitlab/node_modules/commander/index.js:474:21)
    at Object.<anonymous> (/usr/lib/node_modules/cli-gitlab/bin/command.js:19:9)
    at Module._compile (module.js:635:30)

Not sure if it is related, but i see that there was some reshuffling of the main gitlab repo for node-gitlab...
jdalrymple/gitbeaker#191

Any help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions