You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.
The index.html is not loading correctly in chrome, because type="module" is not specified in the <script> tag.
When instantiating the WASI object no preopens are specified. This is working fine for the hello-world example, but when trying to do any additional File IO errors will occur. I am not sure if I overlooked some obvious documentation for this parameter, but it would've helped me a lot if something like preopens: { '/': '/' } could be included in the example.
When running npm run dev the helloworld.wasm cannot be loaded, because it is not copied from the static directory to the dist directory and parcel does not serve it from the static directory
It would be great to have a working npm run build target to be able to host the static files.
The text was updated successfully, but these errors were encountered:
Hi, I was excited to try out the example too, but unfortunately also couldn't get the example to work.
The example specifies code that uses wasi.getImports() which I believe has been removed, so probably the example needs to be updated for version 1.x +.
I was facing the following issues when using the hello-world example:
type="module"
is not specified in the <script> tag.preopens: { '/': '/' }
could be included in the example.npm run dev
the helloworld.wasm cannot be loaded, because it is not copied from the static directory to the dist directory and parcel does not serve it from the static directorynpm run build
target to be able to host the static files.The text was updated successfully, but these errors were encountered: