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

Uncaught Error: No runtime abstraction layer installed #21940

Open
prtham23 opened this issue May 14, 2024 · 1 comment
Open

Uncaught Error: No runtime abstraction layer installed #21940

prtham23 opened this issue May 14, 2024 · 1 comment

Comments

@prtham23
Copy link

prtham23 commented May 14, 2024

I am creating a figma plugin and want to run the wasm file during the figma frame export.
But I am not able to run the .wasm file and getting the below errors.
Should I run the .wasm file directly or should I go through the .js file generated.
image
image

@sbc100
Copy link
Collaborator

sbc100 commented May 14, 2024

This looks like a figma issue rather than an emscripten one. That error message is not coming from emscripten but from (I assume) figma.

In general you can't expect to be able to instantiate a wasm file like that without providing imports and with emscripten-generated wasm file we certainly recommend using the emscripten-generated JS rather than loading the wasm directly.

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

2 participants