Home
Support Forums

I deployed my site but it says page not found. Does anyone know why?

Hey guys. I’m using Parcel dist folder to deploy my website but when I deploy it, it is successful but when I click on the URL it just gives me a Page not found. Does anyone know what’s wrong with my files? I attached a screenshot of the info netlify gave me. Any help would be appreciated.

4:11:44 PM: Build ready to start
4:11:46 PM: build-image version: 3bcb38c35508b42e9121d4badfe6d8c66fd7a3f0
4:11:46 PM: build-image tag: v4.3.2
4:11:46 PM: buildbot version: 86a8ccd7e8014aa98caa6b65cf59be56b46bc31f
4:11:46 PM: Fetching cached dependencies
4:11:46 PM: Failed to fetch cache, continuing with build
4:11:46 PM: Starting to prepare the repo for build
4:11:47 PM: No cached dependencies found. Cloning fresh repo
4:11:47 PM: git clone https://github.com/DylanGangat/BargainTravels-without-Tailwindcss
4:11:48 PM: Preparing Git Reference refs/heads/main
4:11:48 PM: Parsing package.json dependencies
4:11:49 PM: Starting build script
4:11:49 PM: Installing dependencies
4:11:49 PM: Python version set to 2.7
4:11:50 PM: Downloading and installing node v16.12.0...
4:11:50 PM: Downloading https://nodejs.org/dist/v16.12.0/node-v16.12.0-linux-x64.tar.xz...
4:11:50 PM: Computing checksum with sha256sum
4:11:51 PM: Checksums matched!
4:11:54 PM: Now using node v16.12.0 (npm v8.1.0)
4:11:54 PM: Started restoring cached build plugins
4:11:54 PM: Finished restoring cached build plugins
4:11:54 PM: Attempting ruby version 2.7.2, read from environment
4:11:56 PM: Using ruby version 2.7.2
4:11:56 PM: Using PHP version 8.0
4:11:56 PM: Started restoring cached node modules
4:11:56 PM: Finished restoring cached node modules
4:11:56 PM: Installing NPM modules using NPM version 8.1.0
4:12:03 PM: npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
4:12:03 PM: npm WARN deprecated har-validator@5.1.5: this library is no longer supported
4:12:03 PM: npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
4:12:04 PM: npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
4:12:04 PM: npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
4:12:05 PM: npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
4:12:07 PM: npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
4:12:08 PM: npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
4:12:09 PM: npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
4:12:10 PM: npm WARN deprecated parcel-bundler@1.12.5: Parcel v1 is no longer maintained. Please migrate to v2, which is published under the 'parcel' package. See https://v2.parceljs.org/getting-started/migration for details.
4:12:11 PM: npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
4:12:12 PM: added 784 packages, and audited 785 packages in 15s
4:12:12 PM: 51 packages are looking for funding
4:12:12 PM:   run `npm fund` for details
4:12:12 PM: 30 vulnerabilities (13 moderate, 17 high)
4:12:12 PM: To address issues that do not require attention, run:
4:12:12 PM:   npm audit fix
4:12:12 PM: To address all issues (including breaking changes), run:
4:12:12 PM:   npm audit fix --force
4:12:12 PM: Run `npm audit` for details.
4:12:12 PM: NPM modules installed
4:12:12 PM: Started restoring cached go cache
4:12:12 PM: Finished restoring cached go cache
4:12:12 PM: go version go1.16.5 linux/amd64
4:12:12 PM: go version go1.16.5 linux/amd64
4:12:12 PM: Installing missing commands
4:12:12 PM: Verify run directory
4:12:14 PM: ​
4:12:14 PM: ────────────────────────────────────────────────────────────────
4:12:14 PM:   Netlify Build                                                 
4:12:14 PM: ────────────────────────────────────────────────────────────────
4:12:14 PM: ​
4:12:14 PM: ❯ Version
4:12:14 PM:   @netlify/build 18.17.6
4:12:14 PM: ​
4:12:14 PM: ❯ Flags
4:12:14 PM:   baseRelDir: true
4:12:14 PM:   buildId: 6171752022b9d41bfd5d6b23
4:12:14 PM:   deployId: 6171752022b9d41bfd5d6b25
4:12:14 PM: ​
4:12:14 PM: ❯ Current directory
4:12:14 PM:   /opt/build/repo
4:12:14 PM: ​
4:12:14 PM: ❯ Config file
4:12:14 PM:   No config file was defined: using default values.
4:12:14 PM: ​
4:12:14 PM: ❯ Context
4:12:14 PM:   production
4:12:14 PM: ​
4:12:14 PM: ────────────────────────────────────────────────────────────────
4:12:14 PM:   1. Build command from Netlify app                             
4:12:14 PM: ────────────────────────────────────────────────────────────────
4:12:14 PM: ​
4:12:14 PM: $ npm run build
4:12:14 PM: > new-folder@1.0.0 build
4:12:14 PM: > parcel build home-page.html
4:12:24 PM: ✨  Built in 8.63s.
4:12:24 PM: dist/hero-image-big.17e405ed.webp             84.02 KB    2.46s
4:12:24 PM: dist/sweatpants-mockup.9dcf4cbf.webp          72.61 KB    4.68s
4:12:24 PM: dist/style.5a867c3e.css.map                   53.55 KB     38ms
4:12:24 PM: dist/piggie-bank.b361d5d0.webp                41.66 KB    4.38s
4:12:24 PM: dist/jacket-navy.0577e195.webp                41.34 KB    743ms
4:12:24 PM: dist/sweatpants-grey.35e42f9d.webp            39.98 KB    752ms
4:12:24 PM: dist/t-shirt-grey.a4759d16.webp               39.29 KB    1.47s
4:12:24 PM: dist/pullover-pink.47131aae.webp              38.83 KB    493ms
4:12:24 PM: dist/pullover-white.23568905.webp             37.32 KB    2.65s
4:12:24 PM: dist/jacket-grey.59f4353a.webp                35.15 KB    463ms
4:12:24 PM: dist/sweatpants-charcoal.53226ee7.webp        33.76 KB    736ms
4:12:24 PM: dist/t-shirt-white.71157798.webp              33.52 KB    2.65s
4:12:24 PM: dist/t-shirt-maroon.fe61d02e.webp             33.38 KB    487ms
4:12:24 PM: dist/t-shirt-black.e280700a.webp              32.36 KB    1.47s
4:12:24 PM: dist/android-chrome-512x512.a13a35b4.png      31.11 KB    2.57s
4:12:24 PM: dist/sweatpants-white.8e442749.webp           30.14 KB    736ms
4:12:24 PM: dist/pullover-blue.62e46f11.webp              29.21 KB    492ms
4:12:24 PM: dist/sweatpants-black.d946ca05.webp           28.46 KB    752ms
4:12:24 PM: dist/lady3.0d49a1a3.webp                      27.46 KB    4.56s
4:12:24 PM: dist/pig-xxl.d69bf291.webp                    27.37 KB    2.56s
4:12:24 PM: dist/japan.24527655.webp                      26.67 KB    2.46s
4:12:24 PM: dist/pullover-black.efa8a0cd.webp             26.36 KB    989ms
4:12:24 PM: dist/style.5a867c3e.css                       25.31 KB    6.64s
4:12:24 PM: dist/guy1.f2086b29.webp                       24.51 KB    4.56s
4:12:24 PM: dist/safari-pinned-tab.30acd45e.svg           23.07 KB    2.56s
4:12:24 PM: dist/guy-in-flowers.ea2e817c.webp             21.38 KB    182ms
4:12:24 PM: dist/lady-with-laptop.5bea5954.webp           20.85 KB    4.38s
4:12:24 PM: dist/long-sleeve-shirt-white.05bce3a4.webp    20.51 KB    1.04s
4:12:24 PM: dist/long-sleeve-shirt-black.09ef17fe.webp    20.31 KB    1.04s
4:12:24 PM: dist/hoody-mockup.723034b5.webp               20.07 KB    4.68s
4:12:24 PM: dist/brazil.3bbbeb34.webp                     19.82 KB    2.45s
4:12:24 PM: dist/pullover-mockup.49877b8a.webp            19.54 KB    4.68s
4:12:24 PM: dist/customer-service.8057f3fa.webp           19.19 KB    4.38s
4:12:24 PM: dist/croatia.2f310377.webp                    19.08 KB    2.45s
4:12:24 PM: dist/jacket-light-blue.4c2ea5b3.webp          18.21 KB    743ms
4:12:24 PM: dist/lady1.2417f179.webp                      17.63 KB    4.57s
4:12:24 PM: dist/long-sleeve-shirt-grey.e2967c6d.webp     16.96 KB    1.04s
4:12:24 PM: dist/hoody-white.107e3e7b.webp                16.63 KB    2.65s
4:12:24 PM: dist/hoody-blue.44bde1ae.webp                 16.43 KB    479ms
4:12:24 PM: dist/hoody-pink.b06ce761.webp                 16.31 KB    478ms
4:12:24 PM: dist/jacket-black.3c812af9.webp                16.1 KB    743ms
4:12:24 PM: dist/hoody-black.c6a240ab.webp                 15.7 KB    479ms
4:12:24 PM: dist/t-shirt-mockup.4eaed34f.webp             15.68 KB    4.68s
4:12:24 PM: dist/office.5696890c.webp                     15.14 KB    4.38s
4:12:24 PM: dist/favicon.a72ea977.ico                     14.73 KB    2.56s
4:12:24 PM: dist/merchandise.bafe4d45.webp                12.86 KB    2.46s
4:12:24 PM: dist/long-sleeve-mockup.887154c2.webp         12.51 KB    4.68s
4:12:24 PM: dist/nytimes-icon.a4110e2a.svg                12.23 KB    2.56s
4:12:24 PM: dist/home-page.html                           11.93 KB    1.28s
4:12:24 PM: dist/jacket-mockup.7f887c15.webp              11.88 KB    4.68s
4:12:24 PM: dist/lady2.5a3075fa.webp                      11.82 KB    4.57s
4:12:24 PM: dist/egypt.a24732b5.webp                      11.16 KB    2.45s
4:12:24 PM: dist/guy2.919f68e4.webp                       11.09 KB    4.57s
4:12:24 PM: dist/about-page.html                          11.04 KB    1.46s
4:12:24 PM: dist/products/t-shirt-info.html               10.97 KB    4.35s
4:12:24 PM: dist/products/sweatpants-info.html            10.96 KB    4.38s
4:12:24 PM: dist/products/pullover-info.html              10.92 KB    4.35s
4:12:24 PM: dist/products/jacket-info.html                 10.9 KB    4.38s
4:12:24 PM: dist/products/hoody-info.html                 10.89 KB    4.36s
4:12:24 PM: dist/products/longsleeve-info.html            10.68 KB    4.30s
4:12:24 PM: dist/android-chrome-192x192.7cec08dd.png       9.65 KB    2.57s
4:12:24 PM: dist/shoppingCart.07368c59.js.map              9.39 KB     41ms
4:12:24 PM: dist/shop-page.html                            9.04 KB    1.52s
4:12:24 PM: dist/apple-touch-icon.7c05041e.png             7.96 KB    2.56s
4:12:24 PM: dist/shopping-cart-page.html                   7.74 KB    1.53s
4:12:24 PM: dist/products.2a0a6934.js.map                  7.57 KB     41ms
4:12:24 PM: dist/trips.13150555.js.map                     6.86 KB     41ms
4:12:24 PM: dist/trips-page.html                           6.52 KB    1.46s
4:12:24 PM: dist/guy3.2fd3922e.webp                        5.46 KB    4.55s
4:12:24 PM: dist/shoppingCart.07368c59.js                  4.85 KB    2.73s
4:12:24 PM: dist/trips.13150555.js                         4.43 KB    2.55s
4:12:24 PM: dist/lonely-planet-icon.39aeb510.svg           3.91 KB    2.57s
4:12:24 PM: dist/products.2a0a6934.js                      3.74 KB    5.34s
4:12:24 PM: dist/home.77440139.js.map                      2.96 KB     41ms
4:12:24 PM: dist/google-icon.a607296f.svg                  2.75 KB    2.57s
4:12:24 PM: dist/script.784452c0.js.map                    2.36 KB     23ms
4:12:24 PM: dist/home.77440139.js                          2.35 KB    3.96s
4:12:24 PM: dist/script.784452c0.js                        2.06 KB    2.54s
4:12:24 PM: dist/guy.997e5e23.webp                          1.9 KB    2.46s
4:12:24 PM: dist/favicon-32x32.e0482bd8.png                1.81 KB    2.56s
4:12:24 PM: dist/girl.ab560ec2.webp                        1.66 KB    2.46s
4:12:24 PM: dist/guy2.be87982f.webp                        1.52 KB    2.46s
4:12:24 PM: dist/favicon-16x16.6dbe73db.png                  952 B    2.56s
4:12:24 PM: dist/img/favicon-package/site.webmanifest        309 B    142ms
4:12:24 PM: dist/browserconfig.b952c849.xml                  273 B    2.56s
4:12:25 PM: ​
4:12:25 PM: (build.command completed in 10.8s)
4:12:25 PM: ​
4:12:25 PM: ────────────────────────────────────────────────────────────────
4:12:25 PM:   2. Deploy site                                                
4:12:25 PM: ────────────────────────────────────────────────────────────────
4:12:25 PM: ​
4:12:25 PM: Starting to deploy site from 'dist'
4:12:25 PM: Creating deploy tree 
4:12:25 PM: Creating deploy upload records
4:12:25 PM: 49 new files to upload
4:12:25 PM: 0 new functions to upload
4:12:27 PM: Site deploy was successfully initiated
4:12:27 PM: ​
4:12:27 PM: (Deploy site completed in 1.8s)
4:12:27 PM: ​
4:12:27 PM: ────────────────────────────────────────────────────────────────
4:12:27 PM:   Netlify Build Complete                                        
4:12:27 PM: ────────────────────────────────────────────────────────────────
4:12:27 PM: ​
4:12:27 PM: (Netlify Build completed in 12.8s)
4:12:27 PM: Starting post processing
4:12:27 PM: Post processing - HTML
4:12:27 PM: Caching artifacts
4:12:27 PM: Started saving node modules
4:12:27 PM: Finished saving node modules
4:12:27 PM: Started saving build plugins
4:12:27 PM: Finished saving build plugins
4:12:27 PM: Started saving pip cache
4:12:27 PM: Finished saving pip cache
4:12:27 PM: Started saving emacs cask dependencies
4:12:27 PM: Finished saving emacs cask dependencies
4:12:27 PM: Started saving maven dependencies
4:12:27 PM: Finished saving maven dependencies
4:12:27 PM: Started saving boot dependencies
4:12:27 PM: Finished saving boot dependencies
4:12:27 PM: Started saving rust rustup cache
4:12:27 PM: Finished saving rust rustup cache
4:12:27 PM: Started saving go dependencies
4:12:27 PM: Finished saving go dependencies
4:12:28 PM: Post processing - header rules
4:12:28 PM: Post processing - redirect rules
4:12:28 PM: Post processing done
4:12:28 PM: Site is live ✨
4:12:30 PM: Build script success
4:12:52 PM: Finished processing build request in 1m5.416241336s

Hi there,

Did you see this guide yet? This is the best place to start for “Page Not Found” issues.

If you are still seeing issues after following the troubleshooting steps in this guide as well as the comments that follow, please let us know! For further assistance we will require your site name, package.json, and an outline of the steps you tried. Thanks!