My app has been successfully built, but it doesn't work when I try to open it up.
rovid19
HOBBYOP

2 years ago

As the title says, I've successfully built client and api for my new project everything is good in my consoles on railway, but when I try to open up my app, I get an error "Application failed to respond"

project id: 116e0291-0b86-4a06-b492-1985abc6f7c4

0 Replies

brody
EMPLOYEE

2 years ago

what kind of app?


rovid19
HOBBYOP

2 years ago

it's a web game


brody
EMPLOYEE

2 years ago

sorry I should have been more clear, what technologies are involved


rovid19
HOBBYOP

2 years ago

Oh, only typescript is used for frontend and for backend javascript


brody
EMPLOYEE

2 years ago

sorry I should have been even more clear, what are all the technologies involved?


rovid19
HOBBYOP

2 years ago

xd


rovid19
HOBBYOP

2 years ago

second


rovid19
HOBBYOP

2 years ago

"devDependencies": {
"@types/three": "^0.164.0",
"babel-loader": "^9.1.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"typescript": "^5.2.2",
"vite": "^5.1.2"
},
"dependencies": {
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@babel/preset-typescript": "^7.24.1",
"@types/jest": "^29.5.12",
"axios": "^1.6.8",
"babel-jest": "^29.7.0",
"three": "^0.164.1"
}

thats all including js and ts


brody
EMPLOYEE

2 years ago

so no framework, just vite and ts


rovid19
HOBBYOP

2 years ago

yes


brody
EMPLOYEE

2 years ago

copy the nixpacks.toml and Caddyfile from this repo into yours, I know it says react but that doesn't matter


rovid19
HOBBYOP

2 years ago

yup that solved my problem


rovid19
HOBBYOP

2 years ago

thanks brodster


rovid19
HOBBYOP

2 years ago

do I always have to import those two files when im deploying onto railway?


brody
EMPLOYEE

2 years ago

for a vite frontend, yes


Loading...