Skip to content

Run into problems while using packages like sqlite3 or better-sqlite3 that need bindings and build-tools #9073

@LittleOddBoy

Description

@LittleOddBoy

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

10.2.1

Which area(s) of pnpm are affected? (leave empty if unsure)

Package manager compatibility

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

just try to use sqlite3 or better-sqlite3

Describe the Bug

I am not completely sure, but it seems to be a problem with pnpm since I'm all good while using npm.
According to my tests, if you install and use packages, that have a process of building or binding or something like that, specially something that has something to do with bindings package, with pnpm, you will face an error that the package cannot locate the binding-files.

I tried my best to explain

Expected Behavior

just expect to work well, you know? the code won't run until you let the package bind the things they need.

Which Node.js version are you using?

22.13.1

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions