You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build duckdb-wasm from source, on macOS. I am following these instructions from the README:
git clone https://github.com/duckdb/duckdb-wasm.git
cd duckdb-wasm
git submodule init
git submodule update
make apply_patches
make serve
In addition to those steps, I've installed ccache (from homebrew) and emsdk (from source).
My build is failing at make serve with the following error:
Error: Command failed: sed -i.bak 's/require(["'\'']child_process["'\''])/["child_process"].map(require)/g' ./src/bindings/duckdb-mvp.js && rm ./src/bindings/duckdb-mvp.js.bak
sed: ./src/bindings/duckdb-mvp.js: No such file or directory
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at checkExecSyncError (node:child_process:891:11)
at execSync (node:child_process:963:15)
at patchFile (file:///Users/philip.garrison/workspace/aics/duckdb-wasm/packages/duckdb-wasm/bundle.mjs:369:5)
at file:///Users/philip.garrison/workspace/aics/duckdb-wasm/packages/duckdb-wasm/bundle.mjs:104:5
at file:///Users/philip.garrison/workspace/aics/duckdb-wasm/packages/duckdb-wasm/bundle.mjs:359:3
at ModuleJob.run (node:internal/modules/esm/module_job:325:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:606:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)
I do have duckdb-mvp.d.ts, but not duckdb-mvp.js. What should I do?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to build duckdb-wasm from source, on macOS. I am following these instructions from the README:
In addition to those steps, I've installed
ccache(from homebrew) andemsdk(from source).My build is failing at
make servewith the following error:I do have duckdb-mvp.d.ts, but not
duckdb-mvp.js. What should I do?Beta Was this translation helpful? Give feedback.
All reactions