Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

node.js v6.11.2 (LTS) compatibility #16

@mn-martin

Description

@mn-martin

In the readme it says node.js version >= 6 is supported: https://github.com/kriskbx/gitlab-time-tracker/blob/master/readme.md#requirements

That's not true.

Here's the error I get with node.js macOS (x64) v6.11.2 LTS:

gtt log
/usr/local/lib/node_modules/gitlab-time-tracker/include/tasks.js:112
        return new Promise(async function (resolve, reject) {
                           ^^^^^

SyntaxError: missing ) after argument list
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/gitlab-time-tracker/gtt-log.js:9:15)

Now that I have v8.4.0 installed, everything`s working. I think you should try to maintain support for node.js LTS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions