Home
Support Forums

Myblog is successfully deploy but Portfolio page is not being found. I deploy from githup and manually but both gives same error

First page is working but when I click to go to second page it giver page not found error. I check the html but there is no issue
Netlify site names:
https://ozlemsblogmaualdeploy.netlify.app
https://ozlemsbloggithup.netlify.app

Deploy log from git cup
3:41:18 PM: Build ready to start
3:41:20 PM: build-image version: c6001ed68662a13e5deb24abec2b46058c58248a
3:41:20 PM: build-image tag: v3.9.0
3:41:20 PM: buildbot version: 911a6a7481961ce7cf8ffa063d242557afda5d8a
3:41:20 PM: Fetching cached dependencies
3:41:20 PM: Failed to fetch cache, continuing with build
3:41:20 PM: Starting to prepare the repo for build
3:41:21 PM: No cached dependencies found. Cloning fresh repo
3:41:21 PM: git clone GitHub - OZLEMCITCI/myresume
3:41:22 PM: Preparing Git Reference refs/heads/main
3:41:22 PM: Parsing package.json dependencies
3:41:23 PM: Starting build script
3:41:23 PM: Installing dependencies
3:41:23 PM: Python version set to 2.7
3:41:24 PM: v12.18.0 is already installed.
3:41:25 PM: Now using node v12.18.0 (npm v6.14.4)
3:41:25 PM: Started restoring cached build plugins
3:41:25 PM: Finished restoring cached build plugins
3:41:25 PM: Attempting ruby version 2.7.2, read from environment
3:41:26 PM: Using ruby version 2.7.2
3:41:27 PM: Using PHP version 5.6
3:41:27 PM: Started restoring cached node modules
3:41:27 PM: Finished restoring cached node modules
3:41:27 PM: Installing NPM modules using NPM version 6.14.4
3:42:08 PM: > core-js@2.6.12 postinstall /opt/build/repo/node_modules/babel-runtime/node_modules/core-js
3:42:08 PM: > node -e “try{require(’./postinstall’)}catch(e){}”
3:42:08 PM: > core-js@3.15.2 postinstall /opt/build/repo/node_modules/core-js
3:42:08 PM: > node -e “try{require(’./postinstall’)}catch(e){}”
3:42:08 PM: > core-js-pure@3.15.2 postinstall /opt/build/repo/node_modules/core-js-pure
3:42:08 PM: > node -e “try{require(’./postinstall’)}catch(e){}”
3:42:08 PM: > ejs@2.7.4 postinstall /opt/build/repo/node_modules/ejs
3:42:08 PM: > node ./postinstall.js
3:42:11 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
3:42:11 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
3:42:11 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
3:42:11 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
3:42:11 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
3:42:11 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
3:42:11 PM: added 1983 packages from 790 contributors and audited 1989 packages in 43.053s
3:42:13 PM: 151 packages are looking for funding
3:42:13 PM: run npm fund for details
3:42:13 PM: found 6 vulnerabilities (5 moderate, 1 high)
3:42:13 PM: run npm audit fix to fix them, or npm audit for details
3:42:13 PM: NPM modules installed
3:42:13 PM: Started restoring cached go cache
3:42:13 PM: Finished restoring cached go cache
3:42:13 PM: go version go1.14.4 linux/amd64
3:42:13 PM: go version go1.14.4 linux/amd64
3:42:13 PM: Installing missing commands
3:42:13 PM: Verify run directory
3:42:14 PM: ​
3:42:14 PM: ────────────────────────────────────────────────────────────────
3:42:14 PM: Netlify Build
3:42:14 PM: ────────────────────────────────────────────────────────────────
3:42:14 PM: ​
3:42:14 PM: ❯ Version
3:42:14 PM: @netlify/build 18.2.2
3:42:14 PM: ​
3:42:14 PM: ❯ Flags
3:42:14 PM: baseRelDir: true
3:42:14 PM: deployId: 6115876e4cb8922e9b0157b8
3:42:14 PM: ​
3:42:14 PM: ❯ Current directory
3:42:14 PM: /opt/build/repo
3:42:14 PM: ​
3:42:14 PM: ❯ Config file
3:42:14 PM: No config file was defined: using default values.
3:42:14 PM: ​
3:42:14 PM: ❯ Context
3:42:14 PM: production
3:42:14 PM: ​
3:42:14 PM: ────────────────────────────────────────────────────────────────
3:42:14 PM: 1. Build command from Netlify app
3:42:14 PM: ────────────────────────────────────────────────────────────────
3:42:14 PM: ​
3:42:14 PM: $ CI= npm run build
3:42:14 PM: > myresume@0.1.0 build /opt/build/repo
3:42:14 PM: > react-scripts build
3:42:16 PM: Creating an optimized production build…
3:43:19 PM: Compiled with warnings.
3:43:19 PM:
3:43:19 PM: src/pages/resume/Resume.js
3:43:19 PM: Line 14:10: ‘TextField’ is defined but never used no-unused-vars
3:43:19 PM: src/utils/resumeData.js
3:43:19 PM: Line 14:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
3:43:19 PM: Search for the keywords to learn more about each warning.
3:43:19 PM: To ignore, add // eslint-disable-next-line to the line before.
3:43:19 PM: File sizes after gzip:
3:43:19 PM: 95.03 KB build/static/js/2.709b2ac4.chunk.js
3:43:19 PM: 22.53 KB build/static/css/2.4be38407.chunk.css
3:43:19 PM: 5.94 KB build/static/js/main.6816652e.chunk.js
3:43:19 PM: 1.99 KB build/static/css/main.650603da.chunk.css
3:43:19 PM: 1.63 KB build/static/js/3.6934a34c.chunk.js
3:43:19 PM: 1.17 KB build/static/js/runtime-main.449d20f0.js
3:43:19 PM: The project was built assuming it is hosted at /.
3:43:19 PM: You can control this with the homepage field in your package.json.
3:43:19 PM: The build folder is ready to be deployed.
3:43:19 PM: You may serve it with a static server:
3:43:19 PM: npm install -g serve
3:43:19 PM: serve -s build
3:43:19 PM: Find out more about deployment here:
3:43:19 PM: Deployment | Create React App
3:43:19 PM: ​
3:43:19 PM: (build.command completed in 1m 5.5s)
3:43:19 PM: ​
3:43:19 PM: ────────────────────────────────────────────────────────────────
3:43:19 PM: 2. Deploy site
3:43:19 PM: ────────────────────────────────────────────────────────────────
3:43:19 PM: ​
3:43:19 PM: Starting to deploy site from ‘build’
3:43:19 PM: Creating deploy tree
3:43:19 PM: Creating deploy upload records
3:43:19 PM: 0 new files to upload
3:43:19 PM: 0 new functions to upload
3:43:19 PM: Site deploy was successfully initiated
3:43:19 PM: ​
3:43:19 PM: (Deploy site completed in 152ms)
3:43:19 PM: ​
3:43:19 PM: ────────────────────────────────────────────────────────────────
3:43:19 PM: Netlify Build Complete
3:43:19 PM: ────────────────────────────────────────────────────────────────
3:43:19 PM: ​
3:43:19 PM: (Netlify Build completed in 1m 5.8s)
3:43:19 PM: Starting post processing
3:43:19 PM: Post processing - HTML
3:43:19 PM: Post processing - header rules
3:43:20 PM: Post processing - redirect rules
3:43:20 PM: Post processing done
3:43:20 PM: Caching artifacts
3:43:20 PM: Started saving node modules
3:43:20 PM: Finished saving node modules
3:43:20 PM: Started saving build plugins
3:43:20 PM: Finished saving build plugins
3:43:20 PM: Started saving pip cache
3:43:20 PM: Site is live :sparkles:
3:43:20 PM: Finished saving pip cache
3:43:20 PM: Started saving emacs cask dependencies
3:43:20 PM: Finished saving emacs cask dependencies
3:43:20 PM: Started saving maven dependencies
3:43:20 PM: Finished saving maven dependencies
3:43:20 PM: Started saving boot dependencies
3:43:20 PM: Finished saving boot dependencies
3:43:20 PM: Started saving rust rustup cache
3:43:20 PM: Finished saving rust rustup cache
3:43:20 PM: Started saving go dependencies
3:43:20 PM: Finished saving go dependencies
3:43:22 PM: Build script success
3:43:42 PM: Finished processing build request in 2m22.004712753s

Hi @OZLEMCITCI

Visiting https://ozlemsbloggithup.netlify.app I see the portfolio page as well as the resume/home page and the Download CV button also works.

If deploying manually with a React App, you would need to build the site locally (e.g. npm run build) then deploy the built site (e.g. via drag and drop.)