Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionic Example can't load WASM in start, build or tests #179

Open
danielzen opened this issue Jan 26, 2025 · 0 comments
Open

Ionic Example can't load WASM in start, build or tests #179

danielzen opened this issue Jan 26, 2025 · 0 comments

Comments

@danielzen
Copy link

Describe the bug
The Ionic example fails on build or test with the message:

both async and sync fetching of the wasm failed

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'examples/ionic' folder and build. I used node v16
  2. run 'ng test' or ng start & try the app
  3. See error

Expected behavior
Working app, passing tests

Output

Error: both async and sync fetching of the wasm failed
...
browser.es.js:1 wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly'
...
 An error was thrown in afterAll
 RuntimeError: abort(RuntimeError: abort(both async and sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more info.). Build with -s ASSERTIONS=1 for more info.

Desktop (please complete the following information):

  • OS: [MacOS Sonoma]
  • Browser [Latest Chrome]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant