Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: ISR Working Locally But Not Working on Netify #2127

Closed
3 tasks
AresTG2612 opened this issue May 17, 2023 · 18 comments
Closed
3 tasks

[Bug]: ISR Working Locally But Not Working on Netify #2127

AresTG2612 opened this issue May 17, 2023 · 18 comments
Labels
type: bug code to address defects in shipped code v4 Issues related to the v4 Next.js runtime

Comments

@AresTG2612
Copy link

AresTG2612 commented May 17, 2023

Summary

I’m trying to build a headless wordpress with nextjs and deploy on Netify. I’m using a starter template from GitHub - colbyfayock/next-wordpress-starter: 📝 Bring WordPress to the static world with Next.js.

I’ve watched the video tutorial Auto Update Static Content in Next.js with Incremental Static Regeneration (ISR) - YouTube and follow the same steps to set up the ISR properly by adding revalidate: 10 to getStaticProps(), which will be defaulted to be 60 when building on Netlify.

It’s working perfectly on local host. The problem is, after deploying it on Netlify, the ISR is not working anymore.

Any help would be greatly appreciated!

The frontend can be found from https://main--bright-nougat-01bbb4.netlify.app/.

A link to a reproduction repository

https://github.com/AresTG2612/next-wp

Expected Result

Update posts title content on wordpress, after refresh and wait for 60 seconds and refresh again the new title and content will be updated on frontend https://main--bright-nougat-01bbb4.netlify.app/.

Actual Result

Update posts title content on wordpress, after refresh and wait for 60 seconds and refresh again nothing was updated on frontend https://main--bright-nougat-01bbb4.netlify.app/.

Steps to reproduce

  1. Make changes on backend CMS that would update frontend
  2. Wait interval specified by revalidate property in getStaticProps (10s which will be deafulted to 60s by Netlify).
  3. Load frontend content and expect to see stale content
  4. Wait until ISR function has completed successfully
  5. Load frontend content one more time and then expect to see fresh content.

Next Runtime version

6.37.0

Is your issue related to the app directory?

  • Yes, I am using the app directory

More information about your build

  • I am building using the CLI
  • I am building using file-based configuration (netlify.toml)

What OS are you using?

Mac OS

Your netlify.toml file

`netlify.toml`
[build]
  command = "yarn build"
  publish = ".next"
  
[[plugins]]
package = "@netlify/plugin-nextjs"

Your public/_redirects file

`_redirects`
# Paste content of your `_redirects` file here

Your next.config.js file

`next.config.js`
const indexSearch = require('./plugins/search-index');
const feed = require('./plugins/feed');
const sitemap = require('./plugins/sitemap');
// const socialImages = require('./plugins/socialImages'); TODO: failing to run on Netlify

/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  swcMinify: true,

  // By default, Next.js removes the trailing slash. One reason this would be good
  // to include is by default, the `path` property of the router for the homepage
  // is `/` and by using that, would instantly create a redirect

  trailingSlash: true,

  // By enabling verbose logging, it will provide additional output details for
  // diagnostic purposes. By default is set to false.
  // verbose: true,

  env: {
    // The image directory for open graph images will be saved at the location above
    // with `public` prepended. By default, images will be saved at /public/images/og
    // and available at /images/og. If changing, make sure to update the .gitignore

    OG_IMAGE_DIRECTORY: '/images/og',

    // By default, only render this number of post pages ahead of time, otherwise
    // the rest will be rendered on-demand
    POSTS_PRERENDER_COUNT: 5,

    WORDPRESS_GRAPHQL_ENDPOINT: process.env.WORDPRESS_GRAPHQL_ENDPOINT,
    WORDPRESS_MENU_LOCATION_NAVIGATION: process.env.WORDPRESS_MENU_LOCATION_NAVIGATION || 'PRIMARY',
    WORDPRESS_PLUGIN_SEO: parseEnvValue(process.env.WORDPRESS_PLUGIN_SEO, false),
  },
};

module.exports = () => {
  const plugins = [indexSearch, feed, sitemap];
  return plugins.reduce((acc, plugin) => plugin(acc), nextConfig);
};

/**
 * parseEnv
 * @description Helper function to check if a variable is defined and parse booelans
 */

function parseEnvValue(value, defaultValue) {
  if (typeof value === 'undefined') return defaultValue;
  if (value === true || value === 'true') return true;
  if (value === false || value === 'false') return false;
  return value;
}

Builds logs (or link to your logs)

Build logs
2:16:48 PM: Build ready to start
2:16:52 PM: build-image version: 340a5296c836ef3d99ac1d871c6447bb7a417c33 (focal)
2:16:52 PM: buildbot version: 753118d3afc14c69f82e182875f5b12345d2942b
2:16:52 PM: Fetching cached dependencies
2:16:52 PM: Starting to download cache of 218.2MB
2:16:54 PM: Finished downloading cache in 1.845s
2:16:54 PM: Starting to extract cache
2:16:56 PM: Finished extracting cache in 1.994s
2:16:56 PM: Finished fetching cache in 3.917s
2:16:56 PM: Starting to prepare the repo for build
2:16:56 PM: Preparing Git Reference refs/heads/main
2:16:57 PM: Parsing package.json dependencies
2:16:58 PM: Starting to install dependencies
2:16:58 PM: Python version set to 3.8
2:16:58 PM: Attempting Ruby version 2.7.2, read from environment
2:16:59 PM: Using Ruby version 2.7.2
2:17:00 PM: Started restoring cached go cache
2:17:00 PM: Finished restoring cached go cache
2:17:00 PM: Installing Go version 1.19.5 (requested 1.19.5)
2:17:05 PM: go version go1.19.5 linux/amd64
2:17:06 PM: Using PHP version 8.0
2:17:06 PM: Started restoring cached Node.js version
2:17:07 PM: Finished restoring cached Node.js version
2:17:07 PM: Attempting Node.js version '18' from .nvmrc
2:17:08 PM: v18.16.0 is already installed.
2:17:08 PM: Now using node v18.16.0 (npm v9.5.1)
2:17:08 PM: Enabling Node.js Corepack
2:17:08 PM: Started restoring cached build plugins
2:17:08 PM: Finished restoring cached build plugins
2:17:08 PM: Started restoring cached corepack dependencies
2:17:08 PM: Finished restoring cached corepack dependencies
2:17:09 PM: Found pnpm version (7.13.4) that doesn't match expected ()
Usage Error: Invalid package manager specification in CLI arguments; expected a semver version, range, or tag
2:17:09 PM: $ corepack prepare [--activate] [--all] [--json] [-o,--output] ...
2:17:09 PM: jq: error (at <stdin>:72): Cannot iterate over null (null)
2:17:09 PM: No pnpm workspaces detected
2:17:09 PM: Started restoring cached node modules
2:17:09 PM: Finished restoring cached node modules
2:17:09 PM: Installing npm packages using pnpm version 7.13.4
2:17:09 PM: Lockfile is up to date, resolution step is skipped
2:17:09 PM: Already up to date
2:17:09 PM: > next-wordpress-starter@0.1.0 prepare /opt/build/repo
2:17:09 PM: > husky install
2:17:09 PM: husky - Git hooks installed
2:17:10 PM: Done in 562ms
2:17:10 PM: npm packages installed using pnpm
2:17:10 PM: Install dependencies script success
2:17:10 PM: Starting build script
2:17:11 PM: Detected 1 framework(s)
2:17:11 PM: "next" at version "13.4.0"
2:17:11 PM: Section completed: initializing
2:17:12 PM: ​
2:17:12 PM: Netlify Build                                                 
2:17:12 PM: ────────────────────────────────────────────────────────────────
2:17:12 PM: ​
2:17:12 PM: ❯ Version
2:17:12 PM:   @netlify/build 29.11.4
2:17:12 PM: ​
2:17:12 PM: ❯ Flags
2:17:12 PM:   baseRelDir: true
2:17:12 PM:   buildId: 646303b029fd050007afe962
2:17:12 PM:   deployId: 646303b029fd050007afe964
2:17:12 PM: ​
2:17:12 PM: ❯ Current directory
2:17:12 PM:   /opt/build/repo
2:17:12 PM: ​
2:17:12 PM: ❯ Config file
2:17:12 PM:   /opt/build/repo/netlify.toml
2:17:12 PM: ​
2:17:12 PM: ❯ Context
2:17:12 PM:   production
2:17:12 PM: ​
2:17:12 PM: ❯ Using Next.js Runtime - v4.37.0
2:17:13 PM: ​
2:17:13 PM: @netlify/plugin-nextjs (onPreBuild event)                     
2:17:13 PM: ────────────────────────────────────────────────────────────────
2:17:13 PM: ​
2:17:13 PM: Next.js cache restored.
2:17:13 PM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed.
2:17:13 PM: ​
2:17:13 PM: (@netlify/plugin-nextjs onPreBuild completed in 94ms)
2:17:13 PM: ​
2:17:13 PM: build.command from netlify.toml                               
2:17:13 PM: ────────────────────────────────────────────────────────────────
2:17:13 PM: ​
2:17:13 PM: $ yarn build
2:17:14 PM: yarn run v1.22.19
2:17:14 PM: $ next build
2:17:14 PM: info  - Linting and checking validity of types...
2:17:16 PM: info  - Creating an optimized production build...
2:17:23 PM: Successfully created: wp-search.json
2:17:24 PM: Successfully created: sitemap.xml
2:17:24 PM: Successfully created: feed.xml
2:17:26 PM: info  - Compiled successfully
2:17:26 PM: info  - Collecting page data...
2:17:30 PM: Warning: You have opted-out of Automatic Static Optimization due to `getInitialProps` in `pages/_app`. This does not opt-out pages with `getStaticProps`
2:17:30 PM: Read more: https://nextjs.org/docs/messages/opt-out-auto-static-optimization
2:17:30 PM: info  - Generating static pages (0/20)
2:17:39 PM: info  - Generating static pages (5/20)
2:17:44 PM: info  - Generating static pages (10/20)
2:17:58 PM: info  - Generating static pages (15/20)
2:18:17 PM: info  - Generating static pages (20/20)
2:18:17 PM: info  - Finalizing page optimization...
2:18:17 PM: Route (pages)                                                           Size     First Load JS
2:18:17 PM: ┌ ● / (ISR: 10 Seconds) (9372 ms)                                       2.92 kB         159 kB
2:18:17 PM: ├   └ css/cbd67ed643337d83.css                                          2.06 kB
2:18:17 PM: ├   /_app                                                               0 B             144 kB
2:18:17 PM: ├ ● /[slugParent]/[[...slugChild]] (ISR: 10 Seconds) (46540 ms)         2.3 kB          158 kB
2:18:17 PM: ├   └ css/a0c819f8076c8483.css                                          1.74 kB
2:18:17 PM: ├   ├ /404-2 (8749 ms)
2:18:17 PM: ├   ├ /sample-page (4969 ms)
2:18:17 PM: ├   ├ /odio-ut-earum-ea-qui (4945 ms)
2:18:17 PM: ├   ├ /corrupti-unde-similique-reprehenderit-qui-dolores-aut (4943 ms)
2:18:17 PM: ├   ├ /consequuntur-fugiat-qui-sed-est-cum (4806 ms)
2:18:17 PM: ├   ├ /animi-est-similique-voluptatem-esse-molestiae (4726 ms)
2:18:17 PM: ├   ├ /nobis-aperiam-similique-voluptas-ipsum-at-explicabo (4562 ms)
2:18:17 PM: ├   └ [+2 more paths] (avg 4420 ms)
2:18:17 PM: ├ ● /404 (ISR: 10 Seconds) (7066 ms)                                    576 B           156 kB
2:18:17 PM: ├ ● /500 (ISR: 10 Seconds) (7297 ms)                                    625 B           156 kB
2:18:17 PM: ├ ● /authors/[slug]                                                     720 B           160 kB
2:18:17 PM: ├ ● /categories (ISR: 10 Seconds) (7736 ms)                             1.59 kB         157 kB
2:18:17 PM: ├   └ css/22fc0ef3453ac7c2.css                                          1.53 kB
2:18:17 PM: ├ ● /categories/[slug]                                                  655 B           160 kB
2:18:17 PM: ├ ● /posts (ISR: 10 Seconds) (8678 ms)                                  370 B           159 kB
2:18:17 PM: ├ ● /posts/[slug] (ISR: 10 Seconds) (27748 ms)                          2.8 kB          158 kB
2:18:17 PM: ├   └ css/dfc03380a3a32ca9.css                                          1.9 kB
2:18:17 PM: ├   ├ /posts/test-7 (8796 ms)
2:18:17 PM: ├   ├ /posts/test-new (4803 ms)
2:18:17 PM: ├   ├ /posts/test6 (4769 ms)
2:18:17 PM: ├   ├ /posts/dolor-ut-vero-totam-cumque-at (4704 ms)
2:18:17 PM: ├   └ /posts/test (4676 ms)
2:18:17 PM: ├ ● /posts/page/[page]                                                  399 B           159 kB
2:18:17 PM: └ ● /search (ISR: 10 Seconds) (7184 ms)                                 529 B           160 kB
2:18:17 PM: + First Load JS shared by all                                           146 kB
2:18:17 PM:   ├ chunks/framework-ac88a2a245aea9ab.js                                45.2 kB
2:18:17 PM:   ├ chunks/main-eec79ee3e0bbd536.js                                     26.9 kB
2:18:17 PM:   ├ chunks/pages/_app-0c1405404f757bf4.js                               71.2 kB
2:18:17 PM:   ├ chunks/webpack-59c5c889f52620d6.js                                  819 B
2:18:17 PM:   └ css/a2e32438162febfb.css                                            2.2 kB
2:18:17 PM: ●  (SSG)  automatically generated as static HTML + JSON (uses getStaticProps)
2:18:17 PM:    (ISR)  incremental static regeneration (uses revalidate in getStaticProps)
2:18:17 PM: Done in 63.80s.
2:18:18 PM: ​
2:18:18 PM: (build.command completed in 1m 4s)
2:18:18 PM: ​
2:18:18 PM: @netlify/plugin-nextjs (onBuild event)                        
2:18:18 PM: ────────────────────────────────────────────────────────────────
2:18:18 PM: ​
2:18:18 PM: Patching /opt/build/repo/node_modules/.pnpm/next@13.4.0_txdvpvppf2ilsh27xadmwrzlmm/node_modules/next/dist/server/base-server.js
2:18:18 PM: Done
2:18:18 PM: Patching /opt/build/repo/node_modules/.pnpm/next@13.4.0_txdvpvppf2ilsh27xadmwrzlmm/node_modules/next/dist/server/next-server.js
2:18:18 PM: Done
2:18:18 PM: Moving static page files to serve from CDN...
2:18:18 PM: Moved 0 files
2:18:18 PM: The following routes use "revalidate" values of under 60 seconds, which is not supported.
2:18:18 PM: They will use a revalidate time of 60 seconds instead.
2:18:18 PM: ┌─────────┬──────────────────────────────────────────────────────────┬────────────┐
2:18:18 PM: │ (index) │                          Route                           │ Revalidate │
2:18:18 PM: ├─────────┼──────────────────────────────────────────────────────────┼────────────┤
2:18:18 PM: │    0    │                        '/search'                         │     10     │
2:18:18 PM: │    1    │                         '/posts'                         │     10     │
2:18:18 PM: │    2    │                          '/404'                          │     10     │
2:18:18 PM: │    3    │                          '/500'                          │     10     │
2:18:18 PM: │    4    │                      '/categories'                       │     10     │
2:18:18 PM: │    5    │                           '/'                            │     10     │
2:18:18 PM: │    6    │                     '/posts/test-7'                      │     10     │
2:18:18 PM: │    7    │                      '/posts/test6'                      │     10     │
2:18:18 PM: │    8    │                      '/posts/test'                       │     10     │
2:18:18 PM: │    9    │                    '/posts/test-new'                     │     10     │
2:18:18 PM: │   10    │          '/posts/dolor-ut-vero-totam-cumque-at'          │     10     │
2:18:18 PM: │   11    │                         '/404-2'                         │     10     │
2:18:18 PM: │   12    │                      '/sample-page'                      │     10     │
2:18:18 PM: │   13    │                 '/odio-ut-earum-ea-qui'                  │     10     │
2:18:18 PM: │   14    │ '/corrupti-unde-similique-reprehenderit-qui-dolores-aut' │     10     │
2:18:18 PM: │   15    │          '/consequuntur-fugiat-qui-sed-est-cum'          │     10     │
2:18:18 PM: │   16    │     '/animi-est-similique-voluptatem-esse-molestiae'     │     10     │
2:18:18 PM: │   17    │  '/nobis-aperiam-similique-voluptas-ipsum-at-explicabo'  │     10     │
2:18:18 PM: │   18    │          '/ab-quasi-omnis-distinctio-porro-sed'          │     10     │
2:18:18 PM: │   19    │          '/quia-quo-rerum-voluptas-eius-culpa'           │     10     │
2:18:18 PM: └─────────┴──────────────────────────────────────────────────────────┴────────────┘
2:18:18 PM: You are not using Netlify Edge Functions for image format detection. Set env var "NEXT_FORCE_EDGE_IMAGES=true" to enable.
2:18:18 PM: Netlify configuration property "redirects" value changed to [
2:18:18 PM:   { from: '/_next/static/*', to: '/static/:splat', status: 200 },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/image/*',
2:18:18 PM:     query: { url: ':url', w: ':width', q: ':quality' },
2:18:18 PM:     to: '/_ipx/w_:width,q_:quality/:url',
2:18:18 PM:     status: 301
2:18:18 PM:   },
2:18:18 PM:   { from: '/_ipx/*', to: '/.netlify/builders/_ipx', status: 200 },
2:18:18 PM:   { from: '/cache/*', to: '/404.html', status: 404, force: true },
2:18:18 PM:   { from: '/server/*', to: '/404.html', status: 404, force: true },
2:18:18 PM:   { from: '/serverless/*', to: '/404.html', status: 404, force: true },
2:18:18 PM:   { from: '/trace', to: '/404.html', status: 404, force: true },
2:18:18 PM:   { from: '/traces', to: '/404.html', status: 404, force: true },
2:18:18 PM:   {
2:18:18 PM:     from: '/routes-manifest.json',
2:18:18 PM:     to: '/404.html',
2:18:18 PM:     status: 404,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/build-manifest.json',
2:18:18 PM:     to: '/404.html',
2:18:18 PM:     status: 404,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/prerender-manifest.json',
2:18:18 PM:     to: '/404.html',
2:18:18 PM:     status: 404,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/react-loadable-manifest.json',
2:18:18 PM:     to: '/404.html',
2:18:18 PM:     status: 404,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   { from: '/BUILD_ID', to: '/404.html', status: 404, force: true },
2:18:18 PM:   {
2:18:18 PM:     from: '/api/*',
2:18:18 PM:     to: '/.netlify/functions/___netlify-handler',
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/android-chrome-192x192.png',
2:18:18 PM:     to: '/android-chrome-192x192.png',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/android-chrome-512x512.png',
2:18:18 PM:     to: '/android-chrome-512x512.png',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/apple-touch-icon.png',
2:18:18 PM:     to: '/apple-touch-icon.png',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/favicon-1024x1024.png',
2:18:18 PM:     to: '/favicon-1024x1024.png',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/favicon-16x16.png',
2:18:18 PM:     to: '/favicon-16x16.png',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/favicon-32x32.png',
2:18:18 PM:     to: '/favicon-32x32.png',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/favicon.ico',
2:18:18 PM:     to: '/favicon.ico',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/feed.xml',
2:18:18 PM:     to: '/feed.xml',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/robots.txt',
2:18:18 PM:     to: '/robots.txt',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/site.webmanifest',
2:18:18 PM:     to: '/site.webmanifest',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/sitemap.jpg',
2:18:18 PM:     to: '/sitemap.jpg',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/sitemap.xml',
2:18:18 PM:     to: '/sitemap.xml',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/wp-search.json',
2:18:18 PM:     to: '/wp-search.json',
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     status: 200
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/*',
2:18:18 PM:     to: '/.netlify/functions/___netlify-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     conditions: { Cookie: [Array] },
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/search.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/search',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/posts.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/posts',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/500.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/500',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/categories.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/categories',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/index.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test-7.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/posts/test-7',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test6.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/posts/test6',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/posts/test',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test-new.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/posts/test-new',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/dolor-ut-vero-totam-cumque-at.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/posts/dolor-ut-vero-totam-cumque-at',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/404-2.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/404-2',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/sample-page.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/sample-page',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/odio-ut-earum-ea-qui.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/odio-ut-earum-ea-qui',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/corrupti-unde-similique-reprehenderit-qui-dolores-aut.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/corrupti-unde-similique-reprehenderit-qui-dolores-aut',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/consequuntur-fugiat-qui-sed-est-cum.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/consequuntur-fugiat-qui-sed-est-cum',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/animi-est-similique-voluptatem-esse-molestiae.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/animi-est-similique-voluptatem-esse-molestiae',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/nobis-aperiam-similique-voluptas-ipsum-at-explicabo.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/nobis-aperiam-similique-voluptas-ipsum-at-explicabo',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/ab-quasi-omnis-distinctio-porro-sed.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/ab-quasi-omnis-distinctio-porro-sed',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/quia-quo-rerum-voluptas-eius-culpa.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/quia-quo-rerum-voluptas-eius-culpa',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: true
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/authors/:slug.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/authors/:slug',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/categories/:slug.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/categories/:slug',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/page/:page.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/posts/page/:page',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/:slug.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/posts/:slug',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/:slugParent.json',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/_next/data/st-TkfJeANHpBLi-Jk9CQ/:slugParent/*',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/:slugParent',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/:slugParent/*',
2:18:18 PM:     to: '/.netlify/builders/___netlify-odb-handler',
2:18:18 PM:     status: 200,
2:18:18 PM:     force: false
2:18:18 PM:   },
2:18:18 PM:   {
2:18:18 PM:     from: '/*',
2:18:18 PM:     to: '/.netlify/functions/___netlify-handler',
2:18:18 PM:     status: 200
2:18:18 PM:   }
2:18:18 PM: ].
2:18:18 PM: ​
2:18:18 PM: (@netlify/plugin-nextjs onBuild completed in 153ms)
2:18:18 PM: ​
2:18:18 PM: Functions bundling                                            
2:18:18 PM: ────────────────────────────────────────────────────────────────
2:18:18 PM: ​
2:18:18 PM: Packaging Functions from .netlify/functions-internal directory:
2:18:18 PM:  - ___netlify-handler/___netlify-handler.js
2:18:18 PM:  - ___netlify-odb-handler/___netlify-odb-handler.js
2:18:18 PM:  - _ipx/_ipx.js
2:18:18 PM: ​
2:18:50 PM: ​
2:18:50 PM: (Functions bundling completed in 32.6s)
2:18:50 PM: ​
2:18:50 PM: Edge Functions bundling                                       
2:18:50 PM: ────────────────────────────────────────────────────────────────
2:18:50 PM: ​
2:18:51 PM: ​
2:18:51 PM: (Edge Functions bundling completed in 285ms)
2:18:51 PM: ​
2:18:51 PM: @netlify/plugin-nextjs (onPostBuild event)                    
2:18:51 PM: ────────────────────────────────────────────────────────────────
2:18:51 PM: ​
2:18:51 PM: Next.js cache saved.
2:18:51 PM: 🧪 Thank you for testing "appDir" support on Netlify. For known issues and to give feedback, visit https://ntl.fyi/next-13-feedback
2:18:51 PM: ​
2:18:51 PM: (@netlify/plugin-nextjs onPostBuild completed in 132ms)
2:18:51 PM: ​
2:18:51 PM: Deploy site                                                   
2:18:51 PM: ────────────────────────────────────────────────────────────────
2:18:51 PM: ​
2:18:51 PM: Starting to deploy site from '.next'
2:18:51 PM: Calculating files to upload
2:18:51 PM: 69 new files to upload
2:18:51 PM: 3 new functions to upload
2:19:01 PM: Section completed: deploying
2:19:01 PM: Site deploy was successfully initiated
2:19:01 PM: Starting post processing
2:19:01 PM: ​
2:19:01 PM: (Deploy site completed in 10.1s)
2:19:01 PM: ​
2:19:01 PM: Netlify Build Complete                                        
2:19:01 PM: ────────────────────────────────────────────────────────────────
2:19:01 PM: Skipping HTML post processing
2:19:01 PM: ​
2:19:01 PM: (Netlify Build completed in 1m 48.9s)
2:19:01 PM: Post processing - header rules
2:19:01 PM: Post processing - redirect rules
2:19:01 PM: Caching artifacts
2:19:01 PM: Started saving node modules
2:19:02 PM: Finished saving node modules
2:19:02 PM: Started saving build plugins
2:19:02 PM: Post processing done
2:19:02 PM: Finished saving build plugins
2:19:02 PM: Started saving corepack cache
2:19:02 PM: Finished saving corepack cache
2:19:02 PM: Section completed: postprocessing
2:19:02 PM: Started saving pip cache
2:19:02 PM: Finished saving pip cache
2:19:02 PM: Started saving emacs cask dependencies
2:19:02 PM: Finished saving emacs cask dependencies
2:19:02 PM: Started saving maven dependencies
2:19:02 PM: Finished saving maven dependencies
2:19:02 PM: Started saving boot dependencies
2:19:02 PM: Finished saving boot dependencies
2:19:02 PM: Started saving rust rustup cache
2:19:02 PM: Finished saving rust rustup cache
2:19:02 PM: Started saving go dependencies
2:19:02 PM: Finished saving go dependencies
2:19:02 PM: Build script success
2:19:02 PM: Section completed: building
2:19:03 PM: Site is live ✨
2:19:03 PM: Uploading Cache of size 218.4MB
2:19:05 PM: Section completed: cleanup
2:19:05 PM: Finished processing build request in 2m12.602s

Function logs

Function logs
May 16, 01:21:01 PM: 8a873fe4 INFO [GET] / (ODB TTL=60)
May 16, 01:21:04 PM: 8a873fe4 Duration: 1412.20 ms Memory Usage: 134 MB Init Duration: 550.23 ms
May 16, 01:21:04 PM: d7ebd7d0 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/posts/test6.json (ODB TTL=60)
May 16, 01:21:04 PM: d907d33c INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/authors/admin.json (ODB TTL=60)
May 16, 01:21:04 PM: a15112e6 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/categories/uncategorized.json (ODB TTL=60)
May 16, 01:21:04 PM: ded6fe61 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/posts/test.json (ODB TTL=60)
May 16, 01:21:04 PM: 0d68072a INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/index.json (ODB TTL=60)
May 16, 01:21:04 PM: d7ebd7d0 Duration: 22.96 ms Memory Usage: 135 MB
May 16, 01:21:06 PM: ded6fe61 Duration: 1362.45 ms Memory Usage: 133 MB Init Duration: 559.72 ms
May 16, 01:21:06 PM: 0d68072a Duration: 1310.08 ms Memory Usage: 134 MB Init Duration: 513.53 ms
May 16, 01:21:11 PM: d907d33c Duration: 6568.21 ms Memory Usage: 175 MB
May 16, 01:21:13 PM: a15112e6 Duration: 7642.27 ms Memory Usage: 173 MB Init Duration: 619.79 ms
May 16, 01:21:44 PM: a4dbd935 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/posts/test-new.json (ODB TTL=60)
May 16, 01:21:45 PM: a4dbd935 Duration: 123.37 ms Memory Usage: 173 MB
May 16, 01:22:19 PM: d54cf2c0 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/posts/dolor-ut-vero-totam-cumque-at.json (ODB TTL=60)
May 16, 01:22:20 PM: d54cf2c0 Duration: 109.33 ms Memory Usage: 175 MB
May 16, 01:26:14 PM: 5e4eef5c INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/posts/hello-world.json (ODB TTL=60)
May 16, 01:26:14 PM: f7e7f186 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/posts/molestias-iure-quidem-culpa-blanditiis-laboriosam-corporis.json (ODB TTL=60)
May 16, 01:26:14 PM: 5e4eef5c Duration: 6.01 ms Memory Usage: 176 MB
May 16, 01:26:14 PM: 15e2e276 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/posts/quae-magnam-deleniti-molestias-sed-ut.json (ODB TTL=60)
May 16, 01:26:14 PM: 6f191d87 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/posts/est-beatae-ab-nihil-laborum-omnis.json (ODB TTL=60)
May 16, 01:26:19 PM: f7e7f186 Duration: 5024.48 ms Memory Usage: 176 MB
May 16, 01:26:20 PM: 15e2e276 Duration: 5450.67 ms Memory Usage: 175 MB
May 16, 01:26:20 PM: 6f191d87 Duration: 5642.75 ms Memory Usage: 163 MB
May 16, 01:26:26 PM: 72291485 INFO [GET] /posts/test-7/ (ODB TTL=60)
May 16, 01:26:31 PM: 72291485 Duration: 5121.73 ms Memory Usage: 163 MB
May 16, 01:26:31 PM: 7b6e4e65 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/categories.json (ODB TTL=60)
May 16, 01:26:31 PM: e2944550 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/posts.json (ODB TTL=60)
May 16, 01:26:31 PM: 4d3887bc INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/posts/test-7.json (ODB TTL=60)
May 16, 01:26:31 PM: 7b6e4e65 Duration: 8.54 ms Memory Usage: 163 MB
May 16, 01:26:31 PM: e2944550 Duration: 6.40 ms Memory Usage: 176 MB
May 16, 01:26:37 PM: 4d3887bc Duration: 5126.73 ms Memory Usage: 175 MB
May 16, 02:04:55 PM: 35c94264 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/ (ODB TTL=60)
May 16, 02:04:55 PM: 35c94264 Duration: 23.50 ms Memory Usage: 158 MB
May 16, 02:11:22 PM: 60a3d203 INFO [GET] / (ODB TTL=60)
May 16, 02:11:24 PM: 60a3d203 Duration: 1419.67 ms Memory Usage: 135 MB Init Duration: 518.15 ms
May 16, 02:11:24 PM: d061ec00 INFO [GET] /_next/data/cQAROQN455uUS8Q743oP0/posts/test-7.json (ODB TTL=60)
May 16, 02:11:24 PM: 17c61f0a INFO [GET] /_next/data/cQAROQN455uUS8Q743oP0/authors/admin.json (ODB TTL=60)
May 16, 02:11:24 PM: ecdb3016 INFO [GET] /_next/data/cQAROQN455uUS8Q743oP0/posts/test.json (ODB TTL=60)
May 16, 02:11:24 PM: acd96cae INFO [GET] /_next/data/cQAROQN455uUS8Q743oP0/posts/test6.json (ODB TTL=60)
May 16, 02:11:24 PM: a85a3dbf INFO [GET] /_next/data/cQAROQN455uUS8Q743oP0/categories/uncategorized.json (ODB TTL=60)
May 16, 02:11:24 PM: e404d346 INFO [GET] /_next/data/cQAROQN455uUS8Q743oP0/index.json (ODB TTL=60)
May 16, 02:11:24 PM: d061ec00 Duration: 20.65 ms Memory Usage: 135 MB
May 16, 02:11:27 PM: ecdb3016 Duration: 1259.10 ms Memory Usage: 131 MB Init Duration: 550.67 ms
May 16, 02:11:27 PM: e404d346 Duration: 1308.17 ms Memory Usage: 135 MB Init Duration: 519.57 ms
May 16, 02:11:27 PM: acd96cae Duration: 1334.78 ms Memory Usage: 137 MB Init Duration: 537.88 ms
May 16, 02:11:30 PM: 17c61f0a Duration: 5362.56 ms Memory Usage: 175 MB
May 16, 02:11:32 PM: a85a3dbf Duration: 6644.02 ms Memory Usage: 175 MB Init Duration: 525.27 ms
May 16, 02:12:14 PM: 9702b336 INFO [GET] /_next/data/6RFBwkNZc4PrDZv2-V3Um/posts/test.json (ODB TTL=60)
May 16, 02:12:15 PM: 9702b336 Duration: 117.59 ms Memory Usage: 175 MB
May 16, 02:12:15 PM: a9d2e1cb INFO [GET] /_next/data/cQAROQN455uUS8Q743oP0/posts/test-new.json (ODB TTL=60)
May 16, 02:12:16 PM: a9d2e1cb Duration: 119.42 ms Memory Usage: 175 MB
May 16, 02:19:03 PM: 97e0cc1b INFO [GET] / (ODB TTL=60)
May 16, 02:19:04 PM: 028ec845 INFO [GET] / (ODB TTL=60)
May 16, 02:19:06 PM: 97e0cc1b Duration: 1436.99 ms Memory Usage: 134 MB Init Duration: 575.33 ms
May 16, 02:19:06 PM: 028ec845 Duration: 1417.39 ms Memory Usage: 141 MB Init Duration: 505.52 ms
May 16, 02:19:06 PM: 52e3a70b INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/authors/admin.json (ODB TTL=60)
May 16, 02:19:06 PM: 6d54465d INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test6.json (ODB TTL=60)
May 16, 02:19:06 PM: f6b4d739 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test-7.json (ODB TTL=60)
May 16, 02:19:06 PM: b57fdba8 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/categories/uncategorized.json (ODB TTL=60)
May 16, 02:19:06 PM: 8e88389e INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test.json (ODB TTL=60)
May 16, 02:19:06 PM: fa316bc1 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/index.json (ODB TTL=60)
May 16, 02:19:06 PM: f6b4d739 Duration: 27.39 ms Memory Usage: 135 MB
May 16, 02:19:06 PM: 6d54465d Duration: 9.76 ms Memory Usage: 135 MB
May 16, 02:19:07 PM: b17add85 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/index.json (ODB TTL=60)
May 16, 02:19:07 PM: 88aa20ea INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/authors/admin.json (ODB TTL=60)
May 16, 02:19:07 PM: ec94fd57 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/categories/uncategorized.json (ODB TTL=60)
May 16, 02:19:07 PM: a0434029 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test.json (ODB TTL=60)
May 16, 02:19:07 PM: 255014f4 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test-new.json (ODB TTL=60)
May 16, 02:19:07 PM: 7e731a05 INFO [GET] /posts/page/2 (ODB)
May 16, 02:19:08 PM: b217cbf1 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts.json (ODB TTL=60)
May 16, 02:19:08 PM: f0f75672 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/dolor-ut-vero-totam-cumque-at.json (ODB TTL=60)
May 16, 02:19:08 PM: a809c2b7 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/categories.json (ODB TTL=60)
May 16, 02:19:08 PM: 7e731a05 Duration: 115.32 ms Memory Usage: 100 MB Init Duration: 538.79 ms
May 16, 02:19:08 PM: 8e88389e Duration: 1294.88 ms Memory Usage: 131 MB Init Duration: 499.53 ms
May 16, 02:19:08 PM: fa316bc1 Duration: 1336.51 ms Memory Usage: 140 MB Init Duration: 501.82 ms
May 16, 02:19:08 PM: b17add85 Duration: 1341.18 ms Memory Usage: 133 MB Init Duration: 537.30 ms
May 16, 02:19:09 PM: a0434029 Duration: 1256.21 ms Memory Usage: 133 MB Init Duration: 496.38 ms
May 16, 02:19:09 PM: 255014f4 Duration: 1313.51 ms Memory Usage: 132 MB Init Duration: 526.98 ms
May 16, 02:19:10 PM: f0f75672 Duration: 1275.15 ms Memory Usage: 132 MB Init Duration: 525.86 ms
May 16, 02:19:10 PM: a809c2b7 Duration: 1303.87 ms Memory Usage: 132 MB Init Duration: 526.99 ms
May 16, 02:19:10 PM: b217cbf1 Duration: 1320.01 ms Memory Usage: 134 MB Init Duration: 523.99 ms
May 16, 02:19:12 PM: 52e3a70b Duration: 5634.80 ms Memory Usage: 181 MB
May 16, 02:19:12 PM: b57fdba8 Duration: 5876.66 ms Memory Usage: 175 MB
May 16, 02:19:14 PM: 88aa20ea Duration: 6784.16 ms Memory Usage: 175 MB Init Duration: 579.52 ms
May 16, 02:19:14 PM: ec94fd57 Duration: 6740.58 ms Memory Usage: 173 MB Init Duration: 527.85 ms
May 16, 02:19:23 PM: d3303f4a INFO [GET] /posts/test-7/ (ODB TTL=60)
May 16, 02:19:23 PM: d3303f4a Duration: 28.18 ms Memory Usage: 173 MB
May 16, 02:19:24 PM: bdd3e04c INFO [GET] /posts/page/2/ (ODB TTL=60)
May 16, 02:19:26 PM: 773f14bf INFO [GET] /posts/page/2/ (ODB TTL=60)
May 16, 02:19:29 PM: bdd3e04c Duration: 4833.52 ms Memory Usage: 173 MB
May 16, 02:19:31 PM: 773f14bf Duration: 4824.05 ms Memory Usage: 175 MB
May 16, 02:19:36 PM: f55b9ef7 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/eum-harum-impedit-placeat.json (ODB TTL=60)
May 16, 02:19:36 PM: 4ae79612 INFO [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/quod-nesciunt-ipsa-alias-consequatur-sint-magnam.json (ODB TTL=60)
May 16, 02:19:40 PM: 4ae79612 Duration: 4180.25 ms Memory Usage: 175 MB
May 16, 02:19:41 PM: f55b9ef7 Duration: 4908.32 ms Memory Usage: 173 MB

May 18, 09:02:31 AM: INIT_START Runtime Version: nodejs:18.v6	Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:a19cefba18c0aa228bfe71e81d95cc5aab18e4570e899b3cfd9f759f022c7f8c
May 18, 09:02:55 AM: ba7505b7 INFO   [GET] / (ODB TTL=60)
May 18, 09:02:55 AM: ba7505b7 Duration: 128.11 ms	Memory Usage: 165 MB
May 18, 09:02:57 AM: 60b47f38 INFO   [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/index.json (ODB TTL=60)
May 18, 09:02:57 AM: 60b47f38 Duration: 5.07 ms	Memory Usage: 158 MB
May 18, 09:02:57 AM: 26bca717 ERROR  ApolloError: fetch failed
    at new ApolloError (/var/task/node_modules/.pnpm/@apollo+client@3.7.14_gdcq4dv6opitr3wbfwyjmanyra/node_modules/@apollo/client/errors/errors.cjs:31:28)
    at /var/task/node_modules/.pnpm/@apollo+client@3.7.14_gdcq4dv6opitr3wbfwyjmanyra/node_modules/@apollo/client/core/core.cjs:1863:19
    at both (/var/task/node_modules/.pnpm/@apollo+client@3.7.14_gdcq4dv6opitr3wbfwyjmanyra/node_modules/@apollo/client/utilities/utilities.cjs:1072:53)
    at /var/task/node_modules/.pnpm/@apollo+client@3.7.14_gdcq4dv6opitr3wbfwyjmanyra/node_modules/@apollo/client/utilities/utilities.cjs:1065:72
    at new Promise (<anonymous>)
    at Object.then (/var/task/node_modules/.pnpm/@apollo+client@3.7.14_gdcq4dv6opitr3wbfwyjmanyra/node_modules/@apollo/client/utilities/utilities.cjs:1065:24)
    at Object.error (/var/task/node_modules/.pnpm/@apollo+client@3.7.14_gdcq4dv6opitr3wbfwyjmanyra/node_modules/@apollo/client/utilities/utilities.cjs:1073:49)
    at notifySubscription (/var/task/node_modules/.pnpm/zen-observable@0.8.15/node_modules/zen-observable/lib/Observable.js:140:18)
    at onNotify (/var/task/node_modules/.pnpm/zen-observable@0.8.15/node_modules/zen-observable/lib/Observable.js:179:3)
    at SubscriptionObserver.error (/var/task/node_modules/.pnpm/zen-observable@0.8.15/node_modules/zen-observable/lib/Observable.js:240:7) {
  graphQLErrors: [],
  protocolErrors: [],
  clientErrors: [],
  networkError: TypeError: fetch failed
      at Object.fetch (node:internal/deps/undici/undici:11413:11)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
    cause: ConnectTimeoutError: Connect Timeout Error
        at onConnectTimeout (node:internal/deps/undici/undici:8380:28)
        at node:internal/deps/undici/undici:8338:50
        at Immediate._onImmediate (node:internal/deps/undici/undici:8369:13)
        at process.processImmediate (node:internal/timers:476:21) {
      code: 'UND_ERR_CONNECT_TIMEOUT'
    }
  },
  extraInfo: undefined
}
May 18, 09:02:57 AM: d7380cad INFO   [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test6.json (ODB TTL=60)
May 18, 09:02:57 AM: d7380cad Duration: 35.99 ms	Memory Usage: 173 MB
May 18, 09:02:58 AM: 53b781f3 INFO   [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test.json (ODB TTL=60)
May 18, 09:02:58 AM: a0cc59c4 INFO   [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test-7.json (ODB TTL=60)
May 18, 09:02:58 AM: a0cc59c4 Duration: 1245.12 ms	Memory Usage: 121 MB	Init Duration: 491.62 ms
May 18, 09:02:58 AM: 53b781f3 Duration: 1242.34 ms	Memory Usage: 123 MB	Init Duration: 541.48 ms
May 18, 09:03:01 AM: 0a155432 INFO   [GET] /posts/page/2/ (ODB TTL=60)
May 18, 09:03:01 AM: 0a155432 Duration: 8.68 ms	Memory Usage: 158 MB
May 18, 09:03:07 AM: c58d0409 ERROR  Task timed out after 10.01 seconds
May 18, 09:03:07 AM: c58d0409 Duration: 10014.12 ms	Memory Usage: 164 MB	Init Duration: 462.07 ms
May 18, 09:03:10 AM: 10983212 ERROR  Task timed out after 10.01 seconds
May 18, 09:03:10 AM: 10983212 Duration: 10014.48 ms	Memory Usage: 167 MB
May 18, 09:03:10 AM: INIT_START Runtime Version: nodejs:18.v6	Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:a19cefba18c0aa228bfe71e81d95cc5aab18e4570e899b3cfd9f759f022c7f8c
May 18, 09:04:24 AM: INIT_START Runtime Version: nodejs:18.v6	Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:a19cefba18c0aa228bfe71e81d95cc5aab18e4570e899b3cfd9f759f022c7f8c
May 18, 09:04:24 AM: INIT_START Runtime Version: nodejs:18.v6	Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:a19cefba18c0aa228bfe71e81d95cc5aab18e4570e899b3cfd9f759f022c7f8c
May 18, 09:04:24 AM: d62d6023 INFO   [GET] / (ODB TTL=60)
May 18, 09:04:24 AM: d62d6023 Duration: 1285.18 ms	Memory Usage: 66 MB
May 18, 09:04:25 AM: c7d19ef0 INFO   [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/posts/test.json (ODB TTL=60)
May 18, 09:04:25 AM: c7d19ef0 Duration: 1341.17 ms	Memory Usage: 123 MB	Init Duration: 549.19 ms
May 18, 09:04:32 AM: b7eedec8 INFO   [GET] /posts/page/2/ (ODB TTL=60)
May 18, 09:04:32 AM: b7eedec8 Duration: 8040.66 ms	Memory Usage: 165 MB
May 18, 09:04:32 AM: e92deb44 INFO   [GET] /_next/data/st-TkfJeANHpBLi-Jk9CQ/authors/admin.json (ODB TTL=60)
May 18, 09:04:32 AM: e92deb44 Duration: 8201.64 ms	Memory Usage: 165 MB

.next JSON files

generated .next JSON files
required-server-files.json:
{"version":1,"config":{"env":{"OG_IMAGE_DIRECTORY":"/images/og","POSTS_PRERENDER_COUNT":5,"WORDPRESS_GRAPHQL_ENDPOINT":"https://test.transitgraphics-clientserver.com.au/graphql","WORDPRESS_MENU_LOCATION_NAVIGATION":"PRIMARY","WORDPRESS_PLUGIN_SEO":false},"eslint":{"ignoreDuringBuilds":false},"typescript":{"ignoreBuildErrors":false,"tsconfigPath":"tsconfig.json"},"distDir":".next","cleanDistDir":true,"assetPrefix":"","configOrigin":"next.config.js","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"poweredByHeader":true,"compress":true,"analyticsId":"","images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[16,32,48,64,96,128,256,384],"path":"/_next/image/","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":60,"formats":["image/webp"],"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"inline","remotePatterns":[],"unoptimized":false},"devIndicators":{"buildActivity":true,"buildActivityPosition":"bottom-right"},"onDemandEntries":{"maxInactiveAge":15000,"pagesBufferLength":2},"amp":{"canonicalBase":""},"basePath":"","sassOptions":{},"trailingSlash":true,"i18n":null,"productionBrowserSourceMaps":false,"optimizeFonts":true,"excludeDefaultMomentLocales":true,"serverRuntimeConfig":{},"publicRuntimeConfig":{},"reactStrictMode":true,"httpAgentOptions":{"keepAlive":true},"outputFileTracing":true,"staticPageGenerationTimeout":60,"swcMinify":true,"experimental":{"appDocumentPreloading":true,"clientRouterFilter":false,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","middlewarePrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"legacyBrowsers":false,"newNextLinkBehavior":true,"cpus":15,"sharedPool":true,"isrFlushToDisk":true,"workerThreads":false,"pageEnv":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"disableOptimizedLoading":false,"gzipSize":true,"swcFileReading":true,"craCompat":false,"esmExternals":true,"appDir":true,"isrMemoryCacheSize":52428800,"fullySpecified":false,"outputFileTracingRoot":"/Users/ares/Documents/Ares/nextjs/next-wp","swcTraceProfiling":false,"forceSwcTransforms":false,"largePageDataBytes":128000,"adjustFontFallbacks":false,"adjustFontFallbacksWithSizeAdjust":false,"typedRoutes":false,"instrumentationHook":false,"trustHostHeader":false},"configFileName":"next.config.js"},"appDir":"/Users/ares/Documents/Ares/nextjs/next-wp","relativeAppDir":"","files":[".next/routes-manifest.json",".next/server/pages-manifest.json",".next/build-manifest.json",".next/prerender-manifest.json",".next/server/middleware-manifest.json",".next/server/middleware-build-manifest.js",".next/server/middleware-react-loadable-manifest.js",".next/react-loadable-manifest.json",".next/server/font-manifest.json",".next/BUILD_ID",".next/server/next-font-manifest.js",".next/server/next-font-manifest.json"],"ignore":["node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*"]}


routes-manifest.json:
{"version":3,"pages404":true,"basePath":"","redirects":[{"source":"/:file((?!\\.well-known(?:/.*)?)(?:[^/]+/)*[^/]+\\.\\w+)/","destination":"/:file","internal":true,"missing":[{"type":"header","key":"x-nextjs-data"}],"statusCode":308,"regex":"^(?:/((?!\\.well-known(?:/.*)?)(?:[^/]+/)*[^/]+\\.\\w+))/$"},{"source":"/:notfile((?!\\.well-known(?:/.*)?)(?:[^/]+/)*[^/\\.]+)","destination":"/:notfile/","internal":true,"statusCode":308,"regex":"^(?:/((?!\\.well-known(?:/.*)?)(?:[^/]+/)*[^/\\.]+))$"}],"headers":[],"dynamicRoutes":[{"page":"/authors/[slug]","regex":"^/authors/([^/]+?)(?:/)?$","routeKeys":{"nxtPslug":"nxtPslug"},"namedRegex":"^/authors/(?<nxtPslug>[^/]+?)(?:/)?$"},{"page":"/categories/[slug]","regex":"^/categories/([^/]+?)(?:/)?$","routeKeys":{"nxtPslug":"nxtPslug"},"namedRegex":"^/categories/(?<nxtPslug>[^/]+?)(?:/)?$"},{"page":"/posts/page/[page]","regex":"^/posts/page/([^/]+?)(?:/)?$","routeKeys":{"nxtPpage":"nxtPpage"},"namedRegex":"^/posts/page/(?<nxtPpage>[^/]+?)(?:/)?$"},{"page":"/posts/[slug]","regex":"^/posts/([^/]+?)(?:/)?$","routeKeys":{"nxtPslug":"nxtPslug"},"namedRegex":"^/posts/(?<nxtPslug>[^/]+?)(?:/)?$"},{"page":"/[slugParent]/[[...slugChild]]","regex":"^/([^/]+?)(?:/(.+?))?(?:/)?$","routeKeys":{"nxtPslugParent":"nxtPslugParent","nxtPslugChild":"nxtPslugChild"},"namedRegex":"^/(?<nxtPslugParent>[^/]+?)(?:/(?<nxtPslugChild>.+?))?(?:/)?$"}],"staticRoutes":[{"page":"/","regex":"^/(?:/)?$","routeKeys":{},"namedRegex":"^/(?:/)?$"},{"page":"/404","regex":"^/404(?:/)?$","routeKeys":{},"namedRegex":"^/404(?:/)?$"},{"page":"/500","regex":"^/500(?:/)?$","routeKeys":{},"namedRegex":"^/500(?:/)?$"},{"page":"/categories","regex":"^/categories(?:/)?$","routeKeys":{},"namedRegex":"^/categories(?:/)?$"},{"page":"/posts","regex":"^/posts(?:/)?$","routeKeys":{},"namedRegex":"^/posts(?:/)?$"},{"page":"/search","regex":"^/search(?:/)?$","routeKeys":{},"namedRegex":"^/search(?:/)?$"}],"dataRoutes":[{"page":"/","dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/index.json$"},{"page":"/404","dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/404.json$"},{"page":"/500","dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/500.json$"},{"page":"/authors/[slug]","routeKeys":{"nxtPslug":"nxtPslug"},"dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/authors/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/authors/(?<nxtPslug>[^/]+?)\\.json$"},{"page":"/categories","dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/categories.json$"},{"page":"/categories/[slug]","routeKeys":{"nxtPslug":"nxtPslug"},"dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/categories/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/categories/(?<nxtPslug>[^/]+?)\\.json$"},{"page":"/posts","dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/posts.json$"},{"page":"/posts/page/[page]","routeKeys":{"nxtPpage":"nxtPpage"},"dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/page/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/page/(?<nxtPpage>[^/]+?)\\.json$"},{"page":"/posts/[slug]","routeKeys":{"nxtPslug":"nxtPslug"},"dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/(?<nxtPslug>[^/]+?)\\.json$"},{"page":"/search","dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/search.json$"},{"page":"/[slugParent]/[[...slugChild]]","routeKeys":{"nxtPslugParent":"nxtPslugParent","nxtPslugChild":"nxtPslugChild"},"dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/([^/]+?)(?:/(.+?))?\\.json$","namedDataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/(?<nxtPslugParent>[^/]+?)(?:/(?<nxtPslugChild>.+?))?\\.json$"}],"rsc":{"header":"RSC","varyHeader":"RSC, Next-Router-State-Tree, Next-Router-Prefetch","contentTypeHeader":"text/x-component"},"rewrites":[]}


prerender-manifest.json:
{"version":4,"routes":{"/500":{"initialRevalidateSeconds":10,"srcRoute":null,"dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/500.json"},"/404":{"initialRevalidateSeconds":10,"srcRoute":null,"dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/404.json"},"/categories":{"initialRevalidateSeconds":10,"srcRoute":null,"dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/categories.json"},"/":{"initialRevalidateSeconds":10,"srcRoute":null,"dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/index.json"},"/posts/test-7":{"initialRevalidateSeconds":10,"srcRoute":"/posts/[slug]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/test-7.json"},"/posts/test6":{"initialRevalidateSeconds":10,"srcRoute":"/posts/[slug]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/test6.json"},"/posts/test":{"initialRevalidateSeconds":10,"srcRoute":"/posts/[slug]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/test.json"},"/posts/test-new":{"initialRevalidateSeconds":10,"srcRoute":"/posts/[slug]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/test-new.json"},"/posts/dolor-ut-vero-totam-cumque-at":{"initialRevalidateSeconds":10,"srcRoute":"/posts/[slug]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/dolor-ut-vero-totam-cumque-at.json"},"/search":{"initialRevalidateSeconds":10,"srcRoute":null,"dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/search.json"},"/posts":{"initialRevalidateSeconds":10,"srcRoute":null,"dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/posts.json"},"/404-2":{"initialRevalidateSeconds":10,"srcRoute":"/[slugParent]/[[...slugChild]]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/404-2.json"},"/blog":{"initialRevalidateSeconds":10,"srcRoute":"/[slugParent]/[[...slugChild]]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/blog.json"},"/homepage":{"initialRevalidateSeconds":10,"srcRoute":"/[slugParent]/[[...slugChild]]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/homepage.json"},"/sample-page":{"initialRevalidateSeconds":10,"srcRoute":"/[slugParent]/[[...slugChild]]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/sample-page.json"},"/odio-ut-earum-ea-qui":{"initialRevalidateSeconds":10,"srcRoute":"/[slugParent]/[[...slugChild]]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/odio-ut-earum-ea-qui.json"},"/corrupti-unde-similique-reprehenderit-qui-dolores-aut":{"initialRevalidateSeconds":10,"srcRoute":"/[slugParent]/[[...slugChild]]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/corrupti-unde-similique-reprehenderit-qui-dolores-aut.json"},"/consequuntur-fugiat-qui-sed-est-cum":{"initialRevalidateSeconds":10,"srcRoute":"/[slugParent]/[[...slugChild]]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/consequuntur-fugiat-qui-sed-est-cum.json"},"/animi-est-similique-voluptatem-esse-molestiae":{"initialRevalidateSeconds":10,"srcRoute":"/[slugParent]/[[...slugChild]]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/animi-est-similique-voluptatem-esse-molestiae.json"},"/nobis-aperiam-similique-voluptas-ipsum-at-explicabo":{"initialRevalidateSeconds":10,"srcRoute":"/[slugParent]/[[...slugChild]]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/nobis-aperiam-similique-voluptas-ipsum-at-explicabo.json"},"/ab-quasi-omnis-distinctio-porro-sed":{"initialRevalidateSeconds":10,"srcRoute":"/[slugParent]/[[...slugChild]]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/ab-quasi-omnis-distinctio-porro-sed.json"},"/quia-quo-rerum-voluptas-eius-culpa":{"initialRevalidateSeconds":10,"srcRoute":"/[slugParent]/[[...slugChild]]","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/quia-quo-rerum-voluptas-eius-culpa.json"}},"dynamicRoutes":{"/posts/page/[page]":{"routeRegex":"^/posts/page/([^/]+?)(?:/)?$","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/page/[page].json","fallback":null,"dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/page/([^/]+?)\\.json$"},"/authors/[slug]":{"routeRegex":"^/authors/([^/]+?)(?:/)?$","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/authors/[slug].json","fallback":null,"dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/authors/([^/]+?)\\.json$"},"/categories/[slug]":{"routeRegex":"^/categories/([^/]+?)(?:/)?$","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/categories/[slug].json","fallback":null,"dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/categories/([^/]+?)\\.json$"},"/posts/[slug]":{"routeRegex":"^/posts/([^/]+?)(?:/)?$","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/[slug].json","fallback":null,"dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/posts/([^/]+?)\\.json$"},"/[slugParent]/[[...slugChild]]":{"routeRegex":"^/([^/]+?)(?:/(.+?))?(?:/)?$","dataRoute":"/_next/data/nmiAoY7A21AT_u7wQlm8V/[slugParent]/[[...slugChild]].json","fallback":null,"dataRouteRegex":"^/_next/data/nmiAoY7A21AT_u7wQlm8V/([^/]+?)(?:/(.+?))?\\.json$"}},"notFoundRoutes":[],"preview":{"previewModeId":"f79ec319d38ae3e7b8d470ccec5db6f4","previewModeSigningKey":"bfd75bfce40a2f63dcde58e9f814d26652e86cd73fca1c4401876fae700bce38","previewModeEncryptionKey":"cfbf7fd311022cbdfba580fd569883a880d1f50c05e03be989ea661b54df4215"}}
@AresTG2612 AresTG2612 added the type: bug code to address defects in shipped code label May 17, 2023
@nickytonline
Copy link

We're in the process of upgrading to Next.js 13.4. See #2080. ISR was working, so most likely once this is merged, things should be working again.

@fool
Copy link

fool commented May 18, 2023

Please be aware also that we don't expect to see your new content in the reproduction steps you mentioned, @AresTransitGraphics . Here's the request cycle for a page with a 60 second revalidation set:

  • you make a new deployment, we mark all ISR routes as stale in our database
  • upon first request of any route by a visitor after the deploy, we immediately return the stale content, and run your function in the background to regenerate results
  • before that ISR function run finishes generating the new content (suppose it takes 10s to run), we will continue to return stale content to other visitors who request the data within that time window
  • finally, the run completes, and we cache the new output and begin returning it to visitors (for the next minute)
  • the next request - after the revalidate window has passed (whether 1s or 10 days later) - still gets the stale content.
  • once again, while the ISR function runs, you'll see stale output.
  • finally we update our cache.

So - a test of "made a change, waited 60 s, loaded the page, see old content" is very expected.

To be clear: I do believe you're seeing more misbehavior than that, and am not rejecting your bug report - just wanted to mention that a better test plan would be:

  • make change on backend that would update frontend
  • load frontend content
  • wait 60s (in case the frontend content happened to have been generated just before you started)
  • load frontend content and expect to see stale content
  • wait until ISR function has completed successfully
  • load frontend content one more time and then expect to see fresh content.

@AresTG2612
Copy link
Author

Please be aware also that we don't expect to see your new content in the reproduction steps you mentioned, @AresTransitGraphics . Here's the request cycle for a page with a 60 second revalidation set:

* you make a new deployment, we mark all ISR routes as stale in our database

* upon first request of any route by a visitor after the deploy, we immediately return the stale content, and run your function in the background to regenerate results

* before that ISR function run finishes generating the new content (suppose it takes 10s to run), we will continue to return stale content to other visitors who request the data within that time window

* finally, the run completes, and we cache the new output and begin returning it to visitors (for the next minute)

* the next request - after the revalidate window has passed (whether 1s or 10 days later) - still gets the stale content.

* once again, while the ISR function runs, you'll see stale output.

* finally we update our cache.

So - a test of "made a change, waited 60 s, loaded the page, see old content" is very expected.

To be clear: I do believe you're seeing more misbehavior than that, and am not rejecting your bug report - just wanted to mention that a better test plan would be:

* make change on backend that would update frontend

* load frontend content

* wait 60s (in case the frontend content happened to have been generated just before you started)

* load frontend content _and expect to see stale content_

* wait until ISR function has completed successfully

* load frontend content one more time and _then_ expect to see fresh content.

Thanks @fool, I understand what you mean by the request cycle. I should have explained it in more details.

Actually I waited for far more than 60s to refresh and see the result and refresh and wait for serveral times.

Thanks again for the test plan. I will update it in the initial request.

@AresTG2612
Copy link
Author

We're in the process of upgrading to Next.js 13.4. See #2080. ISR was working, so most likely once this is merged, things should be working again.

Thanks a lot for your reply @nickytonline, I can confirm now it's related to the Next.js version 13.4.0. I've done another test after roll back the nextjs version to 13.3.0, the ISR is working on Netlify now.

Really look forward to the new version nextjs being supported by new version of the next-runtime soon!

Thanks again for your help.

@bentrynning
Copy link

Any updated on this issue, and progress on next 13.4.4 support ?

@nickytonline
Copy link

Any updated on this issue, and progress on next 13.4.4 support ?

@bentrynning, we're still working on it. See #2080

@bentrynning
Copy link

bentrynning commented Jun 11, 2023

Any updated on this issue, and progress on next 13.4.4 support ?

@bentrynning, we're still working on it. See #2080

Thanks for reply @nickytonline. Do you have a working version that I can fallback to with the current version of netlify-runtime. As of now I have tried all the way down to 13.0.0. And the issue still exist, so there is not an optimal situation for the user experience in NextJS sites 🙏

@MarcL
Copy link
Contributor

MarcL commented Jul 11, 2023

Hey, @bentrynning.

We've just had one final issue to sort out and we'll be rolling out a fix this week (11th July 2023).
Once you get version 4.39.0 of the Next.js runtime, can you check if it's fixed for you? Thanks!

@nickhow83
Copy link

Hey, @bentrynning.

We've just had one final issue to sort out and we'll be rolling out a fix this week (11th July 2023). Once you get version 4.39.0 of the Next.js runtime, can you check if it's fixed for you? Thanks!

@MarcL is the related to this issue?
https://answers.netlify.com/t/server-edge-not-defined-error-on-nextjs-ssr-functions-cause-site-to-return-500-errors/91793/71

@MarcL
Copy link
Contributor

MarcL commented Jul 12, 2023

Yes - quite possibly @nickhow83. That's been raised internally and we're looking for you now. 👍🏻

@nickhow83
Copy link

Thanks @MarcL .

It's possible it's also linked to this issue vercel/next.js#49169 (comment)

@MarcL
Copy link
Contributor

MarcL commented Jul 12, 2023

Thanks for the additional info. That's super useful. 🙏🏻

@nickhow83
Copy link

@MarcL Sorry to just tag you, but I don't know who else is appropriate to message on this thread.

I have some more information about what could be going wrong...

The error states the path .netlify/functions-serve/.unzipped/___netlify-odb-handler/node_modules/react-dom/package.json that does not have server.edge exported, which is correct.

However

It shouldn't be looking there for it, it should be looking at the next bundled version of react-dom .netlify/functions-serve/.unzipped/___netlify-odb-handler/node_modules/next/dist/compiled/react-dom/package.json - which indeed has everything that is needed.

It looks like somewhere, I don't know where, the handler is looking to the wrong react-dom for nextjs.

@nickhow83
Copy link

I have found there are 2x issues:

  1. appDir no longer needs to be in the experimental config section. However, the plugin is still using it. I've updated my config for now, so that it still has this flag.
  2. It is not possible to set process.env.__NEXT_PRIVATE_PREBUNDLED_REACT in Netlify, as it breaks AWS on publishing. However, the requireHooks code still looks for it. In this instance, it will always be default. If it's always default then the next or experimental hook aliases will never be used. I've monkey-patched the code as a prebuild step for now, but I think it needs some investigation as to how __NEXT_PRIVATE_PREBUNDLED_REACT can be set, or at least some kind of alias for it.

@bentrynning
Copy link

Hey, @bentrynning.

We've just had one final issue to sort out and we'll be rolling out a fix this week (11th July 2023). Once you get version 4.39.0 of the Next.js runtime, can you check if it's fixed for you? Thanks!

@MarcL
Testet a redeploy today with the following build info
11:26:45 PM: ❯ Installing plugins
11:26:45 PM: - @netlify/plugin-nextjs@4.39.1

But I still get hard page reload when navigating in NextJS App. On version "next": "13.4.5",

@MarcL
Copy link
Contributor

MarcL commented Jul 19, 2023

@nickhow83 - Thanks for the additional context.
@orinokai is currently looking at a fix for this so that extra info will help.

@bentrynning - We're aware of this issue. See also: #2089
We'll be looking at a fix for this as soon as we can too.

@alexmartinezm
Copy link

Hi there, just wanted to mention that downgrading to next version 13.3.4 fixes the issue. Also, you have to set appDir to true in next.config.js.

/** @type {import('next').NextConfig} */
const nextConfig = {
  experimental: {
    appDir: true,
  },
};

module.exports = nextConfig;

Any estimation on when will be a fix available? It's very frustrating to downgrade to a version of May and missing important fixes. Thanks in advance!

benedfit added a commit to newhighsco/destiny-clan-warfare that referenced this issue Sep 21, 2023
@MarcL MarcL added v4 Issues related to the v4 Next.js runtime and removed Ecosystem: Frameworks labels Mar 13, 2024
@serhalp
Copy link
Contributor

serhalp commented Jun 4, 2024

Hi @AresTG2612. ISR works in the Next Runtime v5. Please give that a try and open a new issue if necessary. Thanks!

@serhalp serhalp closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code v4 Issues related to the v4 Next.js runtime
Projects
None yet
Development

No branches or pull requests

8 participants