Skip to content

Waddler requires @clickhouse/client to work even in standalone #6

@yacobmole

Description

@yacobmole
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@clickhouse/client' imported from /home/jacob/.../node_modules/.pnpm/waddler@0.1.1/node_modules/waddler/clickhouse/driver.js

Waddler requires @clickhouse/client to work even when using standalone SQL

import { sql } from "waddler/clickhouse";

If i want to use @clickhouse/client-web i have to install both dependencies.

I want to be able to use import { sql } from "waddler/clickhouse" without installing extra dependencies. That way, I can create a shared package that leverages Waddler for SQL statement construction, while leaving the choice open to use either clickhouse-js drivers, another driver, or no driver at all—just Waddler for building queries.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions