Studio CLI bundle uses Node 24-only await using syntax despite Node 22 engine support - #3937
Closed
katinthehatsite wants to merge 2 commits into
Closed
Studio CLI bundle uses Node 24-only await using syntax despite Node 22 engine support#3937katinthehatsite wants to merge 2 commits into
katinthehatsite wants to merge 2 commits into
Conversation
katinthehatsite
marked this pull request as draft
June 23, 2026 15:36
katinthehatsite
marked this pull request as ready for review
June 23, 2026 15:52
Contributor
|
This was already fixed in #3885. The issue was reported before that fix landed on trunk. |
Contributor
Author
Let me test quickly 👀 I still saw the issue but perhaps that was my setup |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Related issues
Fixes STU-1801
How AI was used in this PR
It was used to identify and implement the fix.
Proposed Changes
The CLI's
package.jsondeclaresnode >=22.0.0as the supported engine. so anyone on Node 22 (still the current LTS) should be able to run it. But the build output contained syntax (await using) that only Node 23+ can parse, so the app would crash on Node 22 before any code even executes.This PR fixes the issue so that CLI can be run on Node 22.
Testing Instructions
npm run cli:buildnvm use 22node apps/cli/dist/cli/main.mjs --helpPre-merge Checklist