Godot Version
4.3 stable
Question
I’m building a custom web export template from source and I’m running into this particular issue. The build goes smoothly until it hits 100% and then it fails with this message:
scons: building terminated because of errors.
[100%] Install file: "bin\godot.web.template_release.wasm32.wrapped.js" as "bin\.web_zip\godot.js"
[100%] Install file: "bin\godot.web.template_release.wasm32.worker.js" as "bin\.web_zip\godot.worker.js"
scons: *** [bin\.web_zip\godot.worker.js] The system cannot find the file specified
scons: building terminated because of errors.
This is my first time building godot’s source and I’m not sure why this happens. I’m using the latest emscripten and 4.3 stable. The commands are
platform=web target=template_release
I’m also using a list of disabled modules for optimization from a custom python script, but the error persists even when disabling them.
Has anybody else found this issue and knows how to solve it? I’d appreciate it a lot. Thanks!
Edit: Text formatting, but also I’ve done some more testing and the file in question (godot.worker.js) is definitely there and it’s written to disk in two separate instances. The process just seems unable to find it.
Edit 2: I’ve switched emscripten versions to the older, recommended 3.1.39 and this is the error it spits out: