Application failed to respond
tmcscoobydoo
TRIALOP

2 years ago

Hello guys , i was trying to deploy my express api , this is package.json that i'm using in the api :

{
  "name": "cloud",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "dev": "nodemon app.js",
    "start": "node app.js",
    "postinstall": "prisma generate",
		"build": "prisma generate && vite build"
    
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@aws-sdk/client-s3": "^3.583.0",
    "@aws-sdk/s3-request-presigner": "^3.596.0",
    "@prisma/client": "^5.15.0",
    "dotenv": "^16.4.5",
    "express": "^4.19.2",
    "multer": "^1.4.5-lts.1",
    "nodemon": "^3.1.1"
  },
  "devDependencies": {
    "prisma": "^5.15.0"
  }
}

my problem is i'm not having errors and the api is deployed but when i try to access the url it open's a railway's page says `Application failed to respond` , i have a small error gpt told me it's not a big deal npm WARN config production Use --omit=dev instead. , i cheked the logs there's nothing helpful , api url : sharyfile-production.up.railway.app

2 Replies

brody
EMPLOYEE

2 years ago


tmcscoobydoo
TRIALOP

2 years ago

i don't think it's the problem , it didn't change anything anyway , if you are intrested i will give you access to the repo in github


Loading...