Skip to main content

All Questions

0 votes
1 answer
56 views

Can't add trigger on insert in auth.Users in Supabase

I tried to create a trigger on auth.users to add information to a public table, but for some reason, it caused issues during registration. I get the following error: AuthApiError: Database error ...
DepressedChalk's user avatar
3 votes
1 answer
81 views

ApolloError: Server response was missing for query 'CreateChatbot'

I have successfully run my both front in nextJs and also run server stepzen start command here is my serverClient.ts file import { ApolloClient, DefaultOptions, HttpLink, InMemoryCache, } from ...
Alamin's user avatar
  • 2,185
0 votes
0 answers
39 views

Socket.io events in React.js and Node.js not being triggered

I'm building a chat application in React js and Node js. The events that I have written in React.js and Node.js do not seem to be triggered. I can login and see data in both the browser and the ...
Software Engineer's user avatar
1 vote
0 answers
33 views

Byte64 image text not rendering in localhost development environment when setting as image source (React)

I am working on a website where I am getting images from a database. The images are stored as "bytea" variables in a Postgres SQL database. As from all I've researched on stackoverflow and ...
Richard Strott's user avatar
0 votes
0 answers
22 views

Problem with SmartBrain App - Failed to load resource: the server responded with a status of 404 (Not Found)

I'm trying to solve an issue I've been having with my SmartBrain app. I completed the ZTM Web Developer course and completed the app but then had problems using it later on. I keep getting a "...
Brandon Fyall's user avatar
0 votes
0 answers
45 views

RangeError: Maximum call stack size exceeded at Object.mkdirSync (node:fs:1391:15)

``RangeError: Maximum call stack size exceeded at Object.mkdirSync (node:fs:1391:15) at sync (C:\hotel-management-system\backend\node_modules\mkdirp\index.js:74:13) at sync (C:\hotel-...
Ilyas Ali's user avatar
-1 votes
1 answer
1k views

Only plain objects, and a few built-ins, can be passed to Client Components from Server Components

I have an "admin" page on my NextJs application using vercel postgress and what I am trying to do is, after filling in the inputs and clicking on "Create user" button, new user ...
Ucha's user avatar
  • 21
0 votes
0 answers
61 views

How do I create a unique index across multiple JSONB fields with Knex?

I have the following Knex migration (using Postgresql): import { Knex } from 'knex'; export async function up(knex: Knex): Promise<void> { await knex.schema.createTable('cars', (table: any) =&...
Temp Account's user avatar
1 vote
0 answers
181 views

How do I create a unique index on multiple JSONB fields in Prisma?

I can create a unique index on a Postgresql Json column with this: @@unique([car]) But, I need to create a unique index based on the year, model and color: @@unique([car->>'year', car->>'...
Temp Account's user avatar
0 votes
2 answers
54 views

Undefined Values Even After Passing Props Correctly

I am trying to fetch data and then pass the coaching data as props to another component so that i should render on FE i want to pass the props to the coachingCard Compoenet so that i can use the ...
hussain ashraf's user avatar
0 votes
1 answer
1k views

Why am I getting "Could not authenticate user" from supabase using the NextJS tutorial?

I just created a brand new project with NextJS and Supabase following this tutorial: https://supabase.com/docs/guides/getting-started/quickstarts/nextjs All I did so far was change the ".env....
idevelopapps's user avatar
0 votes
1 answer
384 views

How to check if an array has one of the objects in the query an throw all the objects inside of it in Supabase

maybe the title of the question is not the best but i don't know how to explain it better in just one line. So, to have context the best is to see the query that i'm doing in JavaScript for Supabase ...
lgodev's user avatar
  • 45
0 votes
1 answer
243 views

How to fix signup error when signup was actually successful in Reactjs?

i try to signup in my login page built with react and backend in express js and database is postgres. when i signup using a new email address for the first time, i get An error occured during signup ...
Adesoji Alu's user avatar
0 votes
1 answer
1k views

How to update supabase record?

I want "item" to be unique so if a user click on the same item again, it'll update and add 1 to my "quantity" and add "price" and insert a new record if not unique. I ...
Les Jetskii's user avatar
0 votes
1 answer
55 views

Querying multiple rows of a table shows an [object] [object] instead of the actual data. How to fix?

I have this query: const {data, error} = await supabase .from('profiles') .select(` *, station ( station_name, user_id ), type ( ...
JS3's user avatar
  • 1,879

15 30 50 per page
1
2 3 4 5
9