duckdb-wasm icon indicating copy to clipboard operation
duckdb-wasm copied to clipboard

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

Open preddy4690 opened this issue 1 year ago • 2 comments

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

preddy4690 avatar Oct 27 '24 15:10 preddy4690

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.

carlopi avatar Nov 14 '24 00:11 carlopi

I got the same results.

"make serve" gave an error, but "make wasm_relsize" worked fine.

neolord0 avatar Dec 18 '24 08:12 neolord0