I am currently stuck running into an issue using the latest version of DuckDB with Vercel.
You can reproduce this by deploying https://github.com/AlfieJones/duckdb-vercel-bug to vercel. While building you'll get the erorr:
Error: Failed to load external module @duckdb/node-api: Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /vercel/path0/node_modules/@duckdb/node-bindings-linux-x64/duckdb.node)Looks like the latest version of /node-api requires this library