Nixpacks is not finding my project
posabsolute
HOBBYOP

2 years ago

I have a monorepo style project, this api is in the folder /api-2/ which I setup in railway. This is a node-js app with all the very typical commands in package.json

{
"main": "dist/index.js",
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tspc",
"start": "node dist/index.js",
"generate": "drizzle-kit generate",
"migrate": "drizzle-kit migrate"
},

nixpacks is not finding anything. it says:

Error: No start command could be found

But I also have no logs it build this project eitheir

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

2 Replies

2 years ago

If your desired app is in the `api-2` folder, have you tried setting the root directory to `/api-2` in the service settings?


posabsolute
HOBBYOP

2 years ago

I'm new to this, the issue was that while I updated my service settings, I did not deploy those changes, I thought they were applied automatically but you need to deploy them through the UI


Loading...