Skip to content

Try to rebuild for gitlab: error TS2403 #9

@zickzackhd

Description

@zickzackhd
Running with gitlab-runner 15.8.0 (12335144)
  on runner1 Nv4XYxct, system ID: r_A6woA5FUkvYB
Resolving secrets
00:00
Preparing the "docker" executor
00:03
Using Docker executor with image docker:[2](https://gitlab.lifepeak.de/lifepeak/fivem/skripts/fivem_lua_linter/-/jobs/721#L2)0-dind ...
Pulling docker image docker:20-dind ...
Using docker image sha256:70ae571e74c1d711d[3](https://gitlab.lifepeak.de/lifepeak/fivem/skripts/fivem_lua_linter/-/jobs/721#L3)d[5](https://gitlab.lifepeak.de/lifepeak/fivem/skripts/fivem_lua_linter/-/jobs/721#L5)bf[6](https://gitlab.lifepeak.de/lifepeak/fivem/skripts/fivem_lua_linter/-/jobs/721#L6)f4[7](https://gitlab.lifepeak.de/lifepeak/fivem/skripts/fivem_lua_linter/-/jobs/721#L7)eaaf6a51dd260fe0036c7d6[8](https://gitlab.lifepeak.de/lifepeak/fivem/skripts/fivem_lua_linter/-/jobs/721#L8)94c008e7d24297 for docker:20-dind with digest docker@sha256:85a1b877d0f59fd6c7eebaff67436e26f460347a79229cf054dbbe8d5ae9f936 ...
Preparing environment
00:01
Running on runner-nv4xyxct-project-5-concurrent-0 via eb67cc2c6b5b...
Getting source from Git repository
00:01
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/lifepeak/fivem/skripts/fivem_lua_linter/.git/
Checking out 1465411c as main...
Removing node_modules/
Removing yarn.lock
Skipping Git submodules setup
Executing "step_script" stage of the job script
00:09
Using docker image sha256:70ae571e74c1d711d3d5bf6f47eaaf6a51dd260fe0036c7d6894c008e7d24297 for docker:20-dind with digest docker@sha256:85a1b877d0f59fd6c7eebaff67436e26f460347a79229cf054dbbe8d5ae9f936 ...
$ apk add nodejs yarn && yarn
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
(1/9) Installing brotli-libs (1.0.9-r9)
(2/9) Installing c-ares (1.18.1-r1)
(3/9) Installing libgcc (12.2.1_git20220924-r4)
(4/9) Installing icu-data-en (72.1-r1)
Executing icu-data-en-72.1-r1.post-install
*
* If you need ICU with non-English locales and legacy charset support, install
* package icu-data-full.
*
(5/9) Installing libstdc++ (12.2.1_git20220924-r4)
(6/9) Installing icu-libs (72.1-r1)
(7/9) Installing nghttp2-libs (1.51.0-r0)
(8/9) Installing nodejs (18.12.1-r0)
(9/9) Installing yarn (1.22.19-r0)
Executing busybox-1.35.0-r29.trigger
OK: 82 MiB in 65 packages
yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
$ tsc -b
node_modules/@types/node/globals.d.ts(347,13): error TS2403: Subsequent variable declarations must have the same type.  Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 1.
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1

Can you help wie with the error ?
I try to rebuild your project for gitlab.
If you need further logs just ask.

node_modules/@types/node/globals.d.ts(347,13): error TS2403: Subsequent variable declarations must have the same type.  Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'.

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