[Support Guide] I’ve deployed my site but I still see "Page not found”

Hi, I deployed my app and get the “Page not found” error.

  • I looked at the deployment console, no errors showing
  • I downloaded the site zip file from my published deploy and everything is ok
  • index.html file is at the root of the zip file
  • I also deployed this zip file on a local server and the app is working properly

For some reason whenever I try to see the app live, it says “Page Not Found” and gives me 404 error page.

Here’s my deploy console

Build ready to start
9:59:57 PM: build-image version: 09c2cdcdf242cf2f57c9ee0fcad9d298fad9ad41
9:59:57 PM: build-image tag: v3.5.0
9:59:57 PM: buildbot version: 8df8a50b1177b0b57364d20e0ea150448924cebf
9:59:57 PM: Fetching cached dependencies
9:59:57 PM: Starting to download cache of 157.7MB
9:59:58 PM: Finished downloading cache in 809.288511ms
9:59:58 PM: Starting to extract cache
10:00:05 PM: Finished extracting cache in 7.403755856s
10:00:05 PM: Finished fetching cache in 8.262543236s
10:00:05 PM: Starting to prepare the repo for build
10:00:06 PM: Preparing Git Reference refs/heads/main
10:00:08 PM: Starting build script
10:00:08 PM: Installing dependencies
10:00:08 PM: Python version set to 2.7
10:00:08 PM: Started restoring cached node version
10:00:11 PM: Finished restoring cached node version
10:00:11 PM: v12.18.0 is already installed.
10:00:12 PM: Now using node v12.18.0 (npm v6.14.4)
10:00:12 PM: Started restoring cached build plugins
10:00:12 PM: Finished restoring cached build plugins
10:00:12 PM: Attempting ruby version 2.7.1, read from environment
10:00:14 PM: Using ruby version 2.7.1
10:00:14 PM: Using PHP version 5.6
10:00:14 PM: Started restoring cached node modules
10:00:14 PM: Finished restoring cached node modules
10:00:14 PM: Started restoring cached go cache
10:00:14 PM: Finished restoring cached go cache
10:00:14 PM: go version go1.14.4 linux/amd64
10:00:14 PM: go version go1.14.4 linux/amd64
10:00:14 PM: Installing missing commands
10:00:14 PM: Verify run directory
10:00:16 PM: ​
10:00:16 PM: ────────────────────────────────────────────────────────────────
10:00:16 PM:   Netlify Build                                                 
10:00:16 PM: ────────────────────────────────────────────────────────────────
10:00:16 PM: ​
10:00:16 PM: ❯ Version
10:00:16 PM:   @netlify/build 5.3.3
10:00:16 PM: ​
10:00:16 PM: ❯ Flags
10:00:16 PM:   deployId: 5fc4602b3f35bd0007787c57
10:00:16 PM:   mode: buildbot
10:00:16 PM: ​
10:00:16 PM: ❯ Current directory
10:00:16 PM:   /opt/build/repo
10:00:16 PM: ​
10:00:16 PM: ❯ Config file
10:00:16 PM:   No config file was defined: using default values.
10:00:16 PM: ​
10:00:16 PM: ❯ Context
10:00:16 PM:   production
10:00:16 PM: ​
10:00:16 PM: ────────────────────────────────────────────────────────────────
10:00:16 PM:   1. Build command from Netlify app                             
10:00:16 PM: ────────────────────────────────────────────────────────────────
10:00:16 PM: ​
10:00:16 PM: $ ng build
10:00:40 PM: Generating ES5 bundles for differential loading...
10:00:42 PM: ES5 bundle generation complete.
10:00:46 PM: chunk {polyfills} polyfills-es2015.js, polyfills-es2015.js.map (polyfills) 141 kB [initial] [rendered]
10:00:46 PM: chunk {polyfills-es5} polyfills-es5.js, polyfills-es5.js.map (polyfills-es5) 656 kB [initial] [rendered]
10:00:46 PM: chunk {runtime} runtime-es2015.js, runtime-es2015.js.map (runtime) 6.16 kB [entry] [rendered]
10:00:46 PM: chunk {runtime} runtime-es5.js, runtime-es5.js.map (runtime) 6.16 kB [entry] [rendered]
10:00:46 PM: chunk {vendor} vendor-es2015.js, vendor-es2015.js.map (vendor) 4.52 MB [initial] [rendered]
10:00:46 PM: chunk {vendor} vendor-es5.js, vendor-es5.js.map (vendor) 5.1 MB [initial] [rendered]
10:00:46 PM: chunk {styles} styles-es2015.js, styles-es2015.js.map (styles) 13.6 kB [initial] [rendered]
10:00:46 PM: chunk {styles} styles-es5.js, styles-es5.js.map (styles) 15.2 kB [initial] [rendered]
10:00:46 PM: chunk {main} main-es2015.js, main-es2015.js.map (main) 383 kB [initial] [rendered]
10:00:46 PM: chunk {main} main-es5.js, main-es5.js.map (main) 398 kB [initial] [rendered]
10:00:46 PM: Date: 2020-11-30T03:00:46.185Z - Hash: 33ee881cbd74137adbe3 - Time: 25910ms
10:00:46 PM: ​
10:00:46 PM: (build.command completed in 30s)
10:00:46 PM: ​
10:00:46 PM: ────────────────────────────────────────────────────────────────
10:00:46 PM:   Netlify Build Complete                                        
10:00:46 PM: ────────────────────────────────────────────────────────────────
10:00:46 PM: ​
10:00:46 PM: (Netlify Build completed in 30s)
10:00:46 PM: Caching artifacts
10:00:46 PM: Started saving node modules
10:00:46 PM: Finished saving node modules
10:00:46 PM: Started saving build plugins
10:00:46 PM: Finished saving build plugins
10:00:46 PM: Started saving pip cache
10:00:46 PM: Finished saving pip cache
10:00:46 PM: Started saving emacs cask dependencies
10:00:46 PM: Finished saving emacs cask dependencies
10:00:46 PM: Started saving maven dependencies
10:00:46 PM: Finished saving maven dependencies
10:00:46 PM: Started saving boot dependencies
10:00:46 PM: Finished saving boot dependencies
10:00:46 PM: Started saving go dependencies
10:00:46 PM: Finished saving go dependencies
10:00:46 PM: Build script success
10:00:46 PM: Starting to deploy site from 'dist'
10:00:46 PM: Creating deploy tree 
10:00:46 PM: Creating deploy upload records
10:00:46 PM: 4 new files to upload
10:00:46 PM: 0 new functions to upload
10:00:47 PM: Starting post processing
10:00:47 PM: Post processing - HTML
10:00:47 PM: Post processing - header rules
10:00:47 PM: Post processing - redirect rules
10:00:47 PM: Post processing done
10:00:47 PM: Site is live ✨
10:01:18 PM: Finished processing build request in 1m21.466479771s

default subdomain : https://demo-website-prints.netlify.app/

1 Like