Skip to content

Conversation

@royvandewater
Copy link

We're attempting to install @duckdb/node-bindings@1.4.1-r.4, which has the various os/arch flavors listed as optional dependencies.

We need it to install @duckdb/node-bindings-linux-arm64@1.4.1-r.4, but can't add that to our project's dependencies without it throwing a big error when we attempt to run pnpm install on our non-linux dev machines.

By falling back to reading from the optionalDependencies, we can list @duckdb/node-bindings-linux-arm64@1.4.1-r.4 in our optionalDependencies and have SST install that specific version at deploy time instead of defaulting to * (the latest version) like it does now.

We're attempting to install @duckdb/node-bindings@1.4.1-r.4, which
has the various os/arch flavours listed as optional dependencies.

We need it to install @duckdb/node-bindings-linux-arm64@1.4.1-r.4, but
can't add that to our project's dependencies without it throwing a big
error when we attempt to run `pnpm install` on our non-linux dev machines.

By falling back to reading from the optionalDependencies, we can list
@duckdb/node-bindings-linux-arm64@1.4.1-r.4 in our optionalDependencies
and have SST install that specific version at deploy time instead of defaulting
to '*' (the latest version) like it does now.

Co-authored-by: John Cadigan <jcad@sibipro.com>
@netlify
Copy link

netlify bot commented Nov 13, 2025

Deploy Preview for sst-docs canceled.

Name Link
🔨 Latest commit ed28d50
🔍 Latest deploy log https://app.netlify.com/projects/sst-docs/deploys/6916069d10b50400085e35c9

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

Successfully merging this pull request may close these issues.

1 participant