aishwaryabhishek3
11/24/2023, 10:00 AMwasmJsBrowserRun
but if I run wasmJsBrowserDistribution
and try to open the index.html locally in browser it does not work . Any help appreciatedaishwaryabhishek3
11/24/2023, 10:02 AMbashor
11/24/2023, 10:19 AMpython -m http.server
aishwaryabhishek3
11/24/2023, 10:20 AMbashor
11/24/2023, 10:24 AMfile://
protocolaishwaryabhishek3
11/24/2023, 10:29 AMPeopleInSpace.uninstantiated.mjs:1
) . Any idea how I would go about debugging this as it works fine when I do wasmJsBrowserRun
bashor
11/24/2023, 10:32 AMaishwaryabhishek3
11/24/2023, 10:33 AM1.9.20
bashor
11/24/2023, 12:38 PM<script type="module" src="load.mjs"></script>
should be replaced with <script type="application/javascript" src="???.js"></script>
bashor
11/24/2023, 12:38 PM???.js
should be replaced with proper js file name from dist folderaishwaryabhishek3
11/24/2023, 12:39 PMload.mjs
is the correct file nameaishwaryabhishek3
11/24/2023, 12:40 PMbashor
11/24/2023, 12:44 PMbashor
11/24/2023, 12:44 PMJohn O'Reilly
11/24/2023, 12:52 PMJohn O'Reilly
11/24/2023, 4:37 PMload.mjs
which in turn is trying to load ./jetsnackwasmapp.uninstantiated.mjs
which I don't see generated.....but doesn't seem to be an issue for that project for some reason.John O'Reilly
11/24/2023, 4:52 PMGET <http://localhost:8000/peopleinspace.uninstantiated.mjs> net::ERR_ABORTED 404 (File not found)
John O'Reilly
11/24/2023, 5:08 PMload.mjs
is redundant now (and maybe it's reference in boilerplate.js
? Can they be removed?John O'Reilly
11/24/2023, 5:28 PMJohn O'Reilly
11/24/2023, 6:00 PMbashor
11/27/2023, 3:48 PMload.mjs
is still needed, but we are working on making compose projects without custom loaders.bashor
11/27/2023, 3:53 PMload.mjs
was simplified recently by extracting handling WebAssembly.CompileError to the html file, look at f4f39b