Page not found after successful Deploy and Publish

I am deploying a React app and the deploy is successful and ‘Site is live’, however I still get ‘Page not found’.
After reading other support tickets, I have discovered that the build does not have an index.html in the root of the project, though I’m not sure how to rectify this.

deploy settings:

Build logs

8:05:36 PM: Build ready to start

8:05:41 PM: build-image version: 9e0f207a27642d0115b1ca97cd5e8cebbe492f63

8:05:41 PM: build-image tag: v3.3.2

8:05:41 PM: buildbot version: 8727aab446158e7b8c8ad2e96fe74b0154505a4e

8:05:41 PM: Fetching cached dependencies

8:05:41 PM: Starting to download cache of 124.6MB

8:05:42 PM: Finished downloading cache in 901.139942ms

8:05:42 PM: Starting to extract cache

8:05:48 PM: Finished extracting cache in 6.04319043s

8:05:48 PM: Finished fetching cache in 6.99138984s

8:05:48 PM: Starting to prepare the repo for build

8:05:49 PM: Preparing Git Reference refs/heads/master

8:05:49 PM: Found netlify.toml. Overriding site configuration

8:05:49 PM: Different publish path detected, going to use the one specified in the toml file: ‘.’ versus ‘build’ in the site

8:05:49 PM: Different functions path detected, going to use the one specified in the toml file: ‘functions’ versus ‘’ in the site

8:05:49 PM: Creating functions prep folder

8:05:49 PM: Starting build script

8:05:49 PM: Installing dependencies

8:05:50 PM: Started restoring cached node version

8:05:52 PM: Finished restoring cached node version

8:05:53 PM: v10.16.3 is already installed.

8:05:54 PM: Now using node v10.16.3 (npm v6.9.0)

8:05:54 PM: Attempting ruby version 2.6.2, read from environment

8:05:56 PM: Using ruby version 2.6.2

8:05:56 PM: Using PHP version 5.6

8:05:56 PM: Started restoring cached node modules

8:05:56 PM: Finished restoring cached node modules

8:05:56 PM: Started restoring cached yarn cache

8:05:56 PM: Finished restoring cached yarn cache

8:05:57 PM: Installing NPM modules using Yarn version 1.17.0

8:05:58 PM: yarn install v1.17.0

8:05:58 PM: warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

8:05:58 PM: [1/5] Validating package.json…

8:05:58 PM: [2/5] Resolving packages…

8:05:59 PM: warning @reach/router > create-react-context > fbjs > core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.

8:06:00 PM: [3/5] Fetching packages…

8:06:21 PM: info fsevents@2.0.7: The platform “linux” is incompatible with this module.

8:06:21 PM: info “fsevents@2.0.7” is an optional dependency and failed compatibility check. Excluding it from installation.

8:06:21 PM: info fsevents@1.2.9: The platform “linux” is incompatible with this module.

8:06:21 PM: info “fsevents@1.2.9” is an optional dependency and failed compatibility check. Excluding it from installation.

8:06:21 PM: [4/5] Linking dependencies…

8:06:21 PM: warning “react-scripts > @typescript-eslint/eslint-plugin > tsutils@3.17.1” has unmet peer dependency “typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta”.

8:06:34 PM: [5/5] Building fresh packages…

8:06:35 PM: success Saved lockfile.

8:06:35 PM: Done in 36.93s.

8:06:35 PM: NPM modules installed using Yarn

8:06:35 PM: Started restoring cached go cache

8:06:35 PM: Finished restoring cached go cache

8:06:35 PM: unset GOOS;

8:06:35 PM: unset GOARCH;

8:06:35 PM: export GOROOT=‘/opt/buildhome/.gimme/versions/go1.12.linux.amd64’;

8:06:35 PM: export PATH=“/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}”;

8:06:35 PM: go version >&2;

8:06:35 PM: export GIMME_ENV=‘/opt/buildhome/.gimme/env/go1.12.linux.amd64.env’;

8:06:35 PM: go version go1.12 linux/amd64

8:06:35 PM: Installing missing commands

8:06:35 PM: Verify run directory

8:06:35 PM: Executing user command: npm run-script build

8:06:36 PM: > frontend@0.3.0 build /opt/build/repo

8:06:36 PM: > react-scripts build

8:06:37 PM: Creating an optimized production build…

8:06:59 PM: Compiled with warnings.

8:06:59 PM: ./src/App.js

8:06:59 PM: Line 1:27: ‘useEffect’ is defined but never used no-unused-vars

8:06:59 PM: Line 3:3: ‘Form’ is defined but never used no-unused-vars

8:06:59 PM: Line 5:3: ‘Container’ is defined but never used no-unused-vars

8:06:59 PM: Line 6:3: ‘Dropdown’ is defined but never used no-unused-vars

8:06:59 PM: Line 8:3: ‘TextArea’ is defined but never used no-unused-vars

8:06:59 PM: ./src/Redirect.js

8:06:59 PM: Line 1:8: ‘React’ is defined but never used no-unused-vars

8:06:59 PM: Line 8:12: ‘error’ is assigned a value but never used no-unused-vars

8:06:59 PM: ./src/index.js

8:06:59 PM: Line 8:8: ‘Redirect’ is defined but never used no-unused-vars

8:06:59 PM: Line 9:8: ‘NotFound’ is defined but never used no-unused-vars

8:06:59 PM: Search for the keywords to learn more about each warning.

8:06:59 PM: To ignore, add // eslint-disable-next-line to the line before.

8:06:59 PM: File sizes after gzip:

8:06:59 PM: 74.02 KB build/static/js/2.38c5a4ed.chunk.js

8:06:59 PM: 1.87 KB build/static/js/main.de692738.chunk.js

8:06:59 PM: 770 B build/static/js/runtime-main.5260fa24.js

8:06:59 PM: 615 B build/static/css/main.c03e6ae9.chunk.css

8:06:59 PM: The project was built assuming it is hosted at http://adumb.dev.

8:06:59 PM: You can control this with the homepage field in your package.json.

8:06:59 PM: The build folder is ready to be deployed.

8:06:59 PM: You may serve it with a static server:

8:06:59 PM: yarn global add serve

8:06:59 PM: serve -s build

8:06:59 PM: Find out more about deployment here:

8:06:59 PM: create-react-app/README.md at main · facebook/create-react-app · GitHub

8:06:59 PM: Function Dir: /opt/build/repo/functions

8:06:59 PM: Skipping functions preparation step: /opt/build/repo/functions not found

8:06:59 PM: Caching artifacts

8:06:59 PM: Started saving node modules

8:06:59 PM: Finished saving node modules

8:06:59 PM: Started saving yarn cache

8:06:59 PM: Finished saving yarn cache

8:06:59 PM: Started saving pip cache

8:06:59 PM: Finished saving pip cache

8:06:59 PM: Started saving emacs cask dependencies

8:06:59 PM: Finished saving emacs cask dependencies

8:06:59 PM: Started saving maven dependencies

8:06:59 PM: Finished saving maven dependencies

8:06:59 PM: Started saving boot dependencies

8:06:59 PM: Finished saving boot dependencies

8:06:59 PM: Started saving go dependencies

8:06:59 PM: Finished saving go dependencies

8:06:59 PM: Build script success

8:06:59 PM: Starting to deploy site from ‘.’

8:06:59 PM: Creating deploy tree

8:06:59 PM: 1 new files to upload

8:06:59 PM: 0 new functions to upload

8:07:00 PM: Starting post processing

8:07:00 PM: Post processing done

8:07:00 PM: Site is live

8:07:22 PM: Finished processing build request in 1m41.352218211s

Update:
changed the netlify.toml file and added publish = "build" under [build] and not the site is loading, however I’m just getting a blank page. time to debug

Hello! Currently have a site that is acting the same. Haven’t been able to find anything wrong in the code… Were you able to debug successfully?

Hi, @yoshi, and welcome to our Netlify community site.

The usual solutions for “page not found” after a success delpoy can be found here:

If that topic doesn’t help, please let us know.