Skip to content

Fix infinite recursion on nvm PATH - #33

Merged
waves merged 1 commit into
mainfrom
jae/push-zvwrxylzskzz
Nov 9, 2026
Merged

waves merged 1 commit into
mainfrom
jae/push-zvwrxylzskzz

Conversation

@waves

@waves waves commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

The node/npm shim called nvm use default which internally calls
npm config get prefix. When /.sprite/bin comes before the nvm
directory in PATH, the shim creates a loop. Skip nvm use since
nvm which already resolves the binary. Re-export NVM_BIN and
NVM_INC since they were previously set by nvm use.

The node/npm shim called `nvm use default` which internally calls
`npm config get prefix`. When `/.sprite/bin` comes before the `nvm`
directory in `PATH`, the shim creates a loop. Skip `nvm use` since
`nvm which` already resolves the binary. Re-export `NVM_BIN` and
`NVM_INC` since they were previously set by `nvm use`.
@waves
waves requested a review from a team as a code owner November 9, 2026 16:44
@sprites-ci

sprites-ci Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Image sizes

Target Layers Compressed Uncompressed
sprites-classic 29 2.2GiB 5.8GiB
sprites-classic-agents 26 2.2GiB 5.8GiB
sprites-classic-devtools unchanged
sprites-classic-languages 16 1.2GiB 3.2GiB
ubuntu-base unchanged

Run for commit 7022df3. (Run)

@waves
waves added this pull request to the merge queue Nov 9, 2026
Merged via the queue into main with commit e575c25 Nov 9, 2026
2 checks passed
@waves
waves deleted the jae/push-zvwrxylzskzz branch November 9, 2026 20:18
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.

1 participant