Solution to issue cannot be found in the documentation.
[X] I checked the documentation.
Issue
Hey,
when attempting to compile using emscripten on windows, it seems like there's an issue with the node executable path. I get this error:
(ada-cpp:wasm) C:\Work\code\adacpp>emcc
emcc: warning: cannot check node version: [WinError 2] The system cannot find the file specified [-Wversion-check]
emcc: warning: LLVM version for clang executable "C:/Work/code/adacpp/.pixi/envs/wasm/Library/bin\clang.exe" appears incorrect (seeing "18.1", expected "19") [-Wversion-check]
shared:INFO: (Emscripten: Running sanity checks)
emcc: error: the configured node executable (['D:\\bld\\emscripten_1725438987067\\_h_env\\node.EXE']) does not seem to work, check the paths in C:\Work\code\adacpp\.pixi\envs\wasm\Library\lib\emscripten-3.1.58\.emscripten ([WinError 2] The system cannot find the file specified)
When inspecting the .emscripten file I see this:
# Location of the node binary to use for running the JS parts of the compiler.
# This engine must exist, or nothing can be compiled.
NODE_JS = 'D:\\bld\\emscripten_1725438987067\\_h_env\\node.EXE' # executable
Where I am guessing NODE_JS is the path used by the azure devops runners?
By simply updating the NODE_JS path locally emcc and em++ seems to work as expected
There may be several issues, but you definitely need clang 19 (not sure if >= or exactly), which is currently only available when using -c conda-forge/label/llvm_rc.
Solution to issue cannot be found in the documentation.
Issue
Hey,
when attempting to compile using emscripten on windows, it seems like there's an issue with the node executable path. I get this error:
When inspecting the .emscripten file I see this:
Where I am guessing NODE_JS is the path used by the azure devops runners?
By simply updating the
NODE_JS
path locally emcc and em++ seems to work as expectedInstalled packages
Environment info