Closed nmdaniil closed 3 months ago
1.0.1
import { createClient } from "@clickhouse/client"; console.log('connecting ClickHouse DB ...') const CHDB = createClient({ host: config.database.chdb.host, username: config.database.chdb.user, password: config.database.chdb.password, database: config.database.chdb.database }); console.log(await CHDB.ping());
connecting ClickHouse DB ... { success: true }
connecting ClickHouse DB ...
Additional information It just hangs and laptop fan starts to make high noise.
Before bun 1.0, it used to crash with only "Segmentation Fault" in console.
Does it work if you use @clickhouse/client-web instead of @clickhouse/client?
@clickhouse/client-web
@clickhouse/client
Related: https://github.com/ClickHouse/clickhouse-js/issues/211
🎉 Dear gentlemen, I wanted to please you that in the new version (~1.1.13+) of the Bun the library is working ✅
Using Bun instead of nodejs it doesn't work
What version of Bun is running?*
1.0.1
What platform is your computer?
What steps can reproduce the bug?
What is the expected behavior?
What do you see instead?
Additional information It just hangs and laptop fan starts to make high noise.
Before bun 1.0, it used to crash with only "Segmentation Fault" in console.