8000 Make better-sqlite3 installation work out of the box · Issue #981 · gemini-testing/testplane · GitHub
[go: up one dir, main page]

Skip to content

Make better-sqlite3 installation work out of the box #981

Open

Description

@shadowusr

Verify latest release

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

Hermione version

No response

Last Hermione version that worked

No response

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

Hermione core

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

No response

Reproduction steps

When using yarn+pnp (but I suspect it will be the same with npm as well!), when installing testplane you get an error:

STDERR gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'

Additional info:

node -v v20.11.1
node-gyp -v v7.1.2

The issue here is probably old version of node-gyp, but ideally it should work always regardless of this. Also, we need to make sure that it works in offline environment (without access to github or external internet)

Actual Behavior

Failed to build better-sqlite3 with node-gyp 7, yarn+pnp

Expected Behavior

Testplane installation works out of the box

Which Node.js version are you using?

20.11.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0