Hi ,I'm trying to run a local instance of supabase...
# help
k
Hi ,I'm trying to run a local instance of supabase using the cli. Following the instructions and using the API url referenced in the local studio
http://supabase_kong_<project_dir_name>:8000
I am getting the following error when making a call with the supabase js client,
net::ERR_NAME_NOT_RESOLVED
. What is the appropriate host name for the local dev supabase url ? Anyone have any ideas as to why I might be seeing this error? Note, I'm running all this on a mac.
n
Hello @klufkin! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
s
After running
supabase start
you should be given a API URL which is what you are supposed to use for the supabaseURL when using the js library. The port you are referring in your example looks wrong as the default port is 54321
n
klufkin (2022-03-16)
k
Thank you! That solved my problem! I thought I had tried that, but I must have gotten confused at some point. 🤦‍♂️ Thanks again! 🙂
n
Thread was archived by @klufkin. Anyone can send a message to unarchive it.