Uh oh!
There was an error while loading. Please reload this page.
Honor Nodejs environment variables - #24336
Conversation
kleisauke
commented
May 15, 2025
This is a breaking change, see e.g. the discussion in PR #18820. |
turran
commented
May 15, 2025
Thanks @kleisauke I wasn't aware of that PR. |
sbc100
commented
May 15, 2025
Its a little more subtle than that. Emscripten tends to present a kind of virtual environment. By default for example, we don't expose the user's actual filesystem, even under node. You have to opt into that behaviour. See https://github.com/emscripten-core/emscripten/pull/18820/files#r1114735936 I do think we want to enable this behaviour somehow, but it will likely need to be behind some kind of flag. In any case this does appear to be a duplicate of #18820, no? |
turran
commented
Dec 22, 2025
Duplicates #18820 |
Be able to pass Node.js environment variables through the command line and make them available to Emscripten