duckdb-wasm
duckdb-wasm copied to clipboard
"@duckdb/duckdb-wasm/node_modules/.bin/arrow2csv. ENOENT: no such file or directory" on installing
What happens?
Currently, @duckdb/duckdb-wasm depended on apache-arrow@17.
- https://github.com/search?q=repo%3Aduckdb%2Fduckdb-wasm%20apache-arrow&type=code
pnpm install show following warning.
pnpm install @duckdb/duckdb-wasm
Packages: +27
+++++++++++++++++++++++++++
Progress: resolved 27, reused 27, downloaded 0, added 27, done
WARN Failed to create bin at /Users/azu/ghq/github.com/azu/testa/node_modules/.pnpm/node_modules/.bin/arrow2csv. ENOENT: no such file or directory, open '/Users/azu/ghq/github.com/azu/testa/node_modules/.pnpm/node_modules/apache-arrow/bin/arrow2csv.cjs'
WARN Failed to create bin at /Users/azu/ghq/github.com/azu/testa/node_modules/.pnpm/[email protected]/node_modules/apache-arrow/node_modules/.bin/arrow2csv. ENOENT: no such file or directory, open '/Users/azu/ghq/github.com/azu/testa/node_modules/.pnpm/[email protected]/node_modules/apache-arrow/bin/arrow2csv.cjs'
WARN Failed to create bin at /Users/azu/ghq/github.com/azu/testa/node_modules/.pnpm/@[email protected]/node_modules/@duckdb/duckdb-wasm/node_modules/.bin/arrow2csv. ENOENT: no such file or directory, open '/Users/azu/ghq/github.com/azu/testa/node_modules/.pnpm/[email protected]/node_modules/apache-arrow/bin/arrow2csv.cjs'
dependencies:
+ @duckdb/duckdb-wasm 1.29.0
This warning is caused by apache-arrow@17 and it is fixed in apache-arrow@18. So, it need to update to apache-arrow@18 for fixing this issue.
- https://github.com/apache/arrow/issues/42229
- https://github.com/apache/arrow/releases/tag/apache-arrow-18.0.0
No harm is done, but the warning makes the installation appear to have failed.
To Reproduce
Just install @duckdb/duckdb-wasm with pnpm
pnpm install @duckdb/duckdb-wasm
Browser/Environment:
Node.js v22.6.0
Device:
macOS
DuckDB-Wasm Version:
1.29.0
DuckDB-Wasm Deployment:
shell.duckdb.org
Full Name:
azu
Affiliation:
none
https://github.com/apache/arrow/releases/tag/apache-arrow-19.0.0 Apache-arrow 19 is released