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

Browser can't access WASM #51

Open
khazaddum opened this issue Jan 27, 2023 · 0 comments
Open

Browser can't access WASM #51

khazaddum opened this issue Jan 27, 2023 · 0 comments

Comments

@khazaddum
Copy link

I'm trying to use blake3 in an Angular project. The instructions in the README file for browser use seem incorrect.

Importing blake3/browser-async fails to find the module. Using the import blake3/browser.mjs compiles but then the browser produces this error:

Security Error: Content at http://localhost:4200/shop may not load or link to file:///path/to/my/project/node_modules/blake3-wasm/esm/wasm/blake3.wasm.

It seems to not be packaging things correctly.

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