I am deploying a React/Node app and I am facing this issue when I refresh the page:
Page Not Found
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.
Back to our site
If this is your site, and you weren’t expecting a 404 for this path, please visit Netlify’s “page not found” support guide for troubleshooting tips.
- netlify site name:
gifted-antelope-58b104.netlify.app
- custom domain: code.anablock.com
- Error: POST https://prod--candid-meringue-84faf6.netlify.app/api/auth/signin 404
- FULL build log:
5:50:36 PM: build-image version: d55944c047ef0aee2ac01971edde72cb2a50acfe (focal)
5:50:36 PM: build-image tag: v4.16.1
5:50:36 PM: buildbot version: a1ec8307ac4591dcd155485cdfce7d7be735ab26
5:50:36 PM: Fetching cached dependencies
5:50:36 PM: Starting to download cache of 130.2MB
5:50:37 PM: Finished downloading cache in 1.726363666s
5:50:37 PM: Starting to extract cache
5:50:39 PM: Finished extracting cache in 1.545888027s
5:50:39 PM: Finished fetching cache in 3.325530375s
5:50:39 PM: Starting to prepare the repo for build
5:50:39 PM: Preparing Git Reference refs/heads/prod
5:50:41 PM: Parsing package.json dependencies
5:50:42 PM: Starting build script
5:50:42 PM: Installing dependencies
5:50:42 PM: Python version set to 2.7
5:50:42 PM: Started restoring cached node version
5:50:43 PM: Finished restoring cached node version
5:50:43 PM: v16.19.0 is already installed.
5:50:43 PM: Now using node v16.19.0 (npm v8.19.3)
5:50:43 PM: Enabling node corepack
5:50:43 PM: Started restoring cached build plugins
5:50:43 PM: Finished restoring cached build plugins
5:50:43 PM: Attempting ruby version 2.7.2, read from environment
5:50:44 PM: Using ruby version 2.7.2
5:50:44 PM: Using PHP version 8.0
5:50:44 PM: No npm workspaces detected
5:50:44 PM: Started restoring cached node modules
5:50:44 PM: Finished restoring cached node modules
5:50:44 PM: Started restoring cached go cache
5:50:44 PM: Finished restoring cached go cache
5:50:46 PM: go version go1.19.4 linux/amd64
5:50:46 PM: Detected 1 framework(s)
5:50:46 PM: “create-react-app” at version “4.0.3”
5:50:46 PM: Installing missing commands
5:50:46 PM: Verify run directory
5:50:46 PM: Section completed: initializing
5:50:47 PM:
5:50:47 PM: Netlify Build
5:50:47 PM: ────────────────────────────────────────────────────────────────
5:50:47 PM:
5:50:47 PM: ❯ Version
5:50:47 PM: @netlify/build 29.4.0
5:50:47 PM:
5:50:47 PM: ❯ Flags
5:50:47 PM: baseRelDir: true
5:50:47 PM: buildId: 63b4db6a88c0e700089dc206
5:50:47 PM: deployId: 63b4db6a88c0e700089dc208
5:50:47 PM:
5:50:47 PM: ❯ Current directory
5:50:47 PM: /opt/build/repo
5:50:47 PM:
5:50:47 PM: ❯ Config file
5:50:47 PM: No config file was defined: using default values.
5:50:47 PM:
5:50:47 PM: ❯ Context
5:50:47 PM: production
5:50:47 PM:
5:50:47 PM: 1. Build command from Netlify app
5:50:47 PM: ────────────────────────────────────────────────────────────────
5:50:47 PM:
5:50:47 PM: $ npm run build
5:50:47 PM: > openai-template@1.0.0 build
5:50:47 PM: > react-app-rewired build
5:50:49 PM: Creating an optimized production build…
5:51:00 PM: Compiled successfully.
5:51:00 PM:
5:51:00 PM: File sizes after gzip:
5:51:00 PM: 448.2 KB (-218 B) build/static/js/main.7f630ee1.js
5:51:00 PM: 1.63 KB build/static/js/1.0974d467.chunk.js
5:51:00 PM: 705 B (+1 B) build/static/css/main.7d036247.css
5:51:00 PM: The project was built assuming it is hosted at /.
5:51:00 PM: You can control this with the homepage field in your package.json.
5:51:00 PM: The build folder is ready to be deployed.
5:51:00 PM: Starting post processing
5:51:00 PM: You may serve it with a static server:
5:51:00 PM: npm install -g serve
5:51:00 PM: serve -s build
5:51:00 PM: Post processing - HTML
5:51:00 PM: Find out more about deployment here:
5:51:00 PM: Deployment | Create React App
5:51:00 PM:
5:51:00 PM: Post processing - header rules
5:51:00 PM: (build.command completed in 12.5s)
5:51:00 PM:
5:51:00 PM: 2. Deploy site
5:51:00 PM: ────────────────────────────────────────────────────────────────
5:51:00 PM: Post processing - redirect rules
5:51:00 PM:
5:51:00 PM: Starting to deploy site from ‘build’
5:51:00 PM: Creating deploy tree
5:51:00 PM: Post processing done
5:51:00 PM: 0 new files to upload
5:51:00 PM: 0 new functions to upload
5:51:00 PM: Section completed: deploying
5:51:01 PM: Section completed: postprocessing
5:51:00 PM: Site deploy was successfully initiated
5:51:00 PM:
5:51:00 PM: (Deploy site completed in 83ms)
5:51:00 PM:
5:51:00 PM: A “_redirects” file is present in the repository but is missing in the publish directory “build”.
5:51:00 PM:
5:51:00 PM: Netlify Build Complete
5:51:00 PM: ────────────────────────────────────────────────────────────────
5:51:00 PM:
5:51:00 PM: (Netlify Build completed in 12.6s)
5:51:00 PM: Caching artifacts
5:51:00 PM: Started saving node modules
5:51:00 PM: Finished saving node modules
5:51:00 PM: Started saving build plugins
5:51:00 PM: Finished saving build plugins
5:51:00 PM: Started saving pip cache
5:51:00 PM: Finished saving pip cache
5:51:00 PM: Started saving emacs cask dependencies
5:51:00 PM: Finished saving emacs cask dependencies
5:51:00 PM: Started saving maven dependencies
5:51:00 PM: Finished saving maven dependencies
5:51:00 PM: Started saving boot dependencies
5:51:00 PM: Finished saving boot dependencies
5:51:00 PM: Started saving rust rustup cache
5:51:00 PM: Finished saving rust rustup cache
5:51:00 PM: Started saving go dependencies
5:51:00 PM: Finished saving go dependencies
5:51:00 PM: Build script success
5:51:00 PM: Section completed: building
5:51:01 PM: Uploading Cache of size 129.6MB
5:51:02 PM: Section completed: cleanup
5:51:02 PM: Finished processing build request in 26.499164062s
5:51:04 PM: Site is live