-
Notifications
You must be signed in to change notification settings - Fork 525
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
npm produces different integrity hash for better-sqlite3 on windows, breaking CI build #3982
Labels
Milestone
Comments
johnbotris
added
bug
broken functionality, usability problems, unexpected errors
build
issues that concern the build process (not only ci)
labels
Mar 23, 2022
Found some issues which seem to be the same: |
A potential solution would be to start using npm 8, as it no longer checks the integrity of git dependencies |
workaround fix: bfa2a08 |
charlag
added a commit
that referenced
this issue
Apr 5, 2022
With new npm version git dependencies are handled correctly.
charlag
added a commit
that referenced
this issue
Apr 5, 2022
With new npm version git dependencies are handled correctly.
charlag
added a commit
that referenced
this issue
Apr 5, 2022
With new npm version git dependencies are handled correctly.
sarashub
pushed a commit
that referenced
this issue
Apr 5, 2022
With new npm version git dependencies are handled correctly.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running
npm ci
on windows, a different integrity hash is produced for our fork ofbetter-sqlite3
than the one that is inpackage-lock.json
, which was generated on ubuntu, causing the integrity check to fail.Running
npm install -S better-sqlite3@github:tutao/better-sqlite3-sqlcipher#<the-same-commit-hash-as-in-package.json>
will update the hash inpackage-lock.json
, allowing a subsequent call tonpm ci
.It's unclear to me why this happens, it could be a bug in npm on windows? It also produces a sha512 hash, just a different one
The text was updated successfully, but these errors were encountered: