Skip to content

Can't run pnpm supabase db push #2

@StefanSpeter

Description

@StefanSpeter

Hello,

I was trying to set up this project to see how to integrate Clerk with supabase using the new third party auth.

First thing is when I run pnpm install I end up getting this warning :

 Warning ───────────────────────────────────────────────────────────────────────────────────╮
│                                                                                            
│   Ignored build scripts: @clerk/shared, esbuild, sharp, supabase.                          
│   Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.   
│                                                                                            
╰─────────────────────────────────────────────────────────────────────────────────────────
 WARN  Failed to create bin at D:\Utilisateurs\user\Mes documents\forks\quillmate\node_modules\.bin\supabase. ENOENT: no such file or directory, stat 'D:\Ulisateurs\userr\Mes documents\forks\quillmate\node_modules\supabase\bin\supabase.EXE'

If I ignore and run
pnpm supabase db push
I get this error :
Cannot find project ref. Have you run supabase link?

As a beginner I'm not sure what to do / how to fix this, I thought it would have been pretty straight forward by following the readme.
I've tried to run pnpm approve-builds and select supabase but still no luck.

Lastly I've tried to implement all the SQL files by hand but got some errors, one was a typo that I corrected (and sent as a PR) and the other one was a conflict but maybe because I imported it by hand, so I will wait to be able to run the pnpm supabase db push command and try again before opening another issue.

Hope this helps!
Let me know if there is anything I can do to help/if you need more informations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions