Vercel deploying errors.
Unanswered
Black carp posted this in #help-forum
Original message was deleted.
11 Replies
Black carp
[== ] - info Generating static pages (12/13)undefined:1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
^
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at parseJSONFromBytes (node:internal/deps/undici/undici:6571:19)
at successSteps (node:internal/deps/undici/undici:6545:27)
at node:internal/deps/undici/undici:1211:60
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.16.0
at ChildProcessWorker.initialize (C:\Users\USER\Desktop\kwiatek-lekcje\node_modules\next\dist\compiled\jest-worker\index.js:1:11661)
at ChildProcessWorker._onExit (C:\Users\USER\Desktop\kwiatek-lekcje\node_modules\next\dist\compiled\jest-worker\index.js:1:12599)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at ChildProcess._handle.onexit (node:internal/child_process:291:12) {
type: 'WorkerError'
}
[ ] - info Generating static pages (12/13)
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
^
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at parseJSONFromBytes (node:internal/deps/undici/undici:6571:19)
at successSteps (node:internal/deps/undici/undici:6545:27)
at node:internal/deps/undici/undici:1211:60
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.16.0
Build error occurredError: Call retries were exceeded
at ChildProcessWorker.initialize (C:\Users\USER\Desktop\kwiatek-lekcje\node_modules\next\dist\compiled\jest-worker\index.js:1:11661)
at ChildProcessWorker._onExit (C:\Users\USER\Desktop\kwiatek-lekcje\node_modules\next\dist\compiled\jest-worker\index.js:1:12599)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at ChildProcess._handle.onexit (node:internal/child_process:291:12) {
type: 'WorkerError'
}
[ ] - info Generating static pages (12/13)
Black carp
This is what I managed to narrow the errors to:
@Black carp This is what I managed to narrow the errors to:
Do you fetch from localhost:3306 somewhere in your code
@joulev Do you fetch from localhost:3306 somewhere in your code
Black carp
well no, but I guess maybe fetching from /api/teachers fetches from that port
@joulev https://nextjs-discord-common-questions.joulev.dev/fetching-own-api-endpoint-in-react-server-components
Black carp
I fixed that but the errors are still here
Black carp
Now this causes an error???? its in client side
also this fails to prerender??? why
@joulev https://nextjs-discord-common-questions.joulev.dev/fetching-own-api-endpoint-in-react-server-components
Black carp
why did u leave me ;-;
@Black carp why did u leave me ;-;
Because I don’t know the answer, sorry