Request for Refund – Deployment Issues on Railway
enhanceai-art
PROOP

2 years ago

Hello Railway Team,

I'm facing severe issues deploying my Next.js app on Railway. The deployment fails due to numerous type errors and dependency conflicts, making it impossible to proceed. Despite multiple attempts to fix the issues, the platform does not seem compatible with my setup.

Since I'm unable to use the service as intended, I kindly request a refund. Please let me know the next steps.

Thanks,

Kushal

Closed

28 Replies

enhanceai-art
PROOP

2 years ago

afebb387-fe5f-43b9-82ab-ab921970286f


2 years ago

You can always make requests for refunds here:

(Billing History -> Refund)


enhanceai-art
PROOP

2 years ago

if possible i would like to deploy my website


enhanceai-art
PROOP

2 years ago

instead of refund


2 years ago

I can try to help you, although I've never deployed a nextjs app before

first let's just get on the same page

are you building with nixpacks or docker?


enhanceai-art
PROOP

2 years ago

yeah, also i have created my own docker file in project but that didn't worked


enhanceai-art
PROOP

2 years ago

issue with npm packages installtion


2 years ago

makes sense, perhaps you're using a different node version than Railway does

what node version does your app use?


enhanceai-art
PROOP

2 years ago

everything is latest one


2 years ago

so you're using node 23.8?


enhanceai-art
PROOP

2 years ago

yeah above then 22 will work


enhanceai-art
PROOP

2 years ago

i used nextjs 15 version so latest node version is required


2 years ago

Seems NextjS 15.1.17 needs NodeJS 18.18 and above

Nixpacks support Node 16, 18, 20, and 22 (although only major versions can be specified)

so are you using node 22 then?


enhanceai-art
PROOP

2 years ago

yeah


2 years ago

Do you have that specified in your package.json ?


enhanceai-art
PROOP

2 years ago

I tested on Ubuntu, and it works fine. I'm new to your platform and have zero knowledge about it, but I'm experiencing issues with Railway.


2 years ago

yea i get that 😔 sorry that you're having trouble

but, do you have your node version specified in your package.json ?


enhanceai-art
PROOP

2 years ago

nope, package.json is generated by nextjs default


2 years ago

oh alright, let me check nextjs docs rq


enhanceai-art
PROOP

2 years ago

sure


enhanceai-art
PROOP

2 years ago


2 years ago

ah I see, it only auto generates it when you create next-app


2 years ago

in that case it's safe to alter it


2 years ago

if you're using Node 22 locally, then you'll want to add this to your package.json

{
  "engines": {
    "node": "22"
  }
}

This will tell Railway that it should build your appllication in a node 22 environment


2 years ago

make sure you are actually using node 22 locally though, you can do that by running node -v in the command line


enhanceai-art
PROOP

2 years ago

lemme do


enhanceai-art
PROOP

2 years ago

it worked. thanks


2 years ago

awesome! happy I could help 🙂


Welcome!

Sign in to your Railway account to join the conversation.

Loading...