`npm install` fails when installing repo dependencies for development
Problem
Bug report - [x] I confirm this is a bug with Supabase, not with my own application. - [x] I confirm I have searched the Docs, GitHub Discussions, and Discord. Describe the bug On running `npm install` after cloning the repository, it fails with the following log (some parts trimmed) : [code block] To Reproduce Steps to reproduce the behavior, please provide code snippets or a repository: 1. Follow the steps mentioned here. Clone the repo and install dependencies 2. It should fail. System information - OS: Tried on Arch Linux (EndeavourOS) and Ubuntu 23.10 - Version of npm: 10.2.3 and 9.9.2 - Version of Node.js: v21.5.0 v18.19.0 Additional context Seems to me that @gregnr/libpg-query package isn't building properly. I also notice that this URL: https://supabase-public-artifacts-bucket.s3.amazonaws.com/libpg-query-node/queryparser-v13.4.0-dev.12-node-v108-linux-x64.tar.gz is returning a 404. Do let me know if I can give more information about my systems. I've tried and tested this both on my local machine and Ubuntu box. Thanks!
Error Output
ERROR: 'make' command failed
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: `npm install` fails when installing repo dependencies for development
Hey @alt-glitch I just tried a clean install following the guide and everythings working. Can you try deleting node_modules and doing a clean install with `npm ci`? Have you tried any other fixes? Also make sure your package-lock file doesn't have any changes. LMK how it goes!
Trust Score
1 verification
- 1
Hey @alt-glitch I just tried a clean install following the guide and everythings
Hey @alt-glitch I just tried a clean install following the guide and everythings working. Can you try deleting node_modules and doing a clean install with `npm ci`? Have you tried any other fixes?
- 2
Also make sure your package-lock file doesn't have any changes. LMK how it goes!
Also make sure your package-lock file doesn't have any changes. LMK how it goes!
Validation
Resolved in supabase/supabase GitHub issue #20370. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep