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

Unknown file extension ".wasm" for /Users/me/project/node_modules/workers-og/dist/yoga-ZMNYPE6Z.wasm #12

Open
bitofbreeze opened this issue Apr 27, 2024 · 3 comments

Comments

@bitofbreeze
Copy link

Getting this error

at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:160:9)
at defaultGetFormat (node:internal/modules/esm/get_format:203:36)
at defaultLoad (node:internal/modules/esm/load:143:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:403:7)
at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:285:45

while using this with Remix Vite

@superhighfives
Copy link

Same issue here. I'm curious if anyone has gotten this set up working in Remix Vite?

@superhighfives
Copy link

Ended up writing a Vite plugin to get things working on Vite, Remix, and Cloudflare: https://github.com/superhighfives/vite-plugin-wasm-module-workers/ Just in case anyone else is trying to get this to work.

@gentksb
Copy link

gentksb commented Jun 25, 2024

Same issue with Astro SSR which using Vite inside.

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