After deploying a next.js site to netlify, I only see Page not found.
- domain: legekurs.netlify.app
- github source: GitHub - losol/eventuras: Asp.net core event management solution. In development now, using agile development. , the fronted is in the src/Eventuras.WebClient folder
- plugins: Essential Next.js
Build log:
10:48:53 PM: Build ready to start
10:48:55 PM: build-image version: 3571f0130496395a23bffe9820bc78b4f73a6234
10:48:55 PM: build-image tag: v3.7.0
10:48:55 PM: buildbot version: b8a7cb2ab30309dc791e77b97759136f817b5561
10:48:55 PM: Fetching cached dependencies
10:48:55 PM: Starting to download cache of 129.7MB
10:48:56 PM: Finished downloading cache in 875.748178ms
10:48:56 PM: Starting to extract cache
10:49:01 PM: Finished extracting cache in 4.447141531s
10:49:01 PM: Finished fetching cache in 5.378388964s
10:49:01 PM: Starting to prepare the repo for build
10:49:01 PM: Preparing Git Reference refs/heads/master
10:49:02 PM: Parsing package.json dependencies
10:49:03 PM: Starting build script
10:49:03 PM: Installing dependencies
10:49:03 PM: Python version set to 2.7
10:49:04 PM: Started restoring cached node version
10:49:07 PM: Finished restoring cached node version
10:49:07 PM: v12.18.0 is already installed.
10:49:08 PM: Now using node v12.18.0 (npm v6.14.4)
10:49:08 PM: Started restoring cached build plugins
10:49:08 PM: Finished restoring cached build plugins
10:49:08 PM: Attempting ruby version 2.7.1, read from environment
10:49:10 PM: Using ruby version 2.7.1
10:49:10 PM: Using PHP version 5.6
10:49:10 PM: Started restoring cached yarn cache
10:49:10 PM: Finished restoring cached yarn cache
10:49:10 PM: Started restoring cached node modules
10:49:10 PM: Finished restoring cached node modules
10:49:11 PM: Installing NPM modules using Yarn version 1.22.4
10:49:11 PM: yarn install v1.22.4
10:49:11 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:49:11 PM: [1/4] Resolving packages...
10:49:12 PM: [2/4] Fetching packages...
10:49:25 PM: info fsevents@2.3.2: The platform "linux" is incompatible with this module.
10:49:26 PM: info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
10:49:26 PM: [3/4] Linking dependencies...
10:49:26 PM: warning " > @chakra-ui/icons@1.0.7" has unmet peer dependency "@chakra-ui/system@>=1.0.0".
10:49:26 PM: warning "@chakra-ui/icons > @chakra-ui/icon@1.1.3" has unmet peer dependency "@chakra-ui/system@>=1.0.0".
10:49:26 PM: warning "@emotion/styled > @emotion/babel-plugin@11.1.2" has unmet peer dependency "@babel/core@^7.0.0".
10:49:26 PM: warning "@emotion/styled > @emotion/babel-plugin > @babel/plugin-syntax-jsx@7.12.1" has unmet peer dependency "@babel/core@^7.0.0-0".
10:49:26 PM: warning " > @typescript-eslint/eslint-plugin@4.18.0" has unmet peer dependency "eslint@^5.0.0 || ^6.0.0 || ^7.0.0".
10:49:26 PM: warning "@typescript-eslint/eslint-plugin > @typescript-eslint/experimental-utils@4.18.0" has unmet peer dependency "eslint@*".
10:49:26 PM: warning " > @typescript-eslint/parser@4.18.0" has unmet peer dependency "eslint@^5.0.0 || ^6.0.0 || ^7.0.0".
10:49:26 PM: warning " > eslint-plugin-simple-import-sort@7.0.0" has unmet peer dependency "eslint@>=5.0.0".
10:49:31 PM: [4/4] Building fresh packages...
10:49:31 PM: success Saved lockfile.
10:49:31 PM: Done in 20.17s.
10:49:32 PM: NPM modules installed using Yarn
10:49:32 PM: Started restoring cached go cache
10:49:32 PM: Finished restoring cached go cache
10:49:32 PM: go version go1.14.4 linux/amd64
10:49:32 PM: go version go1.14.4 linux/amd64
10:49:32 PM: Installing missing commands
10:49:32 PM: Verify run directory
10:49:34 PM: β
10:49:34 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:49:34 PM: Netlify Build
10:49:34 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:49:34 PM: β
10:49:34 PM: β― Version
10:49:34 PM: @netlify/build 9.11.4
10:49:34 PM: β
10:49:34 PM: β― Flags
10:49:34 PM: apiHost: api.netlify.com
10:49:34 PM: cacheDir: /opt/build/cache
10:49:34 PM: deployId: 605910c590aa921f12cc1f20
10:49:34 PM: mode: buildbot
10:49:34 PM: testOpts:
10:49:34 PM: silentLingeringProcesses: ''
10:49:34 PM: β
10:49:34 PM: β― Current directory
10:49:34 PM: /opt/build/repo/src/Eventuras.WebClient
10:49:34 PM: β
10:49:34 PM: β― Config file
10:49:34 PM: No config file was defined: using default values.
10:49:34 PM: β
10:49:34 PM: β― Context
10:49:34 PM: production
10:49:34 PM: β
10:49:34 PM: β― Installing plugins
10:49:34 PM: - @netlify/plugin-nextjs@3.0.3
10:49:57 PM: β
10:49:57 PM: β― Loading plugins
10:49:57 PM: - @netlify/plugin-nextjs@3.0.3 from Netlify app
10:49:58 PM: β
10:49:58 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:49:58 PM: 1. onPreBuild command from @netlify/plugin-nextjs
10:49:58 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:49:58 PM: β
10:49:58 PM: Static HTML export Next.js projects do not require this plugin. Check your project's build command for 'next export'.
β
10:49:58 PM: (@netlify/plugin-nextjs onPreBuild completed in 15ms)
10:49:58 PM: β
10:49:58 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:49:58 PM: 2. Build command from Netlify app
10:49:58 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:49:58 PM: β
10:49:58 PM: $ next build
10:49:59 PM: warn - No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache
10:49:59 PM: info - Creating an optimized production build...
10:50:55 PM: info - Compiled successfully
10:50:55 PM: info - Collecting page data...
10:51:00 PM: info - Generating static pages (0/9)
10:51:04 PM: info - Generating static pages (2/9)
10:51:04 PM: info - Generating static pages (4/9)
10:51:04 PM: info - Generating static pages (6/9)
10:51:05 PM: info - Generating static pages (9/9)
10:51:05 PM: info - Finalizing page optimization...
10:51:05 PM: Page Size First Load JS
10:51:05 PM: β β / (ISR: 1 Seconds) 3.62 kB 165 kB
10:51:05 PM: β /_app 0 B 106 kB
10:51:05 PM: β β /404 3.03 kB 109 kB
10:51:05 PM: β β /admin 1.19 kB 162 kB
10:51:05 PM: β β /admin/event/[id] 18.8 kB 180 kB
10:51:05 PM: β Ξ» /api/auth/[...nextauth] 0 B 106 kB
10:51:05 PM: β Ξ» /api/getEventurasData 0 B 106 kB
10:51:05 PM: β β /event/[id] 816 B 162 kB
10:51:05 PM: β β /event/2
10:51:05 PM: β β /event/4
10:51:05 PM: β β /user 785 B 162 kB
10:51:05 PM: β β /user/profile 997 B 162 kB
10:51:05 PM: + First Load JS shared by all 106 kB
10:51:05 PM: β chunks/commons.73473c.js 13.6 kB
10:51:05 PM: β chunks/f8d5c98248609c76133cea53b3963eea796df3f2.57071e.js 24.7 kB
10:51:05 PM: β chunks/framework.e25a57.js 42.3 kB
10:51:05 PM: β chunks/main.dd4dca.js 6.59 kB
10:51:05 PM: β chunks/pages/_app.2352b9.js 17.8 kB
10:51:05 PM: β chunks/webpack.d39272.js 1.22 kB
10:51:05 PM: Ξ» (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
10:51:05 PM: β (Static) automatically rendered as static HTML (uses no initial props)
10:51:05 PM: β (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
10:51:05 PM: (ISR) incremental static regeneration (uses revalidate in getStaticProps)
10:51:06 PM: β
10:51:06 PM: (build.command completed in 1m 8s)
10:51:06 PM: β
10:51:06 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:51:06 PM: 3. onBuild command from @netlify/plugin-nextjs
10:51:06 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:51:06 PM: β
10:51:06 PM: Static HTML export Next.js projects do not require this plugin. Check your project's build command for 'next export'.
β
10:51:06 PM: (@netlify/plugin-nextjs onBuild completed in 5ms)
10:51:06 PM: β
10:51:06 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:51:06 PM: 4. Deploy site
10:51:06 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:51:06 PM: β
10:51:06 PM: Starting to deploy site from ''
10:51:07 PM: Creating deploy tree asynchronously
10:51:07 PM: Creating deploy upload records
10:51:15 PM: Starting post processing
10:51:15 PM: Post processing - HTML
10:51:15 PM: Post processing - header rules
10:51:15 PM: Post processing - redirect rules
10:51:15 PM: Post processing done
10:51:15 PM: 0 new files to upload
10:51:15 PM: 0 new functions to upload
10:51:15 PM: Site is live β¨
10:51:15 PM: Site deploy was successfully initiated
10:51:15 PM: β
10:51:15 PM: (Deploy site completed in 9.8s)
10:51:16 PM: β
10:51:16 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:51:16 PM: Netlify Build Complete
10:51:16 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:51:16 PM: β
10:51:16 PM: (Netlify Build completed in 1m 41.8s)
10:51:16 PM: Caching artifacts
10:51:16 PM: Started saving node modules
10:51:16 PM: Finished saving node modules
10:51:16 PM: Started saving build plugins
10:51:16 PM: Finished saving build plugins
10:51:16 PM: Started saving yarn cache
10:51:16 PM: Finished saving yarn cache
10:51:16 PM: Started saving pip cache
10:51:16 PM: Finished saving pip cache
10:51:16 PM: Started saving emacs cask dependencies
10:51:16 PM: Finished saving emacs cask dependencies
10:51:16 PM: Started saving maven dependencies
10:51:16 PM: Finished saving maven dependencies
10:51:16 PM: Started saving boot dependencies
10:51:16 PM: Finished saving boot dependencies
10:51:16 PM: Started saving rust rustup cache
10:51:16 PM: Finished saving rust rustup cache
10:51:16 PM: Started saving go dependencies
10:51:16 PM: Finished saving go dependencies
10:51:16 PM: Build script success
10:51:44 PM: Finished processing build request in 2m49.239488437s