Closed AresTG2612 closed 4 months ago
We're in the process of upgrading to Next.js 13.4. See https://github.com/netlify/next-runtime/pull/2080. ISR was working, so most likely once this is merged, things should be working again.
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:
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:
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.
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.
Any updated on this issue, and progress on next 13.4.4 support ?
Any updated on this issue, and progress on next 13.4.4 support ?
@bentrynning, we're still working on it. See https://github.com/netlify/next-runtime/pull/2080
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 π
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!
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
Yes - quite possibly @nickhow83. That's been raised internally and we're looking for you now. ππ»
Thanks @MarcL .
It's possible it's also linked to this issue https://github.com/vercel/next.js/issues/49169#issuecomment-1632471018
Thanks for the additional info. That's super useful. ππ»
@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.
I have found there are 2x issues:
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.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.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",
@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: https://github.com/netlify/next-runtime/issues/2089 We'll be looking at a fix for this as soon as we can too.
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!
Hi @AresTG2612. ISR works in the Next Runtime v5. Please give that a try and open a new issue if necessary. Thanks!
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
Next Runtime version
6.37.0
Is your issue related to the
app
directory?app
directoryMore information about your build
netlify.toml
)What OS are you using?
Mac OS
Your netlify.toml file
`netlify.toml`
```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`
```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 (atFunction 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 (.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/(?