Aav
05/10/2022, 11:29 PMdocker-compose up
to start my Supabase instance, I'm getting
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
What should I do here to fix that?arcavid
05/10/2022, 11:59 PMts
export const getServiceSupabase = () =>
createClient(
process.env.NEXT_PUBLIC_SUPABASE_URL,
process.env.SUPABASE_SERVICE_ROLE_KEY
)
donpuerto
05/11/2022, 12:59 AMAav
05/11/2022, 2:51 AMdocker compose up
, I get supabase-storage | exec /bin/sh: exec format error
and supabase-meta | exec /bin/postgres-meta: exec format error
on run. This causes everything else to fail because it can't connect to the database. What can I do to resolve this?Bryan K.
05/11/2022, 5:54 AMNeedle
05/11/2022, 8:35 AMvamonke
05/11/2022, 3:33 PMOLD_DB_URL
and NEW_DB_URL
? where can i find them?Thomas
05/12/2022, 1:13 AMGnee
05/12/2022, 3:48 AMsupabase.auth.session = () => ({
access_token: token,
token_type: 'Bearer',
user
});
Or should token_type be something different?Fainaru
05/12/2022, 4:21 AMabc222
05/12/2022, 8:26 AMabc222
05/12/2022, 8:33 AMtheuknowner
05/12/2022, 11:22 AMPaul
05/12/2022, 2:26 PMSteve
05/12/2022, 3:37 PMian_
05/12/2022, 10:01 PMlumen
05/12/2022, 11:07 PMAmusedGrape
05/13/2022, 2:41 AMsameh
05/13/2022, 8:26 AMMartin INDIE MAKERS
05/13/2022, 1:01 PMTim Everett
05/13/2022, 1:16 PMkapowell
05/13/2022, 8:35 PMNeedle
05/13/2022, 10:02 PMfranfernandez
05/13/2022, 10:46 PMjs
async function signInWithGoogle() {
const { user, session, error } = await supabase.auth.signIn({
provider: 'google',
redirectTo: window.location.origin
})
console.log('error', error)
console.log('session', session)
console.log('user', user)
}
Needle
05/14/2022, 1:27 AMngs
05/14/2022, 3:42 AMnull is not an object (evaluating 'ne.auth.user().id')
, even when implemented exactly as described in the quickstart. Any idea what I've done wrong? Or how to fix it?Steve
05/14/2022, 4:32 AMloderunner
05/14/2022, 6:35 AMApe R Us
05/14/2022, 7:29 AMkwangure
05/14/2022, 10:24 AM