Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Fixes "Transpile to JS Error" in API container; revert node version #128

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

bendhouseart
Copy link
Contributor

Fixes issue observed when running docker compose build && docker compose up:

brainlife_ezbids-api   | ../node_modules/@types/node/globals.d.ts(73,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; any(signals: AbortSignal[]): AbortSignal; timeout(milliseconds: number): AbortSignal; }‘, but here has type ‘{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }‘.
brainlife_ezbids-api   |
brainlife_ezbids-api   |
brainlife_ezbids-api   | 6:35:08 PM - Found 1 error. Watching for file changes.
brainlife_ezbids-api   | URGENT: TRANSPILE TO JAVASCRIPT FAILED! & exit 5

This seems to have arisen following a change in node version from ^20 to ~16, this PR fixes that.

@dlevitas dlevitas merged commit be8ec55 into brainlife:master Aug 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants