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

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

Open
preddy4690 opened this issue Oct 27, 2024 · 1 comment
Open

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

preddy4690 opened this issue Oct 27, 2024 · 1 comment

Comments

@preddy4690
Copy link

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
Copy link
Collaborator

carlopi commented Nov 14, 2024

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.

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

2 participants