[Fastify] Error: /app/dist/app.js doesn't exist within /app

Hey! I am currently trying to deploy a Fastify API to Railway - I am getting the following error
> fastify start -l info dist/app.js
Error: /app/dist/app.js doesn't exist within /app
> fastify start -l info dist/app.js
Error: /app/dist/app.js doesn't exist within /app
does anyone know why it may be looking for app/dist/app.js instead of dist/app.js? my "main" option in package.json is set to "app.ts"
3 Replies
Percy
Percy2y ago
Project ID: 81c7da2c-38e7-4d1c-97b6-a4645c7872c6
Michael
Michael2y ago
81c7da2c-38e7-4d1c-97b6-a4645c7872c6
Want results from more Discord servers?
Add your server