You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a successful deployment on Vercel, I'm getting a 500 error.
Expected behavior
This project is running smoothly on my Ubuntu server.
Actual behavior
In the logs of Vercel, I see this error:
SyntaxError: Unexpected token 'D', "Direct IP "... is not valid JSON
at JSON.parse ()
at parseJSONFromBytes (/opt/rust/undici-runtime.js:13:2854)
at successSteps (/opt/rust/undici-runtime.js:13:2560)
at fullyReadBody (/opt/rust/undici-runtime.js:3:7811)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async consumeBody (/opt/rust/undici-runtime.js:13:2664)
at async user-source.js:28:35377
at async sr (user-source.js:28:35150)
at async ur (user-source.js:28:36039)
at async handler (user-source.js:28:36800)
Hey @Datsunco, can't view your repository. But i don't believe this is an issue with Medusa. Anything you changed in there? Ensure that you're not running on edge.
Hey @Datsunco, once again, I don't believe this is a Medusa error. I can see that after your first commit, the entire dep tree has been removed and installed based on your runtime.
Can you create a new project and deploy that on vercel? I just tried it and works ok
Package.json file
Node.js version
v21.0.0
Operating system name and version
ubuntu 22.04
Browser name
No response
What happended?
After a successful deployment on Vercel, I'm getting a 500 error.
Expected behavior
This project is running smoothly on my Ubuntu server.
Actual behavior
In the logs of Vercel, I see this error:
SyntaxError: Unexpected token 'D', "Direct IP "... is not valid JSON
at JSON.parse ()
at parseJSONFromBytes (/opt/rust/undici-runtime.js:13:2854)
at successSteps (/opt/rust/undici-runtime.js:13:2560)
at fullyReadBody (/opt/rust/undici-runtime.js:3:7811)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async consumeBody (/opt/rust/undici-runtime.js:13:2664)
at async user-source.js:28:35377
at async sr (user-source.js:28:35150)
at async ur (user-source.js:28:36039)
at async handler (user-source.js:28:36800)
Link to reproduction repo
https://github.com/Datsunco/mejory
The text was updated successfully, but these errors were encountered: