Home
Support Forums

Help with: Looks like you've followed a broken link or entered a URL that doesn't exist on this site

My page worked on host3000, but when I deployed it with Netlify I get this when I am adding or editing a blog (not when I delete a blog). The edit works once I refresh the page but the action is giving me this 404.

Here is my deployed log

10:10:46 PM: Build ready to start
10:10:48 PM: build-image version: 3bcb38c35508b42e9121d4badfe6d8c66fd7a3f0
10:10:48 PM: build-image tag: v4.3.2
10:10:48 PM: buildbot version: d82977f5ab056e59cd416c94ab05ba0d449dc63a
10:10:48 PM: Fetching cached dependencies
10:10:48 PM: Starting to download cache of 241.3MB
10:10:50 PM: Finished downloading cache in 2.100427032s
10:10:50 PM: Starting to extract cache
10:10:59 PM: Finished extracting cache in 9.266105517s
10:10:59 PM: Finished fetching cache in 11.482565834s
10:10:59 PM: Starting to prepare the repo for build
10:10:59 PM: Preparing Git Reference refs/heads/main
10:11:00 PM: Parsing package.json dependencies
10:11:01 PM: Starting build script
10:11:01 PM: Installing dependencies
10:11:01 PM: Python version set to 2.7
10:11:01 PM: Started restoring cached node version
10:11:04 PM: Finished restoring cached node version
10:11:05 PM: v16.11.1 is already installed.
10:11:05 PM: Now using node v16.11.1 (npm v8.0.0)
10:11:05 PM: Started restoring cached build plugins
10:11:05 PM: Finished restoring cached build plugins
10:11:05 PM: Attempting ruby version 2.7.2, read from environment
10:11:07 PM: Using ruby version 2.7.2
10:11:07 PM: Using PHP version 8.0
10:11:07 PM: Started restoring cached yarn cache
10:11:12 PM: Finished restoring cached yarn cache
10:11:13 PM: No yarn workspaces detected
10:11:13 PM: Started restoring cached node modules
10:11:13 PM: Finished restoring cached node modules
10:11:13 PM: Installing NPM modules using Yarn version 1.22.10
10:11:14 PM: yarn install v1.22.10
10:11:14 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.
10:11:14 PM: [1/4] Resolving packages…
10:11:15 PM: success Already up-to-date.
10:11:15 PM: Done in 0.85s.
10:11:15 PM: NPM modules installed using Yarn
10:11:15 PM: Started restoring cached go cache
10:11:15 PM: Finished restoring cached go cache
10:11:15 PM: go version go1.16.5 linux/amd64
10:11:15 PM: go version go1.16.5 linux/amd64
10:11:15 PM: Installing missing commands
10:11:15 PM: Verify run directory
10:11:17 PM: ​
10:11:17 PM: ────────────────────────────────────────────────────────────────
10:11:17 PM: Netlify Build
10:11:17 PM: ────────────────────────────────────────────────────────────────
10:11:17 PM: ​
10:11:17 PM: ❯ Version
10:11:17 PM: @netlify/build 18.17.5
10:11:17 PM: ​
10:11:17 PM: ❯ Flags
10:11:17 PM: baseRelDir: true
10:11:17 PM: buildId: 616f7aa68ade0900075fd7bb
10:11:17 PM: deployId: 616f7aa68ade0900075fd7bd
10:11:17 PM: ​
10:11:17 PM: ❯ Current directory
10:11:17 PM: /opt/build/repo
10:11:17 PM: ​
10:11:17 PM: ❯ Config file
10:11:17 PM: No config file was defined: using default values.
10:11:17 PM: ​
10:11:17 PM: ❯ Context
10:11:17 PM: production
10:11:17 PM: ​
10:11:17 PM: ────────────────────────────────────────────────────────────────
10:11:17 PM: 1. Build command from Netlify app
10:11:17 PM: ────────────────────────────────────────────────────────────────
10:11:17 PM: ​
10:11:17 PM: $ yarn build
10:11:17 PM: yarn run v1.22.10
10:11:17 PM: $ CI= react-scripts build
10:11:18 PM: Creating an optimized production build…
10:11:32 PM: Compiled with warnings.
10:11:32 PM:
10:11:32 PM: ./src/components/ListBlogs.js
10:11:32 PM: Line 12: ‘deleteBlog’ is assigned a value but never used no-unused-vars
10:11:32 PM: ./src/components/InputBlog.js
10:11:32 PM: Line 12: ‘response’ is assigned a value but never used no-unused-vars
10:11:32 PM: ./src/components/EditBlog.js
10:11:32 PM: Line 12: ‘response’ is assigned a value but never used no-unused-vars
10:11:32 PM: Search for the keywords to learn more about each warning.
10:11:32 PM: To ignore, add // eslint-disable-next-line to the line before.
10:11:32 PM: File sizes after gzip:
10:11:32 PM: 78.88 KB build/static/js/main.488c410c.js
10:11:32 PM: 25.13 KB build/static/css/main.8357066e.css
10:11:32 PM: 1.62 KB build/static/js/0.41132feb.chunk.js
10:11:32 PM: The project was built assuming it is hosted at the server root.
10:11:32 PM: You can control this with the homepage field in your package.json.
10:11:32 PM: For example, add this to build it for GitHub Pages:
10:11:32 PM: “homepage” : “http://myname.github.io/myapp”,
10:11:32 PM: The build folder is ready to be deployed.
10:11:32 PM: You may serve it with a static server:
10:11:32 PM: yarn global add serve
10:11:32 PM: serve -s build
10:11:32 PM: Find out more about deployment here:
10:11:32 PM: create-react-app/README.md at main · facebook/create-react-app · GitHub
10:11:32 PM: Done in 15.45s.
10:11:33 PM: ​
10:11:33 PM: (build.command completed in 15.7s)
10:11:33 PM: ​
10:11:33 PM: ────────────────────────────────────────────────────────────────
10:11:33 PM: 2. Deploy site
10:11:33 PM: ────────────────────────────────────────────────────────────────
10:11:33 PM: ​
10:11:33 PM: Starting to deploy site from ‘build’
10:11:33 PM: Creating deploy tree
10:11:33 PM: Creating deploy upload records
10:11:33 PM: 5 new files to upload
10:11:33 PM: 0 new functions to upload
10:11:33 PM: Site deploy was successfully initiated
10:11:33 PM: ​
10:11:33 PM: (Deploy site completed in 506ms)
10:11:33 PM: ​
10:11:33 PM: ────────────────────────────────────────────────────────────────
10:11:33 PM: Netlify Build Complete
10:11:33 PM: ────────────────────────────────────────────────────────────────
10:11:33 PM: ​
10:11:33 PM: (Netlify Build completed in 16.3s)
10:11:33 PM: Starting post processing
10:11:33 PM: Post processing - HTML
10:11:33 PM: Post processing - header rules
10:11:33 PM: Post processing - redirect rules
10:11:33 PM: Post processing done
10:11:33 PM: Caching artifacts
10:11:33 PM: Started saving node modules
10:11:33 PM: Finished saving node modules
10:11:33 PM: Started saving build plugins
10:11:33 PM: Finished saving build plugins
10:11:33 PM: Started saving yarn cache
10:11:33 PM: Site is live :sparkles:
10:11:38 PM: Finished saving yarn cache
10:11:38 PM: Started saving pip cache
10:11:38 PM: Finished saving pip cache
10:11:38 PM: Started saving emacs cask dependencies
10:11:38 PM: Finished saving emacs cask dependencies
10:11:38 PM: Started saving maven dependencies
10:11:39 PM: Finished saving maven dependencies
10:11:39 PM: Started saving boot dependencies
10:11:39 PM: Finished saving boot dependencies
10:11:39 PM: Started saving rust rustup cache
10:11:39 PM: Finished saving rust rustup cache
10:11:39 PM: Started saving go dependencies
10:11:39 PM: Finished saving go dependencies
10:11:39 PM: Build script success
10:12:19 PM: Finished processing build request in 1m31.011569396s

hi there, you might check and see if this contains anything helpful:

I don’t see anything in the reply.

Oh, I had to reply to see the reply.

I can’t see the reply.

Hi, @marsanderson. There are two replies above, one saying you don’t see the reply and one that you do.

I do believe the solution will be the one @perry mentioned about (and is copied again below):

If that doesn’t resolve the issue or if there are any other questions, please let us know.