Deployed site gives 404

site name:

I don’t see any error messages, it says deployed successfuly, but all the routes give me a 404. I used to deploy with Heroku, but Heroku is usually down lately. This is my package.json

“name”: “vaquita-escolar-api”,

“version”: “0.1.0”,

“main”: “server.js”,

“author”: “Daniel Tkach”,

“license”: “MIT”,

“scripts”: {

"start": "cross-env NODE_ENV=production nodemon --exec babel-node -r dotenv/config ./server.js",

"dev": "cross-env NODE_ENV=development nodemon --exec babel-node -r dotenv/config ./server.js"


“dependencies”: {

"@babel/core": "^7.17.10",

"@babel/node": "^7.17.10",

"@babel/preset-env": "^7.17.10",

"@sendgrid/mail": "^7.7.0",

"axios": "^0.27.2",

"bcrypt": "^5.0.1",

"cookie-parser": "^1.4.6",

"cors": "^2.8.5",

"cross-env": "^7.0.3",

"dotenv": "^16.0.0",

"express": "^4.18.1",

"jsonwebtoken": "^8.5.1",

"mongoose": "^6.3.3",

"nodemon": "^2.0.16",

"uuid": "^8.3.2"



This is my build log:
9:03:32 AM: Build ready to start

9:03:33 AM: build-image version: d2c6dbeac570350a387d832f64bc980dc964ad65 (focal)

9:03:33 AM: build-image tag: v4.8.0

9:03:33 AM: buildbot version: d7330f24833f29d0263d28116347ab83094a2561

9:03:34 AM: Fetching cached dependencies

9:03:34 AM: Finished downloading cache in 144.212104ms

9:03:34 AM: Starting to extract cache

9:03:34 AM: Finished extracting cache in 19.279156ms

9:03:34 AM: Finished fetching cache in 163.842071ms

9:03:34 AM: Starting to prepare the repo for build

9:03:34 AM: Preparing Git Reference refs/heads/main

9:03:35 AM: Parsing package.json dependencies

9:03:35 AM: Different publish path detected, going to use the one specified in the Netlify configuration file: ‘api’ versus ‘’ in the Netlify UI

9:03:36 AM: No build steps found, continuing to publishing

9:03:36 AM: Starting to deploy site from ‘api’

9:03:36 AM: Creating deploy tree

9:03:36 AM: Creating deploy upload records

9:03:36 AM: 1 new files to upload

9:03:36 AM: 0 new functions to upload

9:03:36 AM: Starting post processing

9:03:37 AM: Finished processing build request in 3.128747743s

9:03:37 AM: Post processing - HTML

9:03:37 AM: Post processing - header rules

9:03:37 AM: Post processing - redirect rules

9:03:37 AM: Post processing done

9:03:40 AM: Site is live :sparkles:

Hi there,

Did you see this guide yet? This is the best place to start for “Page Not Found” issues.

If you are still seeing issues after following the troubleshooting steps in there, please check out this Support Guide as well. It outlines all of our build and deploy resources and will get you on the right track :slight_smile:

If none of the above resources help, please write back with your site name and what steps you have tried and we can look into this further!

I’d appreciate you could guide me how to do it correctly, maybe it’s something that takes you a minute or so I’d assume, based on what it takes me to deploy to other services, just a couple of minutes in a very intuitive way. Whereas me hopelessly reading 23 blog entries doesn’t seem like a good idea.
I followed the steps in the user interface, as I do with other services I deployed my site to, what else is it to the process that I’m missing?

Hey @danieltkach

Based on the build setting in the screenshot provided, and the package.json it appears you are attempting to deploy a node server script as see via

Have you read through this support guide that explains what is and isn’t possible on Netlify?

If you are wishing to deploy an express JS project, there is a way as explained in this article