pkdiscgolf
(Pkdiscgolf)
September 12, 2024, 6:19pm
1
How do I run “node api” on the server? I have an express API that is working in localhost but when I deploy I get this error message when trying to go to the endpoint.
This Serverless Function has crashed.
Your connection is working correctly.
Vercel is working correctly.
500 : INTERNAL_SERVER_ERRORCode: FUNCTION_INVOCATION_FAILED
ID: cle1::xlnqk-1726164896705-e81ab25379ba
pawlean
(Pauline P. Narvas)
September 13, 2024, 1:38am
2
Hi, @pkdiscgolf ! Welcome to the Community
Could you try troubleshooting using the steps outlined in these docs?
pkdiscgolf
(Pkdiscgolf)
September 18, 2024, 4:10pm
3
How do I run node api on the server?
pkdiscgolf
(Pkdiscgolf)
September 18, 2024, 4:15pm
4
Review deployment configuration: Double-check the deployment configuration to ensure that the Edge Function is being deployed correctly
How do I indicate to the deployment configuration that I want the command node api to run on the server?
pkdiscgolf
(Pkdiscgolf)
September 21, 2024, 5:04pm
5
When I try to add in “node api” in the project settings like this
node api && npm install;
It shows “server running” in the build logs. However, the deployment never finishes
system
(system)
Closed
October 21, 2024, 5:05pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.