Skip to content

Can't build WASM: System.Exception: Failed to run emscripten #19087

Answered by trydalch
trydalch asked this question in Q&A
Discussion options

You must be logged in to vote

I think I've figured it out. I have python installed via pyenv-win, so the python that's in my path is another .bat file. This is causing the emsdk setup script to exit prematurely, even though there wasn't an error.

I changed the python --version line to:

CALL python --version

This caused the emsdk setup script to actually run to completion and my wasm build is now fixed.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@trydalch
Comment options

@jeromelaban
Comment options

@trydalch
Comment options

@trydalch
Comment options

Answer selected by trydalch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants