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

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
Solution:
https://github.com/brody192/vite-react-template copy the nixpacks.toml and Caddyfile from this repo into yours, I know it says react but that doesn't matter...
Jump to solution
12 Replies
Percy
Percy7mo ago
Project ID: 116e0291-0b86-4a06-b492-1985abc6f7c4
Brody
Brody7mo ago
what kind of app?
ŠemkeUshemi
ŠemkeUshemiOP7mo ago
it's a web game
Brody
Brody7mo ago
sorry I should have been more clear, what technologies are involved
ŠemkeUshemi
ŠemkeUshemiOP7mo ago
Oh, only typescript is used for frontend and for backend javascript
Brody
Brody7mo ago
sorry I should have been even more clear, what are all the technologies involved?
ŠemkeUshemi
ŠemkeUshemiOP7mo ago
xd second "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
Brody7mo ago
so no framework, just vite and ts
ŠemkeUshemi
ŠemkeUshemiOP7mo ago
yes
Solution
Brody
Brody7mo ago
https://github.com/brody192/vite-react-template copy the nixpacks.toml and Caddyfile from this repo into yours, I know it says react but that doesn't matter
ŠemkeUshemi
ŠemkeUshemiOP7mo ago
yup that solved my problem thanks brodster do I always have to import those two files when im deploying onto railway?
Brody
Brody7mo ago
for a vite frontend, yes
Want results from more Discord servers?
Add your server