Replies: 2 comments 7 replies
-
|
@dikatok can you try to add |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@Brooooooklyn I tried both Here is |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Heya,
Recently the team at Turso migrates the wasm binding generation to napi v3 https://github.com/tursodatabase/turso/tree/main/bindings/javascript. I tried building the binding locally and import it from a vite project but keeps getting issue with
@tursodatabase/database-wasm32-wasiis not generated in the downstream project'snode_modules.Here is the recap of what I did
rustup target add wasm32-wasip1In bindings/javascript
npm install --cpu wasm32npm run build -- --target wasm32-wasip1-threadsIn my vite project, in this case using a vanilla template in
bindings/javascript/examples/opfsnpm install ../../ --cpu wasm32npm run buildnpm run devvite.config.jsAm I missing something?
Beta Was this translation helpful? Give feedback.
All reactions