Why am I getting this error for this login component?
I keep receiving this error, and there doesn't seem to be much documentation on it. Login component and error are below.
{
code: '42P01',
details: null,
hint: null,
message: 'relation "public.auth.users" does not exist'
}
RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 0
at new NodeError (node:internal/errors:399:5)
at ServerResponse.writeHead (node:_http_server:344:11)
at ServerResponse._implicitHeader (node:_http_server:335:8)
at ServerResponse.end (node:_http_outgoing:1035:10)
at DevServer.handleCatchallMiddlewareRequest (C:\Immanuel\Coding\stack-overflow-clone\node_modules\next\dist\server\next-server.js:1113:38)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async DevServer.handleRequestImpl (C:\Immanuel\Coding\stack-overflow-clone\node_modules\next\dist\server\base-server.js:647:32) {
code: 'ERR_HTTP_INVALID_STATUS_CODE'
}
{
code: '42P01',
details: null,
hint: null,
message: 'relation "public.auth.users" does not exist'
}
RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 0
at new NodeError (node:internal/errors:399:5)
at ServerResponse.writeHead (node:_http_server:344:11)
at ServerResponse._implicitHeader (node:_http_server:335:8)
at ServerResponse.end (node:_http_outgoing:1035:10)
at DevServer.handleCatchallMiddlewareRequest (C:\Immanuel\Coding\stack-overflow-clone\node_modules\next\dist\server\next-server.js:1113:38)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async DevServer.handleRequestImpl (C:\Immanuel\Coding\stack-overflow-clone\node_modules\next\dist\server\base-server.js:647:32) {
code: 'ERR_HTTP_INVALID_STATUS_CODE'
}{
code: '42P01',
details: null,
hint: null,
message: 'relation "public.auth.users" does not exist'
}
RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 0
at new NodeError (node:internal/errors:399:5)
at ServerResponse.writeHead (node:_http_server:344:11)
at ServerResponse._implicitHeader (node:_http_server:335:8)
at ServerResponse.end (node:_http_outgoing:1035:10)
at DevServer.handleCatchallMiddlewareRequest (C:\Immanuel\Coding\stack-overflow-clone\node_modules\next\dist\server\next-server.js:1113:38)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async DevServer.handleRequestImpl (C:\Immanuel\Coding\stack-overflow-clone\node_modules\next\dist\server\base-server.js:647:32) {
code: 'ERR_HTTP_INVALID_STATUS_CODE'
}
{
code: '42P01',
details: null,
hint: null,
message: 'relation "public.auth.users" does not exist'
}
RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 0
at new NodeError (node:internal/errors:399:5)
at ServerResponse.writeHead (node:_http_server:344:11)
at ServerResponse._implicitHeader (node:_http_server:335:8)
at ServerResponse.end (node:_http_outgoing:1035:10)
at DevServer.handleCatchallMiddlewareRequest (C:\Immanuel\Coding\stack-overflow-clone\node_modules\next\dist\server\next-server.js:1113:38)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async DevServer.handleRequestImpl (C:\Immanuel\Coding\stack-overflow-clone\node_modules\next\dist\server\base-server.js:647:32) {
code: 'ERR_HTTP_INVALID_STATUS_CODE'
}message.txt4.64KB