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

npm install failure #15

Open
hugo-mrc opened this issue Oct 18, 2024 · 3 comments
Open

npm install failure #15

hugo-mrc opened this issue Oct 18, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@hugo-mrc
Copy link

Bug report

Describe the bug

The npm install is not successful.

To Reproduce

hugo@folder % npx @snaplet/snapshot setup Need to install the following packages: @snaplet/snapshot@0.93.2 Ok to proceed? (y) y npm WARN deprecated postgresql-client@2.5.5: Package name 'postgresql-client' has been changed to 'postgrejs'. Please consider to update dependencies in your package.json

Expected behavior

The end of the installation process.

System information

  • OS: macOs
  • Version of supabase-js: Not applicable (not at this stage)
  • Version of Node.js: 21.7.3
@hugo-mrc hugo-mrc added the bug Something isn't working label Oct 18, 2024
@lasseklovstad
Copy link

Have you tried Node 20?

@daviduzumeri
Copy link

This is happening on Node 22, which is now LTS.

@smcgivern
Copy link

@snaplet/snapshot depends on better-sqlite3 version 8.5.0, but that library only added Node 22 support in version 10 (WiseLibs/better-sqlite3#1182), so you will probably need to override that somehow if you want to use Node 22. We do this with pnpm (https://pnpm.io/package_json#pnpmoverrides), for instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants