duckdb / duckdb-wasm

WebAssembly version of DuckDB
https://shell.duckdb.org
MIT License
1.3k stars 131 forks source link

Building from source fails in MacOS (it says missing JS files) #1900

Open preddy4690 opened 3 weeks ago

preddy4690 commented 3 weeks ago

What happens?

I'm trying to build duckdb-wasm on my new MacOS. It gives an error when I run 'make serve' after running other commands. It can't find duckdb-mvp.js in ./src/bindings folder.

See attached screenshot. duckdb-wasm error

To Reproduce

I ran these commands as instructed.

git clone https://github.com/duckdb/duckdb-wasm.git cd duckdb-wasm git submodule init git submodule update make apply_patches make serve -- The error shows up here.

Browser/Environment:

Latest Chrome

Device:

Macbook M3 Max

DuckDB-Wasm Version:

1.29.0

DuckDB-Wasm Deployment:

local

Full Name:

Preetham Reddy

Affiliation:

Tech Fabric

carlopi commented 1 week ago

Can you possibly try adding:

make wasm_relsize

before make serve ?

I need to check why this has not been caught and fix the Makefile, this is very likely on me having changed the Makefile. Thanks.