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

draft: perf: remove rendering workers + refactor require hook #53527

Closed
wants to merge 4 commits into from

Conversation

feedthejim
Copy link
Contributor

No description provided.

@ijjk ijjk added Turbopack Related to Turbopack with Next.js. created-by: Next.js team PRs by the Next.js team. type: next labels Aug 3, 2023
@ijjk
Copy link
Member

ijjk commented Aug 3, 2023

Failing test suites

Commit: 0262412

pnpm testheadless test/development/acceptance-app/app-hmr-changes.test.ts

  • Error overlay - RSC build errors > should handle successive HMR changes with errors correctly
Expand output

● Error overlay - RSC build errors › should handle successive HMR changes with errors correctly

expect(received).toContain(expected) // indexOf

Expected substring: "A few years ago I tweeted"
Received string:    "<head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width\"><meta name=\"next-head-count\" content=\"2\"><noscript data-n-css=\"\"></noscript><script defer=\"\" nomodule=\"\" src=\"/_next/static/chunks/polyfills.js?ts=1691076457137\"></script><script src=\"/_next/static/chunks/webpack.js?ts=1691076457137\" defer=\"\"></script><script src=\"/_next/static/chunks/main.js?ts=1691076457137\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app.js?ts=1691076457137\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error.js?ts=1691076457137\" defer=\"\"></script><script src=\"/_next/static/development/_buildManifest.js?ts=1691076457137\" defer=\"\"></script><script src=\"/_next/static/development/_ssgManifest.js?ts=1691076457137\" defer=\"\"></script><noscript id=\"__next_css__DO_NOT_USE__\"></noscript></head><body style=\"overflow: hidden;\"><div id=\"__next\"></div><script src=\"/_next/static/chunks/react-refresh.js?ts=1691076457137\"></script><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":500}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"development\",\"isFallback\":false,\"err\":{\"name\":\"TypeError\",\"source\":\"server\",\"message\":\"(0 , _react.use) is not a function\",\"stack\":\"TypeError: (0 , _react.use) is not a function\\n    at ServerComponentWrapper (/tmp/next-install-f331740b0fd4838cf7ec6f8adb0043a31cd451441fbaf10d16c2e7c78ebb84a6/node_modules/.pnpm/file+..+next-repo-cd7387ae92c000269ad93df8d4cb446e_woavx7vpcdbs44x6pjqkx43cji/node_modules/next/dist/server/app-render/create-server-components-renderer.js:78:31)\\n    at renderWithHooks (/tmp/next-install-f331740b0fd4838cf7ec6f8adb0043a31cd451441fbaf10d16c2e7c78ebb84a6/node_modules/.pnpm/file+..+next-repo-cd7387ae92c000269ad93df8d4cb446e_woavx7vpcdbs44x6pjqkx43cji/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:8699:16)\\n    at renderIndeterminateComponent (/tmp/next-install-f331740b0fd4838cf7ec6f8adb0043a31cd451441fbaf10d16c2e7c78ebb84a6/node_modules/.pnpm/file+..+next-repo-cd7387ae92c000269ad93df8d4cb446e_woavx7vpcdbs44x6pjqkx43cji/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:8773:15)\\n    at renderElement (/tmp/next-install-f331740b0fd4838cf7ec6f8adb0043a31cd451441fbaf10d16c2e7c78ebb84a6/node_modules/.pnpm/file+..+next-repo-cd7387ae92c000269ad93df8d4cb446e_woavx7vpcdbs44x6pjqkx43cji/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9008:7)\\n    at renderNodeDestructiveImpl (/tmp/next-install-f331740b0fd4838cf7ec6f8adb0043a31cd451441fbaf10d16c2e7c78ebb84a6/node_modules/.pnpm/file+..+next-repo-cd7387ae92c000269ad93df8d4cb446e_woavx7vpcdbs44x6pjqkx43cji/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9174:11)\\n    at renderNodeDestructive (/tmp/next-install-f331740b0fd4838cf7ec6f8adb0043a31cd451441fbaf10d16c2e7c78ebb84a6/node_modules/.pnpm/file+..+next-repo-cd7387ae92c000269ad93df8d4cb446e_woavx7vpcdbs44x6pjqkx43cji/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9146:14)\\n    at retryTask (/tmp/next-install-f331740b0fd4838cf7ec6f8adb0043a31cd451441fbaf10d16c2e7c78ebb84a6/node_modules/.pnpm/file+..+next-repo-cd7387ae92c000269ad93df8d4cb446e_woavx7vpcdbs44x6pjqkx43cji/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9641:5)\\n    at performWork (/tmp/next-install-f331740b0fd4838cf7ec6f8adb0043a31cd451441fbaf10d16c2e7c78ebb84a6/node_modules/.pnpm/file+..+next-repo-cd7387ae92c000269ad93df8d4cb446e_woavx7vpcdbs44x6pjqkx43cji/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9712:7)\\n    at AsyncLocalStorage.run (node:async_hooks:338:14)\\n    at Timeout._onTimeout (/tmp/next-install-f331740b0fd4838cf7ec6f8adb0043a31cd451441fbaf10d16c2e7c78ebb84a6/node_modules/.pnpm/file+..+next-repo-cd7387ae92c000269ad93df8d4cb446e_woavx7vpcdbs44x6pjqkx43cji/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:10092:29)\\n    at listOnTimeout (node:internal/timers:569:17)\\n    at process.processTimers (node:internal/timers:512:7)\"},\"gip\":true,\"scriptLoader\":[]}</script><div id=\"__next-build-watcher\" style=\"position: fixed; bottom: 10px; right: 20px; width: 0px; height: 0px; z-index: 99999;\"></div><next-route-announcer><p aria-live=\"assertive\" id=\"__next-route-announcer__\" role=\"alert\" style=\"border: 0px; clip: rect(0px, 0px, 0px, 0px); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; top: 0px; width: 1px; white-space: nowrap; overflow-wrap: normal;\"></p></next-route-announcer><nextjs-portal></nextjs-portal></body>"

  29 |     expect(
  30 |       await session.evaluate('document.documentElement.innerHTML')
> 31 |     ).toContain('A few years ago I tweeted')
     |       ^
  32 |
  33 |     const pagePath = 'app/(post)/2020/develop-preview-test/page.mdx'
  34 |     const originalPage = await next.readFile(pagePath)

  at Object.<anonymous> (development/acceptance-app/app-hmr-changes.test.ts:31:7)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/development/acceptance-app/dynamic-error.test.ts

  • dynamic = "error" in devmode > should show error overlay when dynamic is forced
Expand output

● dynamic = "error" in devmode › should show error overlay when dynamic is forced

expect(received).toBe(expected) // Object.is equality

Expected: "Error: Page with `dynamic = \"error\"` couldn't be rendered statically because it used `cookies`."
Received: "TypeError: (0 , _react.use) is not a function"

  33 |     await session.hasRedbox(true)
  34 |     console.log(await session.getRedboxDescription())
> 35 |     expect(await session.getRedboxDescription()).toBe(
     |                                                  ^
  36 |       `Error: Page with \`dynamic = "error"\` couldn't be rendered statically because it used \`cookies\`.`
  37 |     )
  38 |

  at Object.<anonymous> (development/acceptance-app/dynamic-error.test.ts:35:50)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/development/acceptance-app/ReactRefresh.test.ts

  • ReactRefresh app > can edit a component without losing state
  • ReactRefresh app > cyclic dependencies
Expand output

● ReactRefresh app › can edit a component without losing state

expect(received).toBe(expected) // Object.is equality

Expected: "1"
Received: ""

  36 |     expect(
  37 |       await session.evaluate(() => document.querySelector('p').textContent)
> 38 |     ).toBe('1')
     |       ^
  39 |     await session.patch(
  40 |       'index.js',
  41 |       outdent`

  at Object.<anonymous> (development/acceptance-app/ReactRefresh.test.ts:38:7)

● ReactRefresh app › cyclic dependencies

expect(received).toBe(expected) // Object.is equality

Expected: "Hello. 100"
Received: ""

  165 |     expect(
  166 |       await session.evaluate(() => document.querySelector('p').textContent)
> 167 |     ).toBe('Hello. 100')
      |       ^
  168 |
  169 |     let didFullRefresh = !(await session.patch(
  170 |       'SurveyOverview.js',

  at Object.<anonymous> (development/acceptance-app/ReactRefresh.test.ts:167:7)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/integration/app-dir-export/test/trailing-slash-dev.test.ts

  • should work in dev with trailingSlash 'false'

  • should work in dev with trailingSlash 'true'

Expand output

● should work in dev with trailingSlash 'false'

TIMED OUT: Home

Server Error

undefined

  653 |
  654 |   if (hardError) {
> 655 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |           ^
  656 |   }
  657 |   return false
  658 | }

  at check (lib/next-test-utils.ts:655:11)
  at runTests (integration/app-dir-export/test/utils.ts:153:7)
  at integration/app-dir-export/test/trailing-slash-dev.test.ts:6:5

● should work in dev with trailingSlash 'true'

TIMED OUT: Home

Server Error

undefined

  653 |
  654 |   if (hardError) {
> 655 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |           ^
  656 |   }
  657 |   return false
  658 | }

  at check (lib/next-test-utils.ts:655:11)
  at runTests (integration/app-dir-export/test/utils.ts:153:7)
  at integration/app-dir-export/test/trailing-slash-dev.test.ts:6:5

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/integration/app-config-asset-prefix/test/index.test.js

  • App assetPrefix config > should render correctly with assetPrefix: "/"
Expand output

● App assetPrefix config › should render correctly with assetPrefix: "/"

page.waitForSelector: Timeout 60000ms exceeded.
=========================== logs ===========================
waiting for locator('#title')
============================================================

  341 |     return this.chain(() => {
  342 |       return page
> 343 |         .waitForSelector(selector, { timeout, state: 'attached' })
      |          ^
  344 |         .then(async (el) => {
  345 |           // it seems selenium waits longer and tests rely on this behavior
  346 |           // so we wait for the load event fire before returning

  at lib/browsers/playwright.ts:343:10

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/integration/create-next-app/templates-app.test.ts

  • create-next-app --app > should create TS appDir projects with --ts
  • create-next-app --app > should create JS appDir projects with --js
  • create-next-app --app > should create JS appDir projects with --js --src-dir
  • create-next-app --app > should create Tailwind CSS appDir projects with --tailwind
Expand output

● create-next-app --app › should create TS appDir projects with --ts

expect(received).toContain(expected) // indexOf

Expected substring: "Get started by editing"
Received string:    "<!DOCTYPE html><html><head><style data-next-hide-fouc=\"true\">body{display:none}</style><noscript data-next-hide-fouc=\"true\"><style>body{display:block}</style></noscript><meta charSet=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width\"/><meta name=\"next-head-count\" content=\"2\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" nomodule=\"\" src=\"/_next/static/chunks/polyfills.js?ts=1691076556229\"></script><script src=\"/_next/static/chunks/webpack.js?ts=1691076556229\" defer=\"\"></script><script src=\"/_next/static/chunks/main.js?ts=1691076556229\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app.js?ts=1691076556229\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error.js?ts=1691076556229\" defer=\"\"></script><script src=\"/_next/static/development/_buildManifest.js?ts=1691076556229\" defer=\"\"></script><script src=\"/_next/static/development/_ssgManifest.js?ts=1691076556229\" defer=\"\"></script><noscript id=\"__next_css__DO_NOT_USE__\"></noscript></head><body><div id=\"__next\"></div><script src=\"/_next/static/chunks/react-refresh.js?ts=1691076556229\"></script><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":500}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"development\",\"isFallback\":false,\"err\":{\"name\":\"TypeError\",\"source\":\"server\",\"message\":\"(0 , _react.use) is not a function\",\"stack\":\"TypeError: (0 , _react.use) is not a function\\n    at ServerComponentWrapper (/tmp/next-test-zk5uv8omy5/appdir-test/node_modules/next/dist/server/app-render/create-server-components-renderer.js:78:31)\\n    at renderWithHooks (/tmp/next-test-zk5uv8omy5/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:8699:16)\\n    at renderIndeterminateComponent (/tmp/next-test-zk5uv8omy5/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:8773:15)\\n    at renderElement (/tmp/next-test-zk5uv8omy5/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9008:7)\\n    at renderNodeDestructiveImpl (/tmp/next-test-zk5uv8omy5/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9174:11)\\n    at renderNodeDestructive (/tmp/next-test-zk5uv8omy5/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9146:14)\\n    at retryTask (/tmp/next-test-zk5uv8omy5/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9641:5)\\n    at performWork (/tmp/next-test-zk5uv8omy5/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9712:7)\\n    at AsyncLocalStorage.run (node:async_hooks:330:14)\\n    at Timeout._onTimeout (/tmp/next-test-zk5uv8omy5/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:10092:29)\\n    at listOnTimeout (node:internal/timers:559:17)\\n    at processTimers (node:internal/timers:502:7)\"},\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

  37 |     try {
  38 |       const res = await fetchViaHTTP(appPort, '/')
> 39 |       expect(await res.text()).toContain('Get started by editing')
     |                                ^
  40 |       expect(res.status).toBe(200)
  41 |
  42 |       if (!usingAppDirectory) {

  at startsWithoutError (integration/create-next-app/templates-app.test.ts:39:32)
  at integration/create-next-app/templates-app.test.ts:85:7
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates-app.test.ts:64:5)

● create-next-app --app › should create JS appDir projects with --js

expect(received).toContain(expected) // indexOf

Expected substring: "Get started by editing"
Received string:    "<!DOCTYPE html><html><head><style data-next-hide-fouc=\"true\">body{display:none}</style><noscript data-next-hide-fouc=\"true\"><style>body{display:block}</style></noscript><meta charSet=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width\"/><meta name=\"next-head-count\" content=\"2\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" nomodule=\"\" src=\"/_next/static/chunks/polyfills.js?ts=1691076579077\"></script><script src=\"/_next/static/chunks/webpack.js?ts=1691076579077\" defer=\"\"></script><script src=\"/_next/static/chunks/main.js?ts=1691076579077\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app.js?ts=1691076579077\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error.js?ts=1691076579077\" defer=\"\"></script><script src=\"/_next/static/development/_buildManifest.js?ts=1691076579077\" defer=\"\"></script><script src=\"/_next/static/development/_ssgManifest.js?ts=1691076579077\" defer=\"\"></script><noscript id=\"__next_css__DO_NOT_USE__\"></noscript></head><body><div id=\"__next\"></div><script src=\"/_next/static/chunks/react-refresh.js?ts=1691076579077\"></script><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":500}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"development\",\"isFallback\":false,\"err\":{\"name\":\"TypeError\",\"source\":\"server\",\"message\":\"(0 , _react.use) is not a function\",\"stack\":\"TypeError: (0 , _react.use) is not a function\\n    at ServerComponentWrapper (/tmp/next-test-y8r8dx9n6je/appdir-test/node_modules/next/dist/server/app-render/create-server-components-renderer.js:78:31)\\n    at renderWithHooks (/tmp/next-test-y8r8dx9n6je/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:8699:16)\\n    at renderIndeterminateComponent (/tmp/next-test-y8r8dx9n6je/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:8773:15)\\n    at renderElement (/tmp/next-test-y8r8dx9n6je/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9008:7)\\n    at renderNodeDestructiveImpl (/tmp/next-test-y8r8dx9n6je/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9174:11)\\n    at renderNodeDestructive (/tmp/next-test-y8r8dx9n6je/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9146:14)\\n    at retryTask (/tmp/next-test-y8r8dx9n6je/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9641:5)\\n    at performWork (/tmp/next-test-y8r8dx9n6je/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9712:7)\\n    at AsyncLocalStorage.run (node:async_hooks:330:14)\\n    at Timeout._onTimeout (/tmp/next-test-y8r8dx9n6je/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:10092:29)\\n    at listOnTimeout (node:internal/timers:559:17)\\n    at processTimers (node:internal/timers:502:7)\"},\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

  37 |     try {
  38 |       const res = await fetchViaHTTP(appPort, '/')
> 39 |       expect(await res.text()).toContain('Get started by editing')
     |                                ^
  40 |       expect(res.status).toBe(200)
  41 |
  42 |       if (!usingAppDirectory) {

  at startsWithoutError (integration/create-next-app/templates-app.test.ts:39:32)
  at integration/create-next-app/templates-app.test.ts:116:7
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates-app.test.ts:94:5)

● create-next-app --app › should create JS appDir projects with --js --src-dir

expect(received).toContain(expected) // indexOf

Expected substring: "Get started by editing"
Received string:    "<!DOCTYPE html><html><head><style data-next-hide-fouc=\"true\">body{display:none}</style><noscript data-next-hide-fouc=\"true\"><style>body{display:block}</style></noscript><meta charSet=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width\"/><meta name=\"next-head-count\" content=\"2\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" nomodule=\"\" src=\"/_next/static/chunks/polyfills.js?ts=1691076601274\"></script><script src=\"/_next/static/chunks/webpack.js?ts=1691076601274\" defer=\"\"></script><script src=\"/_next/static/chunks/main.js?ts=1691076601274\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app.js?ts=1691076601274\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error.js?ts=1691076601274\" defer=\"\"></script><script src=\"/_next/static/development/_buildManifest.js?ts=1691076601274\" defer=\"\"></script><script src=\"/_next/static/development/_ssgManifest.js?ts=1691076601274\" defer=\"\"></script><noscript id=\"__next_css__DO_NOT_USE__\"></noscript></head><body><div id=\"__next\"></div><script src=\"/_next/static/chunks/react-refresh.js?ts=1691076601274\"></script><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":500}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"development\",\"isFallback\":false,\"err\":{\"name\":\"TypeError\",\"source\":\"server\",\"message\":\"(0 , _react.use) is not a function\",\"stack\":\"TypeError: (0 , _react.use) is not a function\\n    at ServerComponentWrapper (/tmp/next-test-4tauxvl6t0y/appdir-test/node_modules/next/dist/server/app-render/create-server-components-renderer.js:78:31)\\n    at renderWithHooks (/tmp/next-test-4tauxvl6t0y/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:8699:16)\\n    at renderIndeterminateComponent (/tmp/next-test-4tauxvl6t0y/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:8773:15)\\n    at renderElement (/tmp/next-test-4tauxvl6t0y/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9008:7)\\n    at renderNodeDestructiveImpl (/tmp/next-test-4tauxvl6t0y/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9174:11)\\n    at renderNodeDestructive (/tmp/next-test-4tauxvl6t0y/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9146:14)\\n    at retryTask (/tmp/next-test-4tauxvl6t0y/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9641:5)\\n    at performWork (/tmp/next-test-4tauxvl6t0y/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9712:7)\\n    at AsyncLocalStorage.run (node:async_hooks:330:14)\\n    at Timeout._onTimeout (/tmp/next-test-4tauxvl6t0y/appdir-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:10092:29)\\n    at listOnTimeout (node:internal/timers:559:17)\\n    at processTimers (node:internal/timers:502:7)\"},\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

  37 |     try {
  38 |       const res = await fetchViaHTTP(appPort, '/')
> 39 |       expect(await res.text()).toContain('Get started by editing')
     |                                ^
  40 |       expect(res.status).toBe(200)
  41 |
  42 |       if (!usingAppDirectory) {

  at startsWithoutError (integration/create-next-app/templates-app.test.ts:39:32)
  at integration/create-next-app/templates-app.test.ts:153:7
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates-app.test.ts:125:5)

● create-next-app --app › should create Tailwind CSS appDir projects with --tailwind

expect(received).toContain(expected) // indexOf

Expected substring: "Get started by editing"
Received string:    "<!DOCTYPE html><html><head><style data-next-hide-fouc=\"true\">body{display:none}</style><noscript data-next-hide-fouc=\"true\"><style>body{display:block}</style></noscript><meta charSet=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width\"/><meta name=\"next-head-count\" content=\"2\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" nomodule=\"\" src=\"/_next/static/chunks/polyfills.js?ts=1691076624293\"></script><script src=\"/_next/static/chunks/webpack.js?ts=1691076624293\" defer=\"\"></script><script src=\"/_next/static/chunks/main.js?ts=1691076624293\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app.js?ts=1691076624293\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error.js?ts=1691076624293\" defer=\"\"></script><script src=\"/_next/static/development/_buildManifest.js?ts=1691076624293\" defer=\"\"></script><script src=\"/_next/static/development/_ssgManifest.js?ts=1691076624293\" defer=\"\"></script><noscript id=\"__next_css__DO_NOT_USE__\"></noscript></head><body><div id=\"__next\"></div><script src=\"/_next/static/chunks/react-refresh.js?ts=1691076624293\"></script><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":500}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"development\",\"isFallback\":false,\"err\":{\"name\":\"TypeError\",\"source\":\"server\",\"message\":\"(0 , _react.use) is not a function\",\"stack\":\"TypeError: (0 , _react.use) is not a function\\n    at ServerComponentWrapper (/tmp/next-test-p7ptposiii/appdir-tailwind-test/node_modules/next/dist/server/app-render/create-server-components-renderer.js:78:31)\\n    at renderWithHooks (/tmp/next-test-p7ptposiii/appdir-tailwind-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:8699:16)\\n    at renderIndeterminateComponent (/tmp/next-test-p7ptposiii/appdir-tailwind-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:8773:15)\\n    at renderElement (/tmp/next-test-p7ptposiii/appdir-tailwind-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9008:7)\\n    at renderNodeDestructiveImpl (/tmp/next-test-p7ptposiii/appdir-tailwind-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9174:11)\\n    at renderNodeDestructive (/tmp/next-test-p7ptposiii/appdir-tailwind-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9146:14)\\n    at retryTask (/tmp/next-test-p7ptposiii/appdir-tailwind-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9641:5)\\n    at performWork (/tmp/next-test-p7ptposiii/appdir-tailwind-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:9712:7)\\n    at AsyncLocalStorage.run (node:async_hooks:330:14)\\n    at Timeout._onTimeout (/tmp/next-test-p7ptposiii/appdir-tailwind-test/node_modules/next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js:10092:29)\\n    at listOnTimeout (node:internal/timers:559:17)\\n    at processTimers (node:internal/timers:502:7)\"},\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

  37 |     try {
  38 |       const res = await fetchViaHTTP(appPort, '/')
> 39 |       expect(await res.text()).toContain('Get started by editing')
     |                                ^
  40 |       expect(res.status).toBe(200)
  41 |
  42 |       if (!usingAppDirectory) {

  at startsWithoutError (integration/create-next-app/templates-app.test.ts:39:32)
  at integration/create-next-app/templates-app.test.ts:189:7
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates-app.test.ts:162:5)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/integration/app-dir-export/test/start.test.ts

  • app dir with output export (next start) > should error during next start with output export
  • app dir with output export (next start) > should warn during next start with output standalone
Expand output

● app dir with output export (next start) › should error during next start with output export

command failed with code 1 signal null
- info Creating an optimized production build...
- info Using locally built binary of @next/swc
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
- info Compiled successfully
- info Linting and checking validity of types...
- warn The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
- info Collecting page data...
- info Generating static pages (0/12)

Error occurred prerendering page "/image-import". Read more: https://nextjs.org/docs/messages/prerender-error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json

  21 |   const hookResolved = matchModule(request)
  22 |   if (hookResolved) request = hookResolved
> 23 |   return resolveFilename.call(mod, request, parent, isMain, options)
     |                          ^
  24 | }
  25 |

  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/another/first". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/another/second". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (3/12)
  Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/_not-found". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (6/12)
  - info Generating static pages (9/12)
  Error occurred prerendering page "/another". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (12/12)
  > Export encountered errors on following paths:
  	/_not-found
  	/another/[slug]/page: /another/first
  	/another/[slug]/page: /another/second
  	/another/page: /another
  	/image-import/page: /image-import
  	/page: /
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:299:11)

● app dir with output export (next start) › should error during next start with output export

TypeError: Cannot read properties of undefined (reading 'pid')

  555 | // Kill a launched app
  556 | export async function killApp(instance: ChildProcess) {
> 557 |   await killProcess(instance.pid)
      |                              ^
  558 | }
  559 |
  560 | export async function startApp(app: NextServer) {

  at killApp (lib/next-test-utils.ts:557:30)
  at Object.<anonymous> (integration/app-dir-export/test/start.test.ts:22:18)

● app dir with output export (next start) › should warn during next start with output standalone

command failed with code 1 signal null
- info Creating an optimized production build...
- info Using locally built binary of @next/swc
- info Compiled successfully
- info Linting and checking validity of types...
- warn The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
- info Collecting page data...
- info Generating static pages (0/12)

Error occurred prerendering page "/image-import". Read more: https://nextjs.org/docs/messages/prerender-error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json

  21 |   const hookResolved = matchModule(request)
  22 |   if (hookResolved) request = hookResolved
> 23 |   return resolveFilename.call(mod, request, parent, isMain, options)
     |                          ^
  24 | }
  25 |

  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/another/second". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (3/12)
  Error occurred prerendering page "/another/first". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (6/12)
  Error occurred prerendering page "/_not-found". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (9/12)
  Error occurred prerendering page "/another". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (12/12)
  > Export encountered errors on following paths:
  	/_not-found
  	/another/[slug]/page: /another/first
  	/another/[slug]/page: /another/second
  	/another/page: /another
  	/image-import/page: /image-import
  	/page: /
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:299:11)

● app dir with output export (next start) › should warn during next start with output standalone

TypeError: Cannot read properties of undefined (reading 'pid')

  555 | // Kill a launched app
  556 | export async function killApp(instance: ChildProcess) {
> 557 |   await killProcess(instance.pid)
      |                              ^
  558 | }
  559 |
  560 | export async function startApp(app: NextServer) {

  at killApp (lib/next-test-utils.ts:557:30)
  at Object.<anonymous> (integration/app-dir-export/test/start.test.ts:22:18)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/integration/app-dir-export/test/dynamicapiroute-dev.test.ts

  • should work in dev with dynamicApiRoute undefined

  • should work in dev with dynamicApiRoute 'error'

  • should work in dev with dynamicApiRoute 'force-static'

Expand output

● should work in dev with dynamicApiRoute undefined

TIMED OUT: Home

Server Error

undefined

  653 |
  654 |   if (hardError) {
> 655 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |           ^
  656 |   }
  657 |   return false
  658 | }

  at check (lib/next-test-utils.ts:655:11)
  at runTests (integration/app-dir-export/test/utils.ts:153:7)
  at integration/app-dir-export/test/dynamicapiroute-dev.test.ts:15:5

● should work in dev with dynamicApiRoute 'error'

TIMED OUT: Home

Server Error

undefined

  653 |
  654 |   if (hardError) {
> 655 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |           ^
  656 |   }
  657 |   return false
  658 | }

  at check (lib/next-test-utils.ts:655:11)
  at runTests (integration/app-dir-export/test/utils.ts:153:7)
  at integration/app-dir-export/test/dynamicapiroute-dev.test.ts:15:5

● should work in dev with dynamicApiRoute 'force-static'

TIMED OUT: Home

Server Error

undefined

  653 |
  654 |   if (hardError) {
> 655 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |           ^
  656 |   }
  657 |   return false
  658 | }

  at check (lib/next-test-utils.ts:655:11)
  at runTests (integration/app-dir-export/test/utils.ts:153:7)
  at integration/app-dir-export/test/dynamicapiroute-dev.test.ts:15:5

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/integration/tsconfig-verifier/test/index.test.js

  • tsconfig.json verifier > Creates a default tsconfig.json when one is missing
  • tsconfig.json verifier > Works with an empty tsconfig.json (docs)
  • tsconfig.json verifier > Updates an existing tsconfig.json without losing comments
  • tsconfig.json verifier > allows you to set commonjs module mode
  • tsconfig.json verifier > allows you to set es2020 module mode
  • tsconfig.json verifier > allows you to set node16 moduleResolution mode
  • tsconfig.json verifier > allows you to set bundler moduleResolution mode
  • tsconfig.json verifier > allows you to set target mode
  • tsconfig.json verifier > allows you to set node16 module mode
  • tsconfig.json verifier > allows you to set verbatimModuleSyntax true without adding isolatedModules
  • tsconfig.json verifier > allows you to extend another configuration file
  • tsconfig.json verifier > creates compilerOptions when you extend another config
Expand output

● tsconfig.json verifier › Creates a default tsconfig.json when one is missing

command failed with code 1 signal null
- info Creating an optimized production build...
- info Using locally built binary of @next/swc
- info Linting and checking validity of types...
We detected TypeScript in your project and created a tsconfig.json file for you.

- warn The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
- info Collecting page data...
- info Generating static pages (0/4)
- info Generating static pages (1/4)

Error occurred prerendering page "/test". Read more: https://nextjs.org/docs/messages/prerender-error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json

  21 |   const hookResolved = matchModule(request)
  22 |   if (hookResolved) request = hookResolved
> 23 |   return resolveFilename.call(mod, request, parent, isMain, options)
     |                          ^
  24 | }
  25 |

  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (2/4)
  - info Generating static pages (3/4)
  - info Generating static pages (4/4)
  > Export encountered errors on following paths:
  	/test/page: /test
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:299:11)

● tsconfig.json verifier › Works with an empty tsconfig.json (docs)

expect(received).toBe(expected) // Object.is equality

Expected: 0
Received: 1

  77 |     })
  78 |     expect(stderr + stdout).not.toContain('moduleResolution')
> 79 |     expect(code).toBe(0)
     |                  ^
  80 |
  81 |     expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(`
  82 |       "{

  at Object.<anonymous> (integration/tsconfig-verifier/test/index.test.js:79:18)

● tsconfig.json verifier › Updates an existing tsconfig.json without losing comments

command failed with code 1 signal null
- info Creating an optimized production build...
- info Using locally built binary of @next/swc
- info Linting and checking validity of types...
We detected TypeScript in your project and reconfigured your tsconfig.json file for you. Strict-mode is set to false by default.

The following suggested values were added to your tsconfig.json. These values can be changed to fit your project's needs:

	- lib was set to dom,dom.iterable,esnext
	- allowJs was set to true
	- skipLibCheck was set to true
	- strict was set to false
	- forceConsistentCasingInFileNames was set to true
	- noEmit was set to true
	- incremental was set to true
	- include was set to ['next-env.d.ts', '.next/types/**/*.ts', '**/*.ts', '**/*.tsx']
	- plugins was updated to add { name: 'next' }
	- strictNullChecks was set to true
	- exclude was set to ['node_modules']

The following mandatory changes were made to your tsconfig.json:

	- esModuleInterop was set to true (requirement for SWC / babel)
	- module was set to esnext (for dynamic import() support)
	- moduleResolution was set to node (to match webpack resolution)
	- resolveJsonModule was set to true (to match webpack resolution)
	- isolatedModules was set to true (requirement for SWC / Babel)
	- jsx was set to preserve (next.js implements its own optimized jsx transform)

- warn The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
- info Collecting page data...
- info Generating static pages (0/4)
- info Generating static pages (1/4)
- info Generating static pages (2/4)
- info Generating static pages (3/4)

Error occurred prerendering page "/test". Read more: https://nextjs.org/docs/messages/prerender-error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json

  21 |   const hookResolved = matchModule(request)
  22 |   if (hookResolved) request = hookResolved
> 23 |   return resolveFilename.call(mod, request, parent, isMain, options)
     |                          ^
  24 | }
  25 |

  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (4/4)
  > Export encountered errors on following paths:
  	/test/page: /test
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:299:11)

● tsconfig.json verifier › allows you to set commonjs module mode

command failed with code 1 signal null
- info Creating an optimized production build...
- info Using locally built binary of @next/swc
- info Linting and checking validity of types...
We detected TypeScript in your project and reconfigured your tsconfig.json file for you. Strict-mode is set to false by default.

The following suggested values were added to your tsconfig.json. These values can be changed to fit your project's needs:

	- lib was set to dom,dom.iterable,esnext
	- allowJs was set to true
	- skipLibCheck was set to true
	- strict was set to false
	- forceConsistentCasingInFileNames was set to true
	- noEmit was set to true
	- incremental was set to true
	- include was set to ['next-env.d.ts', '.next/types/**/*.ts', '**/*.ts', '**/*.tsx']
	- plugins was updated to add { name: 'next' }
	- strictNullChecks was set to true
	- exclude was set to ['node_modules']

The following mandatory changes were made to your tsconfig.json:

	- esModuleInterop was set to true (requirement for SWC / babel)
	- moduleResolution was set to node (to match webpack resolution)
	- resolveJsonModule was set to true (to match webpack resolution)
	- isolatedModules was set to true (requirement for SWC / Babel)
	- jsx was set to preserve (next.js implements its own optimized jsx transform)

- warn The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
- info Collecting page data...
- info Generating static pages (0/4)
- info Generating static pages (1/4)

Error occurred prerendering page "/test". Read more: https://nextjs.org/docs/messages/prerender-error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json

  21 |   const hookResolved = matchModule(request)
  22 |   if (hookResolved) request = hookResolved
> 23 |   return resolveFilename.call(mod, request, parent, isMain, options)
     |                          ^
  24 | }
  25 |

  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (2/4)
  - info Generating static pages (3/4)
  - info Generating static pages (4/4)
  > Export encountered errors on following paths:
  	/test/page: /test
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:299:11)

● tsconfig.json verifier › allows you to set es2020 module mode

command failed with code 1 signal null
- info Creating an optimized production build...
- info Using locally built binary of @next/swc
- info Linting and checking validity of types...
We detected TypeScript in your project and reconfigured your tsconfig.json file for you. Strict-mode is set to false by default.

The following suggested values were added to your tsconfig.json. These values can be changed to fit your project's needs:

	- lib was set to dom,dom.iterable,esnext
	- allowJs was set to true
	- skipLibCheck was set to true
	- strict was set to false
	- forceConsistentCasingInFileNames was set to true
	- noEmit was set to true
	- incremental was set to true
	- include was set to ['next-env.d.ts', '.next/types/**/*.ts', '**/*.ts', '**/*.tsx']
	- plugins was updated to add { name: 'next' }
	- strictNullChecks was set to true
	- exclude was set to ['node_modules']

The following mandatory changes were made to your tsconfig.json:

	- esModuleInterop was set to true (requirement for SWC / babel)
	- moduleResolution was set to node (to match webpack resolution)
	- resolveJsonModule was set to true (to match webpack resolution)
	- isolatedModules was set to true (requirement for SWC / Babel)
	- jsx was set to preserve (next.js implements its own optimized jsx transform)

- warn The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
- info Collecting page data...
- info Generating static pages (0/4)

Error occurred prerendering page "/test". Read more: https://nextjs.org/docs/messages/prerender-error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json

  21 |   const hookResolved = matchModule(request)
  22 |   if (hookResolved) request = hookResolved
> 23 |   return resolveFilename.call(mod, request, parent, isMain, options)
     |                          ^
  24 | }
  25 |

  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (1/4)
  - info Generating static pages (2/4)
  - info Generating static pages (3/4)
  - info Generating static pages (4/4)
  > Export encountered errors on following paths:
  	/test/page: /test
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:299:11)

● tsconfig.json verifier › allows you to set node16 moduleResolution mode

expect(received).toBe(expected) // Object.is equality

Expected: 0
Received: 1

  312 |     })
  313 |     expect(stderr + stdout).not.toContain('moduleResolution')
> 314 |     expect(code).toBe(0)
      |                  ^
  315 |
  316 |     expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(`
  317 |       "{

  at Object.<anonymous> (integration/tsconfig-verifier/test/index.test.js:314:18)

● tsconfig.json verifier › allows you to set bundler moduleResolution mode

expect(received).toBe(expected) // Object.is equality

Expected: 0
Received: 1

  368 |     })
  369 |     expect(stderr + stdout).not.toContain('moduleResolution')
> 370 |     expect(code).toBe(0)
      |                  ^
  371 |
  372 |     expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(`
  373 |       "{

  at Object.<anonymous> (integration/tsconfig-verifier/test/index.test.js:370:18)

● tsconfig.json verifier › allows you to set target mode

expect(received).toBe(expected) // Object.is equality

Expected: 0
Received: 1

  421 |     })
  422 |     expect(stderr + stdout).not.toContain('target')
> 423 |     expect(code).toBe(0)
      |                  ^
  424 |
  425 |     expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(`
  426 |       "{

  at Object.<anonymous> (integration/tsconfig-verifier/test/index.test.js:423:18)

● tsconfig.json verifier › allows you to set node16 module mode

expect(received).toBe(expected) // Object.is equality

Expected: 0
Received: 1

  478 |     })
  479 |     expect(stderr + stdout).not.toContain('moduleResolution')
> 480 |     expect(code).toBe(0)
      |                  ^
  481 |
  482 |     expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(`
  483 |       "{

  at Object.<anonymous> (integration/tsconfig-verifier/test/index.test.js:480:18)

● tsconfig.json verifier › allows you to set verbatimModuleSyntax true without adding isolatedModules

expect(received).toBe(expected) // Object.is equality

Expected: 0
Received: 1

  534 |     })
  535 |     expect(stderr + stdout).not.toContain('isolatedModules')
> 536 |     expect(code).toBe(0)
      |                  ^
  537 |
  538 |     expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(`
  539 |       "{

  at Object.<anonymous> (integration/tsconfig-verifier/test/index.test.js:536:18)

● tsconfig.json verifier › allows you to extend another configuration file

expect(received).toBe(expected) // Object.is equality

Expected: 0
Received: 1

  632 |     })
  633 |     expect(stderr + stdout).not.toContain('moduleResolution')
> 634 |     expect(code).toBe(0)
      |                  ^
  635 |
  636 |     expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(
  637 |       `"{ \\"extends\\": \\"./tsconfig.base.json\\" }"`

  at Object.<anonymous> (integration/tsconfig-verifier/test/index.test.js:634:18)

● tsconfig.json verifier › creates compilerOptions when you extend another config

expect(received).toBe(expected) // Object.is equality

Expected: 0
Received: 1

  693 |     })
  694 |     expect(stderr + stdout).not.toContain('moduleResolution')
> 695 |     expect(code).toBe(0)
      |                  ^
  696 |
  697 |     expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(`
  698 |       "{

  at Object.<anonymous> (integration/tsconfig-verifier/test/index.test.js:695:18)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/integration/app-dir-export/test/config.test.ts

  • app dir with output export (next dev / next build) > should warn about "next export" is no longer needed with config
  • app dir with output export (next dev / next build) > should error when "next export -o " is used with config
  • app dir with output export (next dev / next build) > should error when no config.output detected for next export
  • app dir with output export (next dev / next build) > should correctly emit exported assets to config.distDir
Expand output

● app dir with output export (next dev / next build) › should warn about "next export" is no longer needed with config

command failed with code 1 signal null
- info Creating an optimized production build...
- info Using locally built binary of @next/swc
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
- info Compiled successfully
- info Linting and checking validity of types...
- warn The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
- info Collecting page data...
- info Generating static pages (0/12)

Error occurred prerendering page "/_not-found". Read more: https://nextjs.org/docs/messages/prerender-error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json

  21 |   const hookResolved = matchModule(request)
  22 |   if (hookResolved) request = hookResolved
> 23 |   return resolveFilename.call(mod, request, parent, isMain, options)
     |                          ^
  24 | }
  25 |

  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (3/12)
  Error occurred prerendering page "/image-import". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/another". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (6/12)
  Error occurred prerendering page "/another/first". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (9/12)
  Error occurred prerendering page "/another/second". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (12/12)
  > Export encountered errors on following paths:
  	/_not-found
  	/another/[slug]/page: /another/first
  	/another/[slug]/page: /another/second
  	/another/page: /another
  	/image-import/page: /image-import
  	/page: /
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:299:11)

● app dir with output export (next dev / next build) › should error when "next export -o

" is used with config

command failed with code 1 signal null
- info Creating an optimized production build...
- info Using locally built binary of @next/swc
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
- info Compiled successfully
- info Linting and checking validity of types...
- warn The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
- info Collecting page data...
- info Generating static pages (0/12)

Error occurred prerendering page "/image-import". Read more: https://nextjs.org/docs/messages/prerender-error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json

  21 |   const hookResolved = matchModule(request)
  22 |   if (hookResolved) request = hookResolved
> 23 |   return resolveFilename.call(mod, request, parent, isMain, options)
     |                          ^
  24 | }
  25 |

  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/another". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (3/12)
  Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/_not-found". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (6/12)
  - info Generating static pages (9/12)
  Error occurred prerendering page "/another/second". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/another/first". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (12/12)
  > Export encountered errors on following paths:
  	/_not-found
  	/another/[slug]/page: /another/first
  	/another/[slug]/page: /another/second
  	/another/page: /another
  	/image-import/page: /image-import
  	/page: /
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:299:11)

● app dir with output export (next dev / next build) › should error when no config.output detected for next export

command failed with code 1 signal null
- info Creating an optimized production build...
- info Using locally built binary of @next/swc
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
- info Compiled successfully
- info Linting and checking validity of types...
- warn The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
- info Collecting page data...
- info Generating static pages (0/12)

Error occurred prerendering page "/another/first". Read more: https://nextjs.org/docs/messages/prerender-error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json

  21 |   const hookResolved = matchModule(request)
  22 |   if (hookResolved) request = hookResolved
> 23 |   return resolveFilename.call(mod, request, parent, isMain, options)
     |                          ^
  24 | }
  25 |

  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/another". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (3/12)
  Error occurred prerendering page "/image-import". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/another/second". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (6/12)
  Error occurred prerendering page "/_not-found". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (9/12)
  - info Generating static pages (12/12)
  > Export encountered errors on following paths:
  	/_not-found
  	/another/[slug]/page: /another/first
  	/another/[slug]/page: /another/second
  	/another/page: /another
  	/image-import/page: /image-import
  	/page: /
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:299:11)

● app dir with output export (next dev / next build) › should correctly emit exported assets to config.distDir

command failed with code 1 signal null
- info Creating an optimized production build...
- info Using locally built binary of @next/swc
Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
- info Compiled successfully
- info Linting and checking validity of types...
- warn The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
- info Collecting page data...
- info Generating static pages (0/12)

Error occurred prerendering page "/another". Read more: https://nextjs.org/docs/messages/prerender-error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json

  21 |   const hookResolved = matchModule(request)
  22 |   if (hookResolved) request = hookResolved
> 23 |   return resolveFilename.call(mod, request, parent, isMain, options)
     |                          ^
  24 | }
  25 |

  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/another/second". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/_not-found". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (3/12)
  Error occurred prerendering page "/image-import". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  Error occurred prerendering page "/another/first". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (6/12)
  Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  - info Generating static pages (9/12)
  - info Generating static pages (12/12)
  > Export encountered errors on following paths:
  	/_not-found
  	/another/[slug]/page: /another/first
  	/another/[slug]/page: /another/second
  	/another/page: /another
  	/image-import/page: /image-import
  	/page: /
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:299:11)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/integration/app-dir-export/test/dynamicapiroute-prod.test.ts

  • should work in prod with dynamicApiRoute undefined

  • should work in prod with dynamicApiRoute 'error'

  • should work in prod with dynamicApiRoute 'force-static'

  • should work in prod with dynamicApiRoute 'force-dynamic'

Expand output

● should work in prod with dynamicApiRoute undefined

thrown: "Exceeded timeout of 120000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  10 |       'export const dynamic = "force-dynamic" on page "/api/json" cannot be used with "output: export".',
  11 |   },
