I am getting a “Page not found” after deployment. I’ve seen the other support links and I made sure I had an index.html built in the build folder. I have a build path specified. And Netlify is running the build command successfully “quasar build” because I downloaded a copy of the deployment and it looks fine.
Is there any specific config that I need to have set for quasar apps? Can anyone debug my deployment log? Thank you very much
12:49:29 PM: Build ready to start
12:49:32 PM: build-image version: 9cade8af58c2cf3a17a1e9433d2e979149488837
12:49:32 PM: build-image tag: v3.3.5
12:49:32 PM: buildbot version: 2d05064ce3dd2eb95d282a24602ab707dd9581e8
12:49:32 PM: Fetching cached dependencies
12:49:32 PM: Starting to download cache of 174.0MB
12:49:33 PM: Finished downloading cache in 1.03836997s
12:49:33 PM: Starting to extract cache
12:49:40 PM: Finished extracting cache in 6.664579658s
12:49:40 PM: Finished fetching cache in 7.789314928s
12:49:40 PM: Starting to prepare the repo for build
12:49:40 PM: Preparing Git Reference refs/heads/master
12:49:40 PM: Starting build script
12:49:40 PM: Installing dependencies
12:49:41 PM: Started restoring cached node version
12:49:43 PM: Finished restoring cached node version
12:49:44 PM: v10.18.0 is already installed.
12:49:45 PM: Now using node v10.18.0 (npm v6.13.4)
12:49:45 PM: Attempting ruby version 2.6.2, read from environment
12:49:47 PM: Using ruby version 2.6.2
12:49:47 PM: Using PHP version 5.6
12:49:47 PM: Started restoring cached node modules
12:49:47 PM: Finished restoring cached node modules
12:49:48 PM: Started restoring cached go cache
12:49:48 PM: Finished restoring cached go cache
12:49:48 PM: unset GOOS;
12:49:48 PM: unset GOARCH;
12:49:48 PM: export GOROOT=‘/opt/buildhome/.gimme/versions/go1.12.linux.amd64’;
12:49:48 PM: export PATH=“/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}”;
12:49:48 PM: go version >&2;
12:49:48 PM: export GIMME_ENV=‘/opt/buildhome/.gimme/env/go1.12.linux.amd64.env’;
12:49:48 PM: go version go1.12 linux/amd64
12:49:48 PM: Installing missing commands
12:49:48 PM: Verify run directory
12:49:48 PM: Executing user command: quasar build
12:49:48 PM: Build mode… spa
12:49:48 PM: Pkg quasar… v1.5.9
12:49:48 PM: Pkg @quasar/app… v1.4.1
12:49:48 PM: Debugging… no
12:49:48 PM: Publishing… no
12:49:49 PM: app:extension Running “@quasar/icon-genie” Quasar App Extension… +0ms
12:49:49 PM: app:quasar-conf Reading quasar.conf.js +7ms
12:49:50 PM: app:webpack Extending SPA Webpack config +842ms
12:49:50 PM: app:artifacts Cleaned build artifact: “/opt/build/repo/dist/spa” +4ms
12:49:50 PM: app:generator Generating Webpack entry point +0ms
12:49:50 PM: app:build Extension(@quasar/icon-genie): Running beforeBuild hook… +3ms
12:49:50 PM: Building SPA favicons
12:49:51 PM: Building SPA SVG
12:49:51 PM: /
12:49:51 PM: -
12:49:52 PM: Building SPA icons
12:49:52 PM:
12:49:52 PM: /
12:49:52 PM: |
12:49:52 PM: -
12:49:52 PM:
12:49:52 PM: |
12:49:52 PM: /
12:49:52 PM: -
12:49:53 PM:
12:49:53 PM: Minifying assets with pngquant
12:49:53 PM: |
12:49:53 PM: Icon Genie Finished SPA
12:49:53 PM: app:extension-manager Updating /quasar.extensions.json for “@quasar/icon-genie” extension … +3s
12:49:53 PM: app:build Building… +6ms
12:49:53 PM: app:progress Compiling SPA… +255ms
12:50:08 PM: app:progress Compiled SPA in ~15s +15s
12:50:08 PM: app:artifacts Added build artifact “/opt/build/repo/dist/spa” +1ms
12:50:08 PM: Version: webpack 4.41.2
12:50:08 PM: Time: 14846ms
12:50:08 PM: Built at: 12/29/2019 5:50:08 PM
12:50:08 PM: Asset Size Chunks Chunk Names
12:50:08 PM: css/app.acaf6e3a.css 292 KiB app [emitted] [immutable] app
12:50:08 PM: fonts/KFOkCnqEu92Fr1MmgVxIIzQ.5cb7edfc.woff 19.9 KiB [emitted]
12:50:08 PM: fonts/KFOlCnqEu92Fr1MmEU9fBBc-.87284894.woff 20 KiB [emitted]
12:50:08 PM: fonts/KFOlCnqEu92Fr1MmSU5fBBc-.b00849e0.woff 19.9 KiB [emitted]
12:50:08 PM: fonts/KFOlCnqEu92Fr1MmWUlfBBc-.adcde98f.woff 19.9 KiB [emitted]
12:50:08 PM: fonts/KFOlCnqEu92Fr1MmYUtfBBc-.bb1e4dc6.woff 19.9 KiB [emitted]
12:50:08 PM: fonts/KFOmCnqEu92Fr1Mu4mxM.60fa3c06.woff 19.8 KiB [emitted]
12:50:08 PM: fonts/fa-brands-400.c5e0f14f.woff 86.4 KiB [emitted]
12:50:08 PM: fonts/fa-brands-400.cccc9d29.woff2 73.6 KiB [emitted]
12:50:08 PM: fonts/fa-regular-400.c4f508e7.woff 16.4 KiB [emitted]
12:50:08 PM: fonts/fa-regular-400.f5f2566b.woff2 13.3 KiB [emitted]
12:50:08 PM: fonts/fa-solid-900.333bae20.woff 96.1 KiB [emitted]
12:50:08 PM: fonts/fa-solid-900.44d537ab.woff2 74 KiB [emitted]
12:50:08 PM: fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.29b882f0.woff 77.7 KiB [emitted]
12:50:08 PM: fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.0509ab09.woff2 59.4 KiB [emitted]
12:50:08 PM: fonts/ionicons.96f1c901.woff2 49.4 KiB [emitted]
12:50:08 PM: fonts/ionicons.99b86349.woff 64.4 KiB [emitted]
12:50:08 PM: fonts/shopping_script_demo.d6ef5646.woff 11 KiB [emitted]
12:50:08 PM: index.html 3.17 KiB [emitted]
12:50:08 PM: js/4b47640d.53053b71.js 12 KiB 4b47640d [emitted] [immutable]
12:50:08 PM: js/app.cd867bb6.js 282 KiB app [emitted] [immutable] app
12:50:08 PM: js/runtime.dc9d55d2.js 2.26 KiB runtime [emitted] [immutable] runtime
12:50:08 PM: js/vendor.8ecdea4e.js 1.44 MiB vendor [emitted] [immutable] vendor
12:50:08 PM: statics/app-logo-128x128.png 5.63 KiB [emitted]
12:50:08 PM: statics/icons/apple-icon-120x120.png 4.9 KiB [emitted]
12:50:08 PM: statics/icons/apple-icon-152x152.png 7.72 KiB [emitted]
12:50:08 PM: statics/icons/apple-icon-167x167.png 7.32 KiB [emitted]
12:50:08 PM: statics/icons/apple-icon-180x180.png 9.01 KiB [emitted]
12:50:08 PM: statics/icons/favicon-16x16.png 483 bytes [emitted]
12:50:08 PM: statics/icons/favicon-32x32.png 828 bytes [emitted]
12:50:08 PM: statics/icons/favicon-96x96.png 3.47 KiB [emitted]
12:50:08 PM: statics/icons/favicon.ico 42.9 KiB [emitted]
12:50:08 PM: statics/icons/icon-128x128.png 5.63 KiB [emitted]
12:50:08 PM: statics/icons/icon-192x192.png 9.85 KiB [emitted]
12:50:08 PM: statics/icons/icon-256x256.png 12.6 KiB [emitted]
12:50:08 PM: statics/icons/icon-384x384.png 25 KiB [emitted]
12:50:08 PM: statics/icons/icon-512x512.png 40.1 KiB [emitted]
12:50:08 PM: statics/icons/ms-icon-144x144.png 6.95 KiB [emitted]
12:50:08 PM: statics/icons/safari-pinned-tab.svg 9.32 KiB [emitted]
12:50:08 PM: Entrypoint app = js/runtime.dc9d55d2.js js/vendor.8ecdea4e.js css/app.acaf6e3a.css js/app.cd867bb6.js
12:50:08 PM: Build succeeded
12:50:08 PM: Build mode… spa
12:50:08 PM: Pkg quasar… v1.5.9
12:50:08 PM: Pkg @quasar/app… v1.4.1
12:50:08 PM: Debugging… no
12:50:08 PM: Publishing… no
12:50:08 PM: ==================
12:50:08 PM: Output folder… /opt/build/repo/dist/spa
12:50:08 PM: Tip: Built files are meant to be served over an HTTP server
12:50:08 PM: Opening index.html over file:// won’t work
12:50:08 PM: Tip: You can use “$ quasar serve” command to create a web server,
12:50:08 PM: both for testing or production. Type “$ quasar serve -h” for
12:50:08 PM: parameters. Also, an npm script (usually named “start”) can
12:50:08 PM: be added for deployment environments.
12:50:08 PM: If you’re using Vue Router “history” mode, don’t forget to
12:50:08 PM: specify the “–history” parameter: “$ quasar serve --history”
12:50:09 PM: Skipping functions preparation step: no functions directory set
12:50:09 PM: Caching artifacts
12:50:09 PM: Started saving node modules
12:50:09 PM: Finished saving node modules
12:50:09 PM: Started saving pip cache
12:50:09 PM: Finished saving pip cache
12:50:09 PM: Started saving emacs cask dependencies
12:50:09 PM: Finished saving emacs cask dependencies
12:50:09 PM: Started saving maven dependencies
12:50:09 PM: Finished saving maven dependencies
12:50:09 PM: Started saving boot dependencies
12:50:09 PM: Finished saving boot dependencies
12:50:09 PM: Started saving go dependencies
12:50:09 PM: Finished saving go dependencies
12:50:09 PM: Build script success
12:50:09 PM: Starting to deploy site from ‘dist’
12:50:09 PM: Creating deploy tree
12:50:09 PM: 0 new files to upload
12:50:09 PM: Starting post processing
12:50:09 PM: 0 new functions to upload
12:50:09 PM: Post processing done
12:50:10 PM: Site is live
12:50:39 PM: Finished processing build request in 1m6.866462966s
I fix my error by creating a file _redirects without a file extension to the public directory. inside the _redirects is the code below
/* /index.html 200
Hi, @Aladdin. While I do believe that the redirect rule above fixed your issue, I don’t think it actually is the answer to the question in this topic. This is a topic about deploying at Netlify using Quasar and I don’t see any of your sites using Quasar.
However, if you are using Quasar, please let us know which site this was about (using the site’s Netlify subdomain or API ID) and we’ll take another look.
Hey @luke I’m having an issue and I found this can help me understand how to resolve? For example if I got to /register it shows a different 404 page than default quasar. I’m using history mode in quasar. Here is my id: quiet-tanuki-5cb37f
Hi @adgower , welcome to the forums thanks so much for reaching out. Did you define a custom 404 page in your Quasar site.
I found this documentation: can you enable verbose mode and to get more information about the error you are experiencing? This will help with further debugging:
@SamO yes I have a 404 page. I was reading that maybe I need to add a _redirects file? I don’t understand where to add this if only the dist/spa is deployed to production?