Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
shadowusr opened this issue Jul 30, 2024 · 0 comments
Open
1 task done

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

shadowusr opened this issue Jul 30, 2024 · 0 comments
Labels

Comments

@shadowusr
Copy link
Member

shadowusr commented Jul 30, 2024

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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant