Hi there,
This is the website https://www.mikysrestaurant.com.au/
github repo GitHub - MikysIta/MIkysItalianRestaurant
I updated the @netlify/plugin-nextjs from 4.0.0 to the 4.29.0 just now I went to deploy and I don’t have anymore css and js on the website.
I tried to create a redirect file because I found a post on github with the same issue but it does not work.
No idea what to do next
10:13:34 PM: build-image version: d7b3813f01c06610bc1723ff1b22446513ee7941 (focal)
10:13:34 PM: build-image tag: v4.14.3
10:13:34 PM: buildbot version: 0a9525e006898c513bdd79a097f61c04604a28eb
10:13:34 PM: Fetching cached dependencies
10:13:34 PM: Starting to download cache of 187.2MB
10:13:35 PM: Finished downloading cache in 1.327514043s
10:13:35 PM: Starting to extract cache
10:13:37 PM: Finished extracting cache in 1.636591405s
10:13:37 PM: Finished fetching cache in 3.016343038s
10:13:37 PM: Starting to prepare the repo for build
10:13:37 PM: Preparing Git Reference refs/heads/main
10:13:38 PM: Parsing package.json dependencies
10:13:39 PM: Different build command detected, going to use the one specified in the Netlify configuration file: 'npm run build' versus 'CI= npm run build' in the Netlify UI
10:13:39 PM: Section completed: initializing
10:13:39 PM: Starting build script
10:13:39 PM: Installing dependencies
10:13:39 PM: Python version set to 2.7
10:13:39 PM: Started restoring cached node version
10:13:40 PM: Finished restoring cached node version
10:13:40 PM: v16.18.1 is already installed.
10:13:41 PM: Now using node v16.18.1 (npm v8.19.2)
10:13:41 PM: Enabling node corepack
10:13:41 PM: Started restoring cached build plugins
10:13:41 PM: Finished restoring cached build plugins
10:13:41 PM: Attempting ruby version 2.7.2, read from environment
10:13:41 PM: Using ruby version 2.7.2
10:13:42 PM: Using PHP version 8.0
10:13:42 PM: No npm workspaces detected
10:13:42 PM: Started restoring cached node modules
10:13:42 PM: Finished restoring cached node modules
10:13:42 PM: Started restoring cached go cache
10:13:42 PM: Finished restoring cached go cache
10:13:42 PM: Installing Go version 1.16.5 (requested 1.16.5)
10:13:46 PM: unset GOOS;
10:13:46 PM: unset GOARCH;
10:13:46 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64';
10:13:46 PM: export PATH="/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64/bin:${PATH}";
10:13:46 PM: go version >&2;
10:13:46 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.16.5.linux.amd64.env"
10:13:46 PM: go version go1.16.5 linux/amd64
10:13:47 PM: Detected 1 framework(s)
10:13:47 PM: "next" at version "12.0.1"
10:13:47 PM: Installing missing commands
10:13:47 PM: Verify run directory
10:13:48 PM:
10:13:48 PM: ────────────────────────────────────────────────────────────────
10:13:48 PM: Netlify Build
10:13:48 PM: ────────────────────────────────────────────────────────────────
10:13:48 PM:
10:13:48 PM: ❯ Version
10:13:48 PM: @netlify/build 28.1.13
10:13:48 PM:
10:13:48 PM: ❯ Flags
10:13:48 PM: baseRelDir: true
10:13:48 PM: buildId: 63724d0c025b2a00082b040e
10:13:48 PM: deployId: 63724d0c025b2a00082b0410
10:13:48 PM:
10:13:48 PM: ❯ Current directory
10:13:48 PM: /opt/build/repo
10:13:48 PM:
10:13:48 PM: ❯ Config file
10:13:48 PM: /opt/build/repo/netlify.toml
10:13:48 PM:
10:13:48 PM: ❯ Context
10:13:48 PM: production
10:13:48 PM:
10:13:48 PM: ❯ Using Next.js Runtime - v4.29.0
10:13:49 PM:
10:13:49 PM: ────────────────────────────────────────────────────────────────
10:13:49 PM: 1. @netlify/plugin-nextjs (onPreBuild event)
10:13:49 PM: ────────────────────────────────────────────────────────────────
10:13:49 PM:
10:13:50 PM: Next.js cache restored.
10:13:50 PM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed.
10:13:50 PM:
10:13:50 PM: (@netlify/plugin-nextjs onPreBuild completed in 149ms)
10:13:50 PM:
10:13:50 PM: ────────────────────────────────────────────────────────────────
10:13:50 PM: 2. build.command from netlify.toml
10:13:50 PM: ────────────────────────────────────────────────────────────────
10:13:50 PM:
10:13:50 PM: $ npm run build
10:13:50 PM: > mikys-restautant@0.1.0 build
10:13:50 PM: > next build
10:13:50 PM: warn - SWC minify beta enabled. https://nextjs.org/docs/messages/swc-minify-enabled
10:13:50 PM: info - Checking validity of types...
10:13:51 PM: warn - No ESLint configuration detected. Run next lint to begin setup
10:13:51 PM: info - Creating an optimized production build...
10:13:55 PM: info - Compiled successfully
10:13:55 PM: info - Collecting page data...
10:13:56 PM: info - Generating static pages (0/2)
10:13:56 PM: info - Generating static pages (2/2)
10:13:57 PM: info - Finalizing page optimization...
10:13:57 PM: Page Size First Load JS
10:13:57 PM: ┌ λ / 9.69 kB 152 kB
10:13:57 PM: ├ └ css/1187fefcb3f4b36d.css 2.42 kB
10:13:57 PM: ├ /_app 0 B 142 kB
10:13:57 PM: ├ ○ /404 422 B 143 kB
10:13:57 PM: ├ └ css/d746731982b05915.css 282 B
10:13:57 PM: └ λ /api/hello 0 B 142 kB
10:13:57 PM: + First Load JS shared by all 142 kB
10:13:57 PM: ├ chunks/framework-c453df6ad2a9e2ed.js 42.2 kB
10:13:57 PM: ├ chunks/main-d759bdc14c60e417.js 27.9 kB
10:13:57 PM: ├ chunks/pages/_app-e7e5ae9f14657483.js 70.1 kB
10:13:57 PM: ├ chunks/webpack-46a40ed76755c9b5.js 2.16 kB
10:13:57 PM: └ css/ac8ed2b7a8178622.css 1.55 kB
10:13:57 PM: λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
10:13:57 PM: ○ (Static) automatically rendered as static HTML (uses no initial props)
10:13:57 PM:
10:13:57 PM: (build.command completed in 6.9s)
10:13:57 PM:
10:13:57 PM: ────────────────────────────────────────────────────────────────
10:13:57 PM: 3. @netlify/plugin-nextjs (onBuild event)
10:13:57 PM: ────────────────────────────────────────────────────────────────
10:13:57 PM:
10:13:57 PM: This version of Next.js doesn't support advanced API routes. Skipping...{ functionsDir: '/opt/build/repo/.netlify/functions-internal' }
10:13:57 PM: Patching /opt/build/repo/node_modules/next/dist/server/next-server.js
10:13:57 PM: Done
10:13:57 PM: Patching /opt/build/repo/node_modules/next/dist/server/next-server.js
10:13:57 PM: File was not changed
10:13:57 PM: Moving static page files to serve from CDN...
10:13:57 PM: Moved 0 files
10:13:57 PM: Using Netlify Edge Functions for image format detection. Set env var "NEXT_DISABLE_EDGE_IMAGES=true" to disable.
10:13:57 PM: Netlify configuration property "redirects" value changed to [
10:13:57 PM: {
10:13:57 PM: from: '/_next/static/*',
10:13:57 PM: query: {},
10:13:57 PM: to: '/static/:splat',
10:13:57 PM: status: 301,
10:13:57 PM: force: true,
10:13:57 PM: conditions: {},
10:13:57 PM: headers: {}
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/_next/image*',
10:13:57 PM: query: { url: ':url', w: ':width', q: ':quality' },
10:13:57 PM: to: '/_ipx/w_:width,q_:quality/:url',
10:13:57 PM: status: 301
10:13:57 PM: },
10:13:57 PM: { from: '/_ipx/*', to: '/.netlify/builders/_ipx', status: 200 },
10:13:57 PM: {
10:13:57 PM: from: '/api/*',
10:13:57 PM: to: '/.netlify/functions/___netlify-handler',
10:13:57 PM: status: 200
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/favicon.png',
10:13:57 PM: to: '/favicon.png',
10:13:57 PM: conditions: { Cookie: [Array] },
10:13:57 PM: status: 200
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/order.html',
10:13:57 PM: to: '/order.html',
10:13:57 PM: conditions: { Cookie: [Array] },
10:13:57 PM: status: 200
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/staticStyle.css',
10:13:57 PM: to: '/staticStyle.css',
10:13:57 PM: conditions: { Cookie: [Array] },
10:13:57 PM: status: 200
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/vercel.svg',
10:13:57 PM: to: '/vercel.svg',
10:13:57 PM: conditions: { Cookie: [Array] },
10:13:57 PM: status: 200
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/assets/HeroImg.avif',
10:13:57 PM: to: '/assets/HeroImg.avif',
10:13:57 PM: conditions: { Cookie: [Array] },
10:13:57 PM: status: 200
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/assets/HeroImg.jpg',
10:13:57 PM: to: '/assets/HeroImg.jpg',
10:13:57 PM: conditions: { Cookie: [Array] },
10:13:57 PM: status: 200
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/assets/LogoGuru.avif',
10:13:57 PM: to: '/assets/LogoGuru.avif',
10:13:57 PM: conditions: { Cookie: [Array] },
10:13:57 PM: status: 200
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/assets/cropped-Outlook-ioabnzky.png',
10:13:57 PM: to: '/assets/cropped-Outlook-ioabnzky.png',
10:13:57 PM: conditions: { Cookie: [Array] },
10:13:57 PM: status: 200
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/assets/functions.avif',
10:13:57 PM: to: '/assets/functions.avif',
10:13:57 PM: conditions: { Cookie: [Array] },
10:13:57 PM: status: 200
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/*',
10:13:57 PM: to: '/.netlify/functions/___netlify-handler',
10:13:57 PM: status: 200,
10:13:57 PM: conditions: { Cookie: [Array] },
10:13:57 PM: force: true
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/_next/data/v-N3r3sEg9Q7C4p0E944q/index.json',
10:13:57 PM: to: '/.netlify/functions/___netlify-handler',
10:13:57 PM: status: 200,
10:13:57 PM: force: false
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/',
10:13:57 PM: to: '/.netlify/functions/___netlify-handler',
10:13:57 PM: status: 200,
10:13:57 PM: force: false
10:13:57 PM: },
10:13:57 PM: {
10:13:57 PM: from: '/*',
10:13:57 PM: to: '/.netlify/functions/___netlify-handler',
10:13:57 PM: status: 200
10:13:57 PM: }
10:13:57 PM: ].
10:13:57 PM:
10:13:57 PM: (@netlify/plugin-nextjs onBuild completed in 120ms)
10:13:57 PM:
10:13:57 PM: ────────────────────────────────────────────────────────────────
10:13:57 PM: 4. Functions bundling
10:13:57 PM: ────────────────────────────────────────────────────────────────
10:13:57 PM:
10:13:57 PM: Packaging Functions from .netlify/functions-internal directory:
10:13:57 PM: - ___netlify-handler/___netlify-handler.js
10:13:57 PM: - ___netlify-odb-handler/___netlify-odb-handler.js
10:13:57 PM: - _ipx/_ipx.js
10:13:57 PM:
10:14:07 PM:
10:14:07 PM: (Functions bundling completed in 9.9s)
10:14:07 PM:
10:14:07 PM: ────────────────────────────────────────────────────────────────
10:14:07 PM: 5. Edge Functions bundling
10:14:07 PM: ────────────────────────────────────────────────────────────────
10:14:07 PM:
10:14:07 PM: Packaging Edge Functions from .netlify/edge-functions directory:
10:14:07 PM: - ipx
10:14:07 PM:
10:14:07 PM: (Edge Functions bundling completed in 712ms)
10:14:07 PM:
10:14:07 PM: ────────────────────────────────────────────────────────────────
10:14:07 PM: 6. @netlify/plugin-nextjs (onPostBuild event)
10:14:07 PM: ────────────────────────────────────────────────────────────────
10:14:07 PM:
10:14:08 PM: Next.js cache saved.
10:14:08 PM: You have the following Netlify rewrites that might cause conflicts with the Next.js Runtime:
10:14:08 PM:
10:14:08 PM: - /favicon.png /favicon.png 200
10:14:08 PM: - /order.html /order.html 200
10:14:08 PM: - /staticStyle.css /staticStyle.css 200
10:14:08 PM: - /vercel.svg /vercel.svg 200
10:14:08 PM: - /assets/HeroImg.avif /assets/HeroImg.avif 200
10:14:08 PM: Creating deploy upload records
10:14:08 PM: - /assets/HeroImg.jpg /assets/HeroImg.jpg 200
10:14:08 PM: - /assets/LogoGuru.avif /assets/LogoGuru.avif 200
10:14:08 PM: - /assets/cropped-Outlook-ioabnzky.png /assets/cropped-Outlook-ioabnzky.png 200
10:14:08 PM: - /assets/functions.avif /assets/functions.avif 200
10:14:08 PM:
10:14:08 PM: For more information, see https://ntl.fyi/next-rewrites
10:14:08 PM: Netlify configuration property "build.publish" value changed to '.next/dist'.
10:14:08 PM:
10:14:08 PM: (@netlify/plugin-nextjs onPostBuild completed in 176ms)
10:14:08 PM:
10:14:08 PM: ────────────────────────────────────────────────────────────────
10:14:08 PM: 7. Deploy site
10:14:08 PM: ────────────────────────────────────────────────────────────────
10:14:08 PM:
10:14:08 PM: Starting to deploy site from '.next'
10:14:08 PM: Creating deploy tree
10:14:08 PM: 16 new files to upload
10:14:08 PM: 3 new functions to upload
10:14:15 PM: Site deploy was successfully initiated
10:14:15 PM:
10:14:15 PM: (Deploy site completed in 7.6s)
10:14:15 PM:
10:14:15 PM: ────────────────────────────────────────────────────────────────
10:14:15 PM: Netlify Build Complete
10:14:15 PM: ────────────────────────────────────────────────────────────────
10:14:15 PM: Starting post processing
10:14:15 PM:
10:14:15 PM: (Netlify Build completed in 27.2s)
10:14:16 PM: Caching artifacts
10:14:16 PM: Started saving node modules
10:14:16 PM: Finished saving node modules
10:14:16 PM: Post processing - HTML
10:14:16 PM: Started saving build plugins
10:14:16 PM: Finished saving build plugins
10:14:16 PM: Started saving pip cache
10:14:16 PM: Finished saving pip cache
10:14:16 PM: Started saving emacs cask dependencies
10:14:16 PM: Post processing - header rules
10:14:16 PM: Finished saving emacs cask dependencies
10:14:16 PM: Started saving maven dependencies
10:14:16 PM: Finished saving maven dependencies
10:14:16 PM: Post processing - redirect rules
10:14:16 PM: Started saving boot dependencies
10:14:16 PM: Finished saving boot dependencies
10:14:16 PM: Started saving rust rustup cache
10:14:16 PM: Post processing done
10:14:16 PM: Finished saving rust rustup cache
10:14:16 PM: Started saving go dependencies
10:14:16 PM: Finished saving go dependencies
10:14:16 PM: Build script success
10:14:16 PM: Section completed: building
10:14:17 PM: Uploading Cache of size 187.2MB
10:14:18 PM: Section completed: cleanup
10:14:18 PM: Finished processing build request in 44.231706514s
10:14:19 PM: Site is live ✨
Thank you for your help