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

Execution in browser does not work #30

Closed
golsch opened this issue Apr 2, 2020 · 4 comments
Closed

Execution in browser does not work #30

golsch opened this issue Apr 2, 2020 · 4 comments

Comments

@golsch
Copy link

golsch commented Apr 2, 2020

I have tried to get the program running in the browser.
Therefore I used the code from the readme for the integration.
Unfortunately I get the following js error: import not found: SpellcheckerWasm

The rebuilding works perfectly.

@Devmacs
Copy link
Contributor

Devmacs commented Apr 2, 2020

Hi,

Are you using any packaging system like Webpack or Rollup? Could you share your code?

Thanks

@golsch
Copy link
Author

golsch commented Apr 6, 2020

Hi, thank you for your answer. I am using webpack as a bundler (this is the template I am using for the website: https://github.com/rustwasm/create-wasm-app). Currently, I am able to compile it, but when running it I get this error: RangeError: attempting to construct out-of-bounds TypedArray on ArrayBuffer.

@Devmacs
Copy link
Contributor

Devmacs commented May 5, 2020

Sorry for the delay.

Are you using Firefox or Chrome? Which version?

Are you trying to load the included dictionary or one of your own?

@justinwilaby
Copy link
Owner

fixed with #35

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

3 participants