> 12 | ])(
     |  ^
  13 |   'should work in prod with dynamicApiRoute $dynamicApiRoute',
  14 |   async ({ dynamicApiRoute, expectedErrMsg }) => {
  15 |     await runTests({ isDev: false, dynamicApiRoute, expectedErrMsg })

  at ../node_modules/.pnpm/[email protected]/node_modules/jest-each/build/bind.js:43:11
      at Array.forEach (<anonymous>)
  at Object.<anonymous> (integration/app-dir-export/test/dynamicapiroute-prod.test.ts:12:2)

● should work in prod with dynamicApiRoute 'error'

Failed to replace content.

Pattern: const dynamic = 'force-static'

Content: export const dynamic = undefined

export async function GET() {
  return Response.json({ answer: 42 })
}

  686 |     } else if (typeof pattern === 'string') {
  687 |       if (!currentContent.includes(pattern)) {
> 688 |         throw new Error(
      |               ^
  689 |           `Failed to replace content.\n\nPattern: ${pattern}\n\nContent: ${currentContent}`
  690 |         )
  691 |       }

  at File.replace (lib/next-test-utils.ts:688:15)
  at runTests (integration/app-dir-export/test/utils.ts:111:13)
  at integration/app-dir-export/test/dynamicapiroute-prod.test.ts:15:19

● should work in prod with dynamicApiRoute 'force-static'

Failed to replace content.

Pattern: const dynamic = 'force-static'

Content: export const dynamic = undefined

export async function GET() {
  return Response.json({ answer: 42 })
}

  686 |     } else if (typeof pattern === 'string') {
  687 |       if (!currentContent.includes(pattern)) {
> 688 |         throw new Error(
      |               ^
  689 |           `Failed to replace content.\n\nPattern: ${pattern}\n\nContent: ${currentContent}`
  690 |         )
  691 |       }

  at File.replace (lib/next-test-utils.ts:688:15)
  at runTests (integration/app-dir-export/test/utils.ts:111:13)
  at integration/app-dir-export/test/dynamicapiroute-prod.test.ts:15:19

● should work in prod with dynamicApiRoute 'force-dynamic'

Failed to replace content.

Pattern: const dynamic = 'force-static'

Content: export const dynamic = undefined

export async function GET() {
  return Response.json({ answer: 42 })
}

  686 |     } else if (typeof pattern === 'string') {
  687 |       if (!currentContent.includes(pattern)) {
> 688 |         throw new Error(
      |               ^
  689 |           `Failed to replace content.\n\nPattern: ${pattern}\n\nContent: ${currentContent}`
  690 |         )
  691 |       }

  at File.replace (lib/next-test-utils.ts:688:15)
  at runTests (integration/app-dir-export/test/utils.ts:111:13)
  at integration/app-dir-export/test/dynamicapiroute-prod.test.ts:15:19

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/integration/app-dir-export/test/dynamicpage-prod.test.ts

  • should work in prod with dynamicPage undefined

  • should work in prod with dynamicPage $dynamicPage

  • should work in prod with dynamicPage 'force-static'

  • should work in prod with dynamicPage 'force-dynamic'

Expand output

● should work in prod with dynamicPage undefined

thrown: "Exceeded timeout of 120000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  10 |       'Page with `dynamic = "force-dynamic"` couldn\'t be rendered statically because it used `output: export`.',
  11 |   },
> 12 | ])(
     |  ^
  13 |   'should work in prod with dynamicPage $dynamicPage',
  14 |   async ({ dynamicPage, expectedErrMsg }) => {
  15 |     await runTests({ isDev: false, dynamicPage, expectedErrMsg })

  at ../node_modules/.pnpm/[email protected]/node_modules/jest-each/build/bind.js:43:11
      at Array.forEach (<anonymous>)
  at Object.<anonymous> (integration/app-dir-export/test/dynamicpage-prod.test.ts:12:2)

● should work in prod with dynamicPage $dynamicPage

thrown: "Exceeded timeout of 120000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  10 |       'Page with `dynamic = "force-dynamic"` couldn\'t be rendered statically because it used `output: export`.',
  11 |   },
> 12 | ])(
     |  ^
  13 |   'should work in prod with dynamicPage $dynamicPage',
  14 |   async ({ dynamicPage, expectedErrMsg }) => {
  15 |     await runTests({ isDev: false, dynamicPage, expectedErrMsg })

  at ../node_modules/.pnpm/[email protected]/node_modules/jest-each/build/bind.js:43:11
      at Array.forEach (<anonymous>)
  at Object.<anonymous> (integration/app-dir-export/test/dynamicpage-prod.test.ts:12:2)

● should work in prod with dynamicPage 'force-static'

TIMED OUT: Home

undefined

TimeoutError: page.waitForSelector: Timeout 60000ms exceeded.
=========================== logs ===========================
waiting for locator('h1')
============================================================

  653 |
  654 |   if (hardError) {
> 655 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |           ^
  656 |   }
  657 |   return false
  658 | }

  at check (lib/next-test-utils.ts:655:11)
  at runTests (integration/app-dir-export/test/utils.ts:153:7)
  at integration/app-dir-export/test/dynamicpage-prod.test.ts:15:5

● should work in prod with dynamicPage 'force-dynamic'

expect(received).toMatch(expected)

Expected substring: "Page with `dynamic = \"force-dynamic\"` couldn't be rendered statically because it used `output: export`."
Received string:    "Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
- warn The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config·
Error occurred prerendering page \"/another/second\". Read more: https://nextjs.org/docs/messages/prerender-error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by \"exports\" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json

  21 |   const hookResolved = matchModule(request)
  22 |   if (hookResolved) request = hookResolved
> 23 |   return resolveFilename.call(mod, request, parent, isMain, options)
     |                          ^
  24 | }
  25 |

  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  at Module.require (../node:internal/modules/cjs/loader:1100:19)·
  Error occurred prerendering page \"/another\". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by \"exports\" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  at Module.require (../node:internal/modules/cjs/loader:1100:19)·
  Error occurred prerendering page \"/another/first\". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by \"exports\" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  at Module.require (../node:internal/modules/cjs/loader:1100:19)·
  Error occurred prerendering page \"/image-import\". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by \"exports\" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  at Module.require (../node:internal/modules/cjs/loader:1100:19)·
  Error occurred prerendering page \"/_not-found\". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by \"exports\" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  at Module.require (../node:internal/modules/cjs/loader:1100:19)·
  Error occurred prerendering page \"/\". Read more: https://nextjs.org/docs/messages/prerender-error
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by \"exports\" in /root/actions-runner/_work/next.js/next.js/packages/next/node_modules/react-dom/package.json
  at Function.mod._resolveFilename (lib/mocks-require-hook.js:23:26)
  at ../packages/next/dist/server/require-hook.js:92:36
  at Module.require (../node:internal/modules/cjs/loader:1100:19)·
  > Export encountered errors on following paths:
  	/_not-found
  	/another/[slug]/page: /another/first
  	/another/[slug]/page: /another/second
  	/another/page: /another
  	/image-import/page: /image-import
  	/page: /
  "
  at runTests (integration/app-dir-export/test/utils.ts:149:29)
  at integration/app-dir-export/test/dynamicpage-prod.test.ts:15:5

Read more about building and testing Next.js in contributing.md.

@ijjk
Copy link
Member

ijjk commented Aug 3, 2023

Stats from current PR

Default Build (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js feedthejim/next-1492-remove-render-workers Change
buildDuration 40.9s 39.4s -1.5s
buildDurationCached 16.7s 16.2s -589ms
nodeModulesSize 138 MB 138 MB ⚠️ +3.76 kB
nextStartRea..uration (ms) 564ms 567ms ⚠️ +3ms
Client Bundles (main, webpack) Overall decrease ✓
vercel/next.js canary vercel/next.js feedthejim/next-1492-remove-render-workers Change
35a5f01f-HASH.js gzip 50.5 kB 50.5 kB
446.HASH.js gzip 185 B 181 B -4 B
98-HASH.js gzip 25.8 kB 25.8 kB -13 B
framework-HASH.js gzip 45.2 kB 45.2 kB
main-app-HASH.js gzip 216 B 219 B ⚠️ +3 B
main-HASH.js gzip 28.6 kB 28.6 kB ⚠️ +10 B
webpack-HASH.js gzip 1.7 kB 1.7 kB ⚠️ +2 B
Overall change 152 kB 152 kB -2 B
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js feedthejim/next-1492-remove-render-workers Change
polyfills-HASH.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages Overall decrease ✓
vercel/next.js canary vercel/next.js feedthejim/next-1492-remove-render-workers Change
_app-HASH.js gzip 195 B 195 B
_error-HASH.js gzip 182 B 182 B
amp-HASH.js gzip 504 B 503 B -1 B
css-HASH.js gzip 321 B 322 B ⚠️ +1 B
dynamic-HASH.js gzip 2.5 kB 2.5 kB -3 B
edge-ssr-HASH.js gzip 256 B 255 B -1 B
head-HASH.js gzip 350 B 349 B -1 B
hooks-HASH.js gzip 368 B 369 B ⚠️ +1 B
image-HASH.js gzip 4.27 kB 4.27 kB ⚠️ +2 B
index-HASH.js gzip 255 B 256 B ⚠️ +1 B
link-HASH.js gzip 2.62 kB 2.62 kB -4 B
routerDirect..HASH.js gzip 312 B 313 B ⚠️ +1 B
script-HASH.js gzip 384 B 385 B ⚠️ +1 B
withRouter-HASH.js gzip 308 B 309 B ⚠️ +1 B
1afbb74e6ecf..834.css gzip 106 B 106 B
Overall change 12.9 kB 12.9 kB -2 B
Client Build Manifests Overall decrease ✓
vercel/next.js canary vercel/next.js feedthejim/next-1492-remove-render-workers Change
_buildManifest.js gzip 485 B 480 B -5 B
Overall change 485 B 480 B -5 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js feedthejim/next-1492-remove-render-workers Change
index.html gzip 512 B 511 B -1 B
link.html gzip 526 B 526 B
withRouter.html gzip 506 B 507 B ⚠️ +1 B
Overall change 1.54 kB 1.54 kB
Edge SSR bundle Size Overall increase ⚠️
vercel/next.js canary vercel/next.js feedthejim/next-1492-remove-render-workers Change
edge-ssr.js gzip 90 kB 90.1 kB ⚠️ +87 B
page.js gzip 147 kB 147 kB ⚠️ +70 B
Overall change 237 kB 237 kB ⚠️ +157 B
Middleware size Overall increase ⚠️
vercel/next.js canary vercel/next.js feedthejim/next-1492-remove-render-workers Change
middleware-b..fest.js gzip 625 B 619 B -6 B
middleware-r..fest.js gzip 151 B 151 B
middleware.js gzip 22.7 kB 22.7 kB ⚠️ +7 B
edge-runtime..pack.js gzip 1.83 kB 1.83 kB
Overall change 25.3 kB 25.3 kB ⚠️ +1 B

Diffs

Diff for page.js

Diff too large to display

Diff for middleware-b..-manifest.js
@@ -7,96 +7,96 @@ self.__BUILD_MANIFEST = {
     "static/BUILD_ID/_ssgManifest.js",
   ],
   rootMainFiles: [
-    "static/chunks/webpack-b6c94c729e6804bb.js",
-    "static/chunks/35a5f01f-5c9989672264be1c.js",
-    "static/chunks/98-45d624292b6a3bf9.js",
-    "static/chunks/main-app-00e7c924e2495687.js",
+    "static/chunks/webpack-917c5126fa399878.js",
+    "static/chunks/9ace19b1-d5b4f46ecfecaeb7.js",
+    "static/chunks/819-53d0710dcaf7ea87.js",
+    "static/chunks/main-app-f0543afaf2a31e6b.js",
   ],
   pages: {
     "/": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/index-b3eeca82dc15d3ca.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/index-94016d70d7482fe7.js",
     ],
     "/_app": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/_app-7ba896576f11cc13.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/_app-46cf6cb90b19c472.js",
     ],
     "/_error": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/_error-95fd436e01e410ce.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/_error-a56f0e852cd19c98.js",
     ],
     "/amp": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/amp-f480a7f42402bc6b.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/amp-8c903ea74383c3c2.js",
     ],
     "/css": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
+      "static/chunks/main-82052cd17c9016b6.js",
       "static/css/ded6b86ab9cc0a1f.css",
-      "static/chunks/pages/css-6cba698e124cc650.js",
+      "static/chunks/pages/css-0d504051a85f0fe7.js",
     ],
     "/dynamic": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/dynamic-1cd0163617ec6914.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/dynamic-c49fc16237dca2a5.js",
     ],
     "/edge-ssr": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/edge-ssr-845a7224bdb4411b.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/edge-ssr-5745a64fa421cb05.js",
     ],
     "/head": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/head-542d60b8442e93ee.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/head-d93013a29556304c.js",
     ],
     "/hooks": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/hooks-e82577e955d3ddd0.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/hooks-78c139c1b3a7077d.js",
     ],
     "/image": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/image-2d6e419f79037e7e.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/image-11c16bf6265369a7.js",
     ],
     "/link": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/link-c0ec4cd09f99730f.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/link-07c1abec25dfa204.js",
     ],
     "/routerDirect": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/routerDirect-a4378fdd445a6dba.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/routerDirect-21980ec88959c07d.js",
     ],
     "/script": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/script-0c22bdc31d7a54f9.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/script-4ac368a5fe7f6515.js",
     ],
     "/withRouter": [
-      "static/chunks/webpack-b6c94c729e6804bb.js",
+      "static/chunks/webpack-917c5126fa399878.js",
       "static/chunks/framework-114cbddc60b679b8.js",
-      "static/chunks/main-205204f0506200a1.js",
-      "static/chunks/pages/withRouter-1c13d6b4c43864b1.js",
+      "static/chunks/main-82052cd17c9016b6.js",
+      "static/chunks/pages/withRouter-cd6c8ed384d35879.js",
     ],
   },
   ampFirstPages: [],
Diff for middleware-r..-manifest.js
@@ -1,2 +1,2 @@
 self.__REACT_LOADABLE_MANIFEST =
