My Vercel project is stuck on the build state whenever I try to deploy it. My project is a node.js server that uses fastly. The code ends with initializing the server:
fastify.listen(
{ port:3000, host: “0.0.0.0” },
function (err, address) {
if (err) {
console.error(err);
process.exit(1);
}
console.log(Your app is listening on ${address}
);
setUpDictionary(true);
selectNewWord()
}
);
The code works and prints the expected output, but Vercel remains in the building state. There are no build warnings.
Help would be very much appreciated!
Deployment URL or Custom Domain: https://verbi-six.vercel.app/
Environment (local, preview, production): preview
Project Framework: Node.js
Build Settings:
Framework Preset:
Build Command (if not default): node server.js
Output Directory (if not default):
Install Command (if not default): npm install
Node/Runtime Version: 20.x
Package Manager: none
Relevant Packages: