Closed theguruofreason closed 3 months ago
+1
I changed the version of better-sqlite3 in pnpm-lock.yml and pnpm i
succeeded
8213 /better-sqlite3@8.7.0:
8214 resolution: {integrity: sha512-99jZU4le+f3G6aIl6PmmV0cxUIWqKieHxsiF7G34CVFiE+/UabpYqkU0NJIkY/96mQKikHeBjtR27vFfs5JpEw==}
...
14875 /sqlite-level@1.0.1:
14876 resolution: {integrity: sha512-uPo21L96VADz/PPkkZoPNMH9fURTQLDrSVe8XJUwPjqvTi3xigDvCfoektZdvoEgRAiaHchOgksW7YBoyVyEnw==}
14877 dependencies:
14878 abstract-level: 1.0.3
14879 better-sqlite3: 8.7.0
↓
8213 /better-sqlite3@11.1.2:
8214 resolution: {integrity: sha512-gujtFwavWU4MSPT+h9B+4pkvZdyOUkH54zgLdIrMmmmd4ZqiBIrRNBzNzYVFO417xo882uP5HBu4GjOfaSrIQw==}
...
14875 /sqlite-level@1.0.1:
14876 resolution: {integrity: sha512-uPo21L96VADz/PPkkZoPNMH9fURTQLDrSVe8XJUwPjqvTi3xigDvCfoektZdvoEgRAiaHchOgksW7YBoyVyEnw==}
14877 dependencies:
14878 abstract-level: 1.0.3
14879 better-sqlite3: 11.1.2
Yes, I solved this by deleting the outdated pnpm-lock.yaml and running pnpm i
as well. The repo should be updated with a fresh lock, or better yet just gitignore the lock.
When attempting
pnpm i
, better-sqlite3 fails to install with...Node -v: v22.5.1 pnpm -v: 9.6.0 OS: Ubuntu 22.04.4 kernel: 6.5.0-45-generic