-  '{"dynamic.js -> ../components/hello":{"id":3446,"files":["static/chunks/446.36d8405b831b4d8d.js"]}}';
+  '{"dynamic.js -> ../components/hello":{"id":8574,"files":["static/chunks/574.6ec7ce57fcf094de.js"]}}';
Diff for middleware.js
@@ -2,7 +2,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [826],
   {
-    /***/ 9377: /***/ (
+    /***/ 3427: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -22,7 +22,7 @@
       __webpack_require__.r(middleware_namespaceObject);
       __webpack_require__.d(middleware_namespaceObject, {
         default: () => middleware,
-      }); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/globals.js
+      }); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/globals.js
 
       async function registerInstrumentation() {
         if (
@@ -92,7 +92,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         // Eagerly fire instrumentation hook to make the startup faster.
         void ensureInstrumentationRegistered();
       }
-      enhanceGlobals(); //# sourceMappingURL=globals.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/error.js
+      enhanceGlobals(); //# sourceMappingURL=globals.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/error.js
 
       class PageSignatureError extends Error {
         constructor({ page }) {
@@ -119,7 +119,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
   Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent
   `);
         }
-      } //# sourceMappingURL=error.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/utils.js
+      } //# sourceMappingURL=error.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/utils.js
 
       /**
        * Converts a Node.js IncomingHttpHeaders object to a Headers object. Any
@@ -254,7 +254,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
             }
           );
         }
-      } //# sourceMappingURL=utils.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/fetch-event.js
+      } //# sourceMappingURL=utils.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/fetch-event.js
 
       const responseSymbol = Symbol("response");
       const passThroughSymbol = Symbol("passThrough");
@@ -300,7 +300,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
             page: this.sourcePage,
           });
         }
-      } //# sourceMappingURL=fetch-event.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/i18n/detect-domain-locale.js
+      } //# sourceMappingURL=fetch-event.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/i18n/detect-domain-locale.js
 
       function detectDomainLocale(domainItems, hostname, detectedLocale) {
         if (!domainItems) return;
@@ -326,7 +326,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
             return item;
           }
         }
-      } //# sourceMappingURL=detect-domain-locale.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/remove-trailing-slash.js
+      } //# sourceMappingURL=detect-domain-locale.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/remove-trailing-slash.js
 
       /**
        * Removes the trailing slash for a given route or page path. Preserves the
@@ -336,7 +336,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
        *   - `/` -> `/`
        */ function removeTrailingSlash(route) {
         return route.replace(/\/$/, "") || "/";
-      } //# sourceMappingURL=remove-trailing-slash.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/parse-path.js
+      } //# sourceMappingURL=remove-trailing-slash.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/parse-path.js
 
       /**
        * Given a path this function will find the pathname, query and hash and return
@@ -364,7 +364,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
           query: "",
           hash: "",
         };
-      } //# sourceMappingURL=parse-path.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-path-prefix.js
+      } //# sourceMappingURL=parse-path.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-path-prefix.js
 
       /**
        * Adds the provided prefix to the given path. It first ensures that the path
@@ -375,7 +375,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         }
         const { pathname, query, hash } = parsePath(path);
         return "" + prefix + pathname + query + hash;
-      } //# sourceMappingURL=add-path-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-path-suffix.js
+      } //# sourceMappingURL=add-path-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-path-suffix.js
 
       /**
        * Similarly to `addPathPrefix`, this function adds a suffix at the end on the
@@ -387,7 +387,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         }
         const { pathname, query, hash } = parsePath(path);
         return "" + pathname + suffix + query + hash;
-      } //# sourceMappingURL=add-path-suffix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/path-has-prefix.js
+      } //# sourceMappingURL=add-path-suffix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/path-has-prefix.js
 
       /**
        * Checks if a given path starts with a given prefix. It ensures it matches
@@ -401,7 +401,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         }
         const { pathname } = parsePath(path);
         return pathname === prefix || pathname.startsWith(prefix + "/");
-      } //# sourceMappingURL=path-has-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-locale.js
+      } //# sourceMappingURL=path-has-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-locale.js
 
       /**
        * For a given path and a locale, if the locale is given, it will prefix the
@@ -420,7 +420,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         }
         // Add the locale prefix to the path.
         return addPathPrefix(path, "/" + locale);
-      } //# sourceMappingURL=add-locale.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/format-next-pathname-info.js
+      } //# sourceMappingURL=add-locale.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/format-next-pathname-info.js
 
       function formatNextPathnameInfo(info) {
         let pathname = addLocale(
@@ -444,7 +444,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
             ? addPathSuffix(pathname, "/")
             : pathname
           : removeTrailingSlash(pathname);
-      } //# sourceMappingURL=format-next-pathname-info.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/get-hostname.js
+      } //# sourceMappingURL=format-next-pathname-info.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/get-hostname.js
 
       /**
        * Takes an object with a hostname property (like a parsed URL) and some
@@ -464,7 +464,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
           hostname = parsed.hostname;
         } else return;
         return hostname.toLowerCase();
-      } //# sourceMappingURL=get-hostname.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/i18n/normalize-locale-path.js
+      } //# sourceMappingURL=get-hostname.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/i18n/normalize-locale-path.js
 
       /**
        * For a pathname that may include a locale from a list of locales, it
@@ -494,7 +494,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
           pathname,
           detectedLocale,
         };
-      } //# sourceMappingURL=normalize-locale-path.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/remove-path-prefix.js
+      } //# sourceMappingURL=normalize-locale-path.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/remove-path-prefix.js
 
       /**
        * Given a path and a prefix it will remove the prefix when it exists in the
@@ -528,7 +528,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         // If the path without the prefix doesn't start with a `/` we need to add it
         // back to the path to make sure it's a valid path.
         return "/" + withoutPrefix;
-      } //# sourceMappingURL=remove-path-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/get-next-pathname-info.js
+      } //# sourceMappingURL=remove-path-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/get-next-pathname-info.js
 
       function getNextPathnameInfo(pathname, options) {
         var _options_nextConfig;
@@ -579,7 +579,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
               : info.pathname;
         }
         return info;
-      } //# sourceMappingURL=get-next-pathname-info.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/next-url.js
+      } //# sourceMappingURL=get-next-pathname-info.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/next-url.js
 
       const REGEX_LOCALHOST_HOSTNAME =
         /(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|::1|localhost)/;
@@ -806,8 +806,8 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         }
       } //# sourceMappingURL=next-url.js.map
 
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js
-      var _edge_runtime_cookies = __webpack_require__(7238); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/cookies.js // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/request.js
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js
+      var _edge_runtime_cookies = __webpack_require__(2597); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/cookies.js // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/request.js
       //# sourceMappingURL=cookies.js.map
 
       const INTERNALS = Symbol("internal request");
@@ -884,7 +884,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         get url() {
           return this[INTERNALS].url;
         }
-      } //# sourceMappingURL=request.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/response.js
+      } //# sourceMappingURL=request.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/response.js
 
       const response_INTERNALS = Symbol("internal response");
       const REDIRECTS = new Set([301, 302, 303, 307, 308]);
@@ -983,7 +983,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
             headers,
           });
         }
-      } //# sourceMappingURL=response.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/relativize-url.js
+      } //# sourceMappingURL=response.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/relativize-url.js
 
       /**
        * Given a URL as a string and a base URL it will make the URL relative
@@ -996,7 +996,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         return relative.protocol + "//" + relative.host === origin
           ? relative.toString().replace(origin, "")
           : relative.toString();
-      } //# sourceMappingURL=relativize-url.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/client/components/app-router-headers.js
+      } //# sourceMappingURL=relativize-url.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/client/components/app-router-headers.js
 
       const RSC = "RSC";
       const ACTION = "Next-Action";
@@ -1018,7 +1018,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         [NEXT_ROUTER_STATE_TREE],
         [NEXT_ROUTER_PREFETCH],
       ];
-      const NEXT_RSC_UNION_QUERY = "_rsc"; //# sourceMappingURL=app-router-headers.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/internal-utils.js
+      const NEXT_RSC_UNION_QUERY = "_rsc"; //# sourceMappingURL=app-router-headers.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/internal-utils.js
 
       const INTERNAL_QUERY_NAMES = [
         "__nextFallback",
@@ -1046,7 +1046,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
           }
         }
         return isStringUrl ? instance.toString() : instance;
-      } //# sourceMappingURL=internal-utils.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/app-paths.js
+      } //# sourceMappingURL=internal-utils.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/app-paths.js
 
       /**
        * Normalizes an app route so it represents the actual request path. Essentially
@@ -1097,7 +1097,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
        * Since this function is used on full urls it checks `?` for searchParams handling.
        */ function normalizeRscPath(pathname, enabled) {
         return enabled ? pathname.replace(/\.rsc($|\?)/, "$1") : pathname;
-      } //# sourceMappingURL=app-paths.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/lib/constants.js
+      } //# sourceMappingURL=app-paths.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/lib/constants.js
 
       const NEXT_QUERY_PARAM_PREFIX = "nxtP";
       const PRERENDER_REVALIDATE_HEADER = "x-prerender-revalidate";
@@ -1235,7 +1235,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         metadata: "__next_metadata__",
         metadataRoute: "__next_metadata_route__",
         metadataImageMeta: "__next_metadata_image_meta__",
-      }; //# sourceMappingURL=constants.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/adapters/reflect.js
+      }; //# sourceMappingURL=constants.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/adapters/reflect.js
 
       class ReflectAdapter {
         static get(target, prop, receiver) {
@@ -1254,7 +1254,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         static deleteProperty(target, prop) {
           return Reflect.deleteProperty(target, prop);
         }
-      } //# sourceMappingURL=reflect.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/adapters/headers.js
+      } //# sourceMappingURL=reflect.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/adapters/headers.js
 
       /**
        * @internal
@@ -1435,7 +1435,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         [Symbol.iterator]() {
           return this.entries();
         }
-      } //# sourceMappingURL=headers.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/adapters/request-cookies.js
+      } //# sourceMappingURL=headers.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/adapters/request-cookies.js
 
       /**
        * @internal
@@ -1568,7 +1568,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
             },
           });
         }
-      } //# sourceMappingURL=request-cookies.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/api-utils/index.js
+      } //# sourceMappingURL=request-cookies.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/api-utils/index.js
 
       /**
        * Parse cookies from the `headers` of request
@@ -1579,7 +1579,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
           if (!cookie) {
             return {};
           }
-          const { parse: parseCookieFn } = __webpack_require__(359);
+          const { parse: parseCookieFn } = __webpack_require__(1782);
           return parseCookieFn(
             Array.isArray(cookie) ? cookie.join("; ") : cookie
           );
@@ -1638,7 +1638,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         if (SYMBOL_CLEARED_COOKIES in res) {
           return res;
         }
-        const { serialize } = __webpack_require__(359);
+        const { serialize } = __webpack_require__(1782);
         const previous = res.getHeader("Set-Cookie");
         res.setHeader(`Set-Cookie`, [
           ...(typeof previous === "string"
@@ -1735,7 +1735,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
             });
           },
         });
-      } //# sourceMappingURL=index.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/async-storage/draft-mode-provider.js
+      } //# sourceMappingURL=index.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/async-storage/draft-mode-provider.js
 
       class DraftModeProvider {
         constructor(previewProps, req, cookies, mutableCookies) {
@@ -1788,7 +1788,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
             expires: new Date(0),
           });
         }
-      } //# sourceMappingURL=draft-mode-provider.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/async-storage/request-async-storage-wrapper.js
+      } //# sourceMappingURL=draft-mode-provider.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/async-storage/request-async-storage-wrapper.js
 
       function getHeaders(headers) {
         const cleaned = HeadersAdapter.from(headers);
@@ -1873,10 +1873,10 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         },
       }; //# sourceMappingURL=request-async-storage-wrapper.js.map
 
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/client/components/async-local-storage.js
-      var async_local_storage = __webpack_require__(3695); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/client/components/request-async-storage.js
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/client/components/async-local-storage.js
+      var async_local_storage = __webpack_require__(2759); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/client/components/request-async-storage.js
       const requestAsyncStorage = (0,
-      async_local_storage /* createAsyncLocalStorage */.P)(); //# sourceMappingURL=request-async-storage.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/adapter.js
+      async_local_storage /* createAsyncLocalStorage */.P)(); //# sourceMappingURL=request-async-storage.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/adapter.js
 
       class NextRequestHint extends NextRequest {
         constructor(params) {
@@ -2138,14 +2138,14 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
           response: finalResponse,
           waitUntil: Promise.all(event[waitUntilSymbol]),
         };
-      } //# sourceMappingURL=adapter.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/exports/next-response.js // CONCATENATED MODULE: ./middleware.js
+      } //# sourceMappingURL=adapter.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/exports/next-response.js // CONCATENATED MODULE: ./middleware.js
 
       // This file is for modularized imports for next/server to get fully-treeshaking.
       //# sourceMappingURL=next-response.js.map
 
       async function middleware() {
         return NextResponse.next();
-      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js?absolutePagePath=private-next-root-dir%2Fmiddleware.js&page=%2Fmiddleware&rootDir=%2Ftmp%2Fnext-stats0Bjy0m%2Fstats-app&matchers=&preferredRegion=&middlewareConfig=e30%3D!
+      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js?absolutePagePath=private-next-root-dir%2Fmiddleware.js&page=%2Fmiddleware&rootDir=%2Ftmp%2Fnext-stats0Bjy0m%2Fstats-app&matchers=&preferredRegion=&middlewareConfig=e30%3D!
 
       const mod = { ...middleware_namespaceObject };
       const handler = mod.middleware || mod.default;
@@ -2169,7 +2169,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 7238: /***/ (module) => {
+    /***/ 2597: /***/ (module) => {
       "use strict";
 
       var __defProp = Object.defineProperty;
@@ -2562,7 +2562,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 359: /***/ (module) => {
+    /***/ 1782: /***/ (module) => {
       "use strict";
       var __dirname = "/";
 
@@ -2692,7 +2692,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 3695: /***/ (
+    /***/ 2759: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -2738,7 +2738,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
-    /******/ var __webpack_exports__ = __webpack_exec__(9377);
+    /******/ var __webpack_exports__ = __webpack_exec__(3427);
     /******/ (_ENTRIES =
       typeof _ENTRIES === "undefined" ? {} : _ENTRIES).middleware_middleware =
       __webpack_exports__;
Diff for edge-ssr.js

Diff too large to display

Diff for _buildManifest.js
@@ -1,28 +1,28 @@
 self.__BUILD_MANIFEST = {
   __rewrites: { afterFiles: [], beforeFiles: [], fallback: [] },
-  "/": ["static\u002Fchunks\u002Fpages\u002Findex-b3eeca82dc15d3ca.js"],
-  "/_error": ["static\u002Fchunks\u002Fpages\u002F_error-95fd436e01e410ce.js"],
-  "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-f480a7f42402bc6b.js"],
+  "/": ["static\u002Fchunks\u002Fpages\u002Findex-94016d70d7482fe7.js"],
+  "/_error": ["static\u002Fchunks\u002Fpages\u002F_error-a56f0e852cd19c98.js"],
+  "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-8c903ea74383c3c2.js"],
   "/css": [
     "static\u002Fcss\u002Fded6b86ab9cc0a1f.css",
-    "static\u002Fchunks\u002Fpages\u002Fcss-6cba698e124cc650.js",
+    "static\u002Fchunks\u002Fpages\u002Fcss-0d504051a85f0fe7.js",
   ],
   "/dynamic": [
-    "static\u002Fchunks\u002Fpages\u002Fdynamic-1cd0163617ec6914.js",
+    "static\u002Fchunks\u002Fpages\u002Fdynamic-c49fc16237dca2a5.js",
   ],
   "/edge-ssr": [
-    "static\u002Fchunks\u002Fpages\u002Fedge-ssr-845a7224bdb4411b.js",
+    "static\u002Fchunks\u002Fpages\u002Fedge-ssr-5745a64fa421cb05.js",
   ],
-  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-542d60b8442e93ee.js"],
-  "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-e82577e955d3ddd0.js"],
-  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-2d6e419f79037e7e.js"],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-c0ec4cd09f99730f.js"],
+  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-d93013a29556304c.js"],
+  "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-78c139c1b3a7077d.js"],
+  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-11c16bf6265369a7.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-07c1abec25dfa204.js"],
   "/routerDirect": [
-    "static\u002Fchunks\u002Fpages\u002FrouterDirect-a4378fdd445a6dba.js",
+    "static\u002Fchunks\u002Fpages\u002FrouterDirect-21980ec88959c07d.js",
   ],
-  "/script": ["static\u002Fchunks\u002Fpages\u002Fscript-0c22bdc31d7a54f9.js"],
+  "/script": ["static\u002Fchunks\u002Fpages\u002Fscript-4ac368a5fe7f6515.js"],
   "/withRouter": [
-    "static\u002Fchunks\u002Fpages\u002FwithRouter-1c13d6b4c43864b1.js",
+    "static\u002Fchunks\u002Fpages\u002FwithRouter-cd6c8ed384d35879.js",
   ],
   sortedPages: [
     "\u002F",
Diff for _app-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [888],
   {
-    /***/ 2190: /***/ function (
+    /***/ 1113: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/_app",
         function () {
-          return __webpack_require__(783);
+          return __webpack_require__(6355);
         },
       ]);
       if (false) {
@@ -24,7 +24,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [774, 179], function () {
-      return __webpack_exec__(2190), __webpack_exec__(5761);
+      return __webpack_exec__(1113), __webpack_exec__(3103);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for _error-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [820],
   {
-    /***/ 5374: /***/ function (
+    /***/ 3363: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/_error",
         function () {
-          return __webpack_require__(4218);
+          return __webpack_require__(6178);
         },
       ]);
       if (false) {
@@ -24,7 +24,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 774, 179], function () {
-      return __webpack_exec__(5374);
+      return __webpack_exec__(3363);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for amp-HASH.js
@@ -1,17 +1,17 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [216],
   {
-    /***/ 8510: /***/ function (
+    /***/ 8753: /***/ function (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      module.exports = __webpack_require__(8170);
+      module.exports = __webpack_require__(811);
 
       /***/
     },
 
-    /***/ 7010: /***/ function (
+    /***/ 5348: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -19,7 +19,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/amp",
         function () {
-          return __webpack_require__(2583);
+          return __webpack_require__(7226);
         },
       ]);
       if (false) {
@@ -28,7 +28,7 @@
       /***/
     },
 
-    /***/ 8170: /***/ function (module, exports, __webpack_require__) {
+    /***/ 811: /***/ function (module, exports, __webpack_require__) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -44,8 +44,8 @@
       const _react = /*#__PURE__*/ _interop_require_default._(
         __webpack_require__(959)
       );
-      const _ampcontext = __webpack_require__(4428);
-      const _ampmode = __webpack_require__(9404);
+      const _ampcontext = __webpack_require__(1911);
+      const _ampmode = __webpack_require__(8505);
       function useAmp() {
         // Don't assign the context value to a variable to save bytes
         return (0, _ampmode.isInAmpMode)(
@@ -67,7 +67,7 @@
       /***/
     },
 
-    /***/ 2583: /***/ function (
+    /***/ 7226: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -84,7 +84,7 @@
         /* harmony export */
       });
       /* harmony import */ var next_amp__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(8510);
+        __webpack_require__(8753);
       /* harmony import */ var next_amp__WEBPACK_IMPORTED_MODULE_0___default =
         /*#__PURE__*/ __webpack_require__.n(
           next_amp__WEBPACK_IMPORTED_MODULE_0__
@@ -108,7 +108,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 774, 179], function () {
-      return __webpack_exec__(7010);
+      return __webpack_exec__(5348);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for css-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [706],
   {
-    /***/ 860: /***/ function (
+    /***/ 6437: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/css",
         function () {
-          return __webpack_require__(3511);
+          return __webpack_require__(7123);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 3511: /***/ function (
+    /***/ 7123: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -28,7 +28,7 @@
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
         __webpack_require__(1527);
       /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(4107);
+        __webpack_require__(3234);
       /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1___default =
         /*#__PURE__*/ __webpack_require__.n(
           _css_module_css__WEBPACK_IMPORTED_MODULE_1__
@@ -48,7 +48,7 @@
       /***/
     },
 
-    /***/ 4107: /***/ function (module) {
+    /***/ 3234: /***/ function (module) {
       // extracted by mini-css-extract-plugin
       module.exports = { helloWorld: "css_helloWorld__aUdUq" };
 
@@ -61,7 +61,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [774, 888, 179], function () {
-      return __webpack_exec__(860);
+      return __webpack_exec__(6437);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for dynamic-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [739],
   {
-    /***/ 3995: /***/ function (
+    /***/ 7753: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/dynamic",
         function () {
-          return __webpack_require__(8661);
+          return __webpack_require__(3245);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 2831: /***/ function (module, exports, __webpack_require__) {
+    /***/ 4727: /***/ function (module, exports, __webpack_require__) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -45,7 +45,7 @@
         __webpack_require__(959)
       );
       const _loadable = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(8539)
+        __webpack_require__(7666)
       );
       const isServerSide = "object" === "undefined";
       // Normalize loader to return the module as form { default: Component } for `React.lazy`.
@@ -146,7 +146,7 @@
       /***/
     },
 
-    /***/ 5242: /***/ function (
+    /***/ 1591: /***/ function (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -173,7 +173,7 @@
       /***/
     },
 
-    /***/ 8539: /***/ function (
+    /***/ 7666: /***/ function (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -215,7 +215,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
       const _react = /*#__PURE__*/ _interop_require_default._(
         __webpack_require__(959)
       );
-      const _loadablecontext = __webpack_require__(5242);
+      const _loadablecontext = __webpack_require__(1591);
       function resolve(obj) {
         return obj && obj.default ? obj.default : obj;
       }
@@ -450,7 +450,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
       /***/
     },
 
-    /***/ 8661: /***/ function (
+    /***/ 3245: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -466,7 +466,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
         __webpack_require__(1527);
       /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(6113);
+        __webpack_require__(2677);
       /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1___default =
         /*#__PURE__*/ __webpack_require__.n(
           next_dynamic__WEBPACK_IMPORTED_MODULE_1__
@@ -475,11 +475,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
       const DynamicHello = next_dynamic__WEBPACK_IMPORTED_MODULE_1___default()(
         () =>
           __webpack_require__
-            .e(/* import() */ 446)
-            .then(__webpack_require__.bind(__webpack_require__, 3446)),
+            .e(/* import() */ 574)
+            .then(__webpack_require__.bind(__webpack_require__, 8574)),
         {
           loadableGenerated: {
-            webpack: () => [/*require.resolve*/ 3446],
+            webpack: () => [/*require.resolve*/ 8574],
           },
         }
       );
@@ -506,12 +506,12 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
       /***/
     },
 
-    /***/ 6113: /***/ function (
+    /***/ 2677: /***/ function (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      module.exports = __webpack_require__(2831);
+      module.exports = __webpack_require__(4727);
 
       /***/
     },
@@ -522,7 +522,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [774, 888, 179], function () {
-      return __webpack_exec__(3995);
+      return __webpack_exec__(7753);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for edge-ssr-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [800],
   {
-    /***/ 6219: /***/ function (
+    /***/ 6027: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/edge-ssr",
         function () {
-          return __webpack_require__(2230);
+          return __webpack_require__(9170);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 2230: /***/ function (
+    /***/ 9170: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -48,7 +48,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 774, 179], function () {
-      return __webpack_exec__(6219);
+      return __webpack_exec__(6027);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for head-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [645],
   {
-    /***/ 2899: /***/ function (
+    /***/ 6955: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/head",
         function () {
-          return __webpack_require__(4202);
+          return __webpack_require__(792);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 4202: /***/ function (
+    /***/ 792: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -34,7 +34,7 @@
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
         __webpack_require__(1527);
       /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(8412);
+        __webpack_require__(9046);
       /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1___default =
         /*#__PURE__*/ __webpack_require__.n(
           next_head__WEBPACK_IMPORTED_MODULE_1__
@@ -68,12 +68,12 @@
       /***/
     },
 
-    /***/ 8412: /***/ function (
+    /***/ 9046: /***/ function (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      module.exports = __webpack_require__(3373);
+      module.exports = __webpack_require__(2285);
 
       /***/
     },
@@ -84,7 +84,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [774, 888, 179], function () {
-      return __webpack_exec__(2899);
+      return __webpack_exec__(6955);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for hooks-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [757],
   {
-    /***/ 2304: /***/ function (
+    /***/ 7819: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/hooks",
         function () {
-          return __webpack_require__(1716);
+          return __webpack_require__(3898);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 1716: /***/ function (
+    /***/ 3898: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -79,7 +79,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [774, 888, 179], function () {
-      return __webpack_exec__(2304);
+      return __webpack_exec__(7819);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for image-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [358],
   {
-    /***/ 5885: /***/ function (
+    /***/ 801: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/image",
         function () {
-          return __webpack_require__(7141);
+          return __webpack_require__(7330);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 645: /***/ function (module, exports, __webpack_require__) {
+    /***/ 3727: /***/ function (module, exports, __webpack_require__) {
       "use strict";
       /* __next_internal_client_entry_do_not_use__  cjs */
       Object.defineProperty(exports, "__esModule", {
@@ -37,15 +37,15 @@
       );
       const _reactdom = __webpack_require__(422);
       const _head = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(3373)
+        __webpack_require__(2285)
       );
-      const _getimgprops = __webpack_require__(9671);
-      const _imageconfig = __webpack_require__(7497);
-      const _imageconfigcontext = __webpack_require__(4281);
-      const _warnonce = __webpack_require__(130);
-      const _routercontext = __webpack_require__(4700);
+      const _getimgprops = __webpack_require__(4813);
+      const _imageconfig = __webpack_require__(6330);
+      const _imageconfigcontext = __webpack_require__(4883);
+      const _warnonce = __webpack_require__(114);
+      const _routercontext = __webpack_require__(4918);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(3545)
+        __webpack_require__(4317)
       );
       // This is replaced by webpack define plugin
       const configEnv = {
@@ -370,7 +370,7 @@
       /***/
     },
 
-    /***/ 9671: /***/ function (
+    /***/ 4813: /***/ function (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -386,9 +386,9 @@
           return getImgProps;
         },
       });
-      const _warnonce = __webpack_require__(130);
-      const _imageblursvg = __webpack_require__(4890);
-      const _imageconfig = __webpack_require__(7497);
+      const _warnonce = __webpack_require__(114);
+      const _imageblursvg = __webpack_require__(7318);
+      const _imageconfig = __webpack_require__(6330);
       const VALID_LOADING_VALUES =
         /* unused pure expression or super */ null && [
           "lazy",
@@ -753,7 +753,7 @@
       /***/
     },
 
-    /***/ 4890: /***/ function (__unused_webpack_module, exports) {
+    /***/ 7318: /***/ function (__unused_webpack_module, exports) {
       "use strict";
       /**
        * A shared function, used on both client and server, to generate a SVG blur placeholder.
@@ -808,7 +808,7 @@
       /***/
     },
 
-    /***/ 4971: /***/ function (
+    /***/ 4741: /***/ function (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -835,11 +835,11 @@
         },
       });
       const _interop_require_default = __webpack_require__(8266);
-      const _getimgprops = __webpack_require__(9671);
-      const _warnonce = __webpack_require__(130);
-      const _imagecomponent = __webpack_require__(645);
+      const _getimgprops = __webpack_require__(4813);
+      const _warnonce = __webpack_require__(114);
+      const _imagecomponent = __webpack_require__(3727);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(3545)
+        __webpack_require__(4317)
       );
       const unstable_getImgProps = (imgProps) => {
         (0, _warnonce.warnOnce)(
@@ -871,7 +871,7 @@
       /***/
     },
 
-    /***/ 3545: /***/ function (__unused_webpack_module, exports) {
+    /***/ 4317: /***/ function (__unused_webpack_module, exports) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -906,7 +906,7 @@
       /***/
     },
 
-    /***/ 7141: /***/ function (
+    /***/ 7330: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -927,8 +927,8 @@
 
       // EXTERNAL MODULE: ./node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js
       var jsx_runtime = __webpack_require__(1527);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/image.js
-      var next_image = __webpack_require__(3960);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/image.js
+      var next_image = __webpack_require__(8249);
       var image_default = /*#__PURE__*/ __webpack_require__.n(next_image); // CONCATENATED MODULE: ./pages/nextjs.png
       /* harmony default export */ var nextjs = {
         src: "/_next/static/media/nextjs.cae0b805.png",
@@ -958,12 +958,12 @@
       /***/
     },
 
-    /***/ 3960: /***/ function (
+    /***/ 8249: /***/ function (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      module.exports = __webpack_require__(4971);
+      module.exports = __webpack_require__(4741);
 
       /***/
     },
@@ -974,7 +974,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [774, 888, 179], function () {
-      return __webpack_exec__(5885);
+      return __webpack_exec__(801);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for index-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [405],
   {
-    /***/ 3558: /***/ function (
+    /***/ 7042: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/",
         function () {
-          return __webpack_require__(8743);
+          return __webpack_require__(8933);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 8743: /***/ function (
+    /***/ 8933: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -44,7 +44,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 774, 179], function () {
-      return __webpack_exec__(3558);
+      return __webpack_exec__(7042);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for link-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [644],
   {
-    /***/ 8662: /***/ function (
+    /***/ 7014: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/link",
         function () {
-          return __webpack_require__(2891);
+          return __webpack_require__(4265);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 2078: /***/ function (module, exports) {
+    /***/ 1258: /***/ function (module, exports) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -86,7 +86,7 @@
       /***/
     },
 
-    /***/ 4263: /***/ function (module, exports, __webpack_require__) {
+    /***/ 452: /***/ function (module, exports, __webpack_require__) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -98,7 +98,7 @@
           return getDomainLocale;
         },
  
Post job cleanup.
[command]/usr/bin/git version
git version 2.41.0
Temporarily overriding HOME='/home/runner/work/_temp/4dc046da-dd01-43f2-94c7-2648bf24914b' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/next.js/next.js
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
http.https://github.com/.extraheader
[command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Cleaning up orphan processes
Commit: 0262412b9da98ff967cd36b80018ca86fc475b75

@feedthejim feedthejim closed this Aug 3, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2023
@timneutkens
Copy link
Member

Superseded by #54143

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team. locked Turbopack Related to Turbopack with Next.js. type: next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants