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

Base JS runtime for builds #70169

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from
Open

Conversation

wbinnssmith
Copy link
Member

Currently we ship dev runtimes (with things like HMR logic) along with code for loading chunks. This separates them and allows us to include a minimal runtime for builds.

Test Plan: TURBOPACK=1 TURBOPACK_BUILD=1 pnpm build on an app with a middleware.ts and verified it loads when started.

@ijjk ijjk added the created-by: Turbopack team PRs by the Turbopack team. label Sep 16, 2024
@ijjk
Copy link
Member

ijjk commented Sep 16, 2024

Failing test suites

Commit: 68f7eff

TURBOPACK=1 pnpm test-start test/e2e/app-dir/app-simple-routes/app-simple-routes.test.ts (turbopack)

  • app-simple-routes > works with simple routes > renders a node route
  • app-simple-routes > works with simple routes > renders a edge route
Expand output

● app-simple-routes › works with simple routes › renders a node route

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

● app-simple-routes › works with simple routes › renders a edge route

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

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

TURBOPACK=1 pnpm test-start test/e2e/app-dir/app-edge-root-layout/index.test.ts (turbopack)

  • app-dir edge runtime root layout > should not emit metadata files into bad paths
  • app-dir edge runtime root layout > should mark static contain metadata routes as edge functions
Expand output

● app-dir edge runtime root layout › should not emit metadata files into bad paths

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

● app-dir edge runtime root layout › should mark static contain metadata routes as edge functions

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

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

TURBOPACK=1 pnpm test-start test/e2e/app-dir/dynamic-css/index.test.ts (turbopack)

  • app dir - dynamic css > should preload all chunks of dynamic component during SSR
  • app dir - dynamic css > should only apply corresponding css for page loaded that /ssr
  • app dir - dynamic css > should only apply corresponding css for page loaded in edge runtime
  • app dir - dynamic css > should only apply corresponding css for page loaded that /another
  • app dir - dynamic css > should not throw with accessing to ALS in preload css
Expand output

● app dir - dynamic css › should preload all chunks of dynamic component during SSR

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

● app dir - dynamic css › should only apply corresponding css for page loaded that /ssr

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

● app dir - dynamic css › should only apply corresponding css for page loaded in edge runtime

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

● app dir - dynamic css › should only apply corresponding css for page loaded that /another

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

● app dir - dynamic css › should not throw with accessing to ALS in preload css

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

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

TURBOPACK=1 pnpm test-start test/e2e/app-dir/actions/app-action-export.test.ts (turbopack)

  • app-dir action handling - next export > should error when use export output for server actions
Expand output

● app-dir action handling - next export › should error when use export output for server actions

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

Expected substring: "Server Actions are not supported with static export."
Received string:    "  ▲ Next.js 15.0.0-canary.166 (turbo)·
   Creating an optimized production build ...
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
   Building (0/55) ...
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
   Building (13/55)··
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
   Building (27/55)··
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
   Building (41/55)··
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
 ✓ Building (55/55)
 ✓ Compiled successfully
   Linting and checking validity of types ...·
   We detected TypeScript in your project and created a tsconfig.json file for you.
   Collecting page data ...
true
true
true
true
TypeError: y is not a function

  at 79704 (../../../../../../tmp/next-install-b809b2471bb53b8dafe16981eda57350d5b27a4ed45d3df4a3346b3bd1171e4e/.next/server/edge/chunks/ssr/[root of the server]__1283b7._.js:1:226)
  at B (../../../../../../tmp/next-install-b809b2471bb53b8dafe16981eda57350d5b27a4ed45d3df4a3346b3bd1171e4e/.next/server/edge/chunks/ssr/edge-wrapper_42f651.js:1:8310)
  at N (../../../../../../tmp/next-install-b809b2471bb53b8dafe16981eda57350d5b27a4ed45d3df4a3346b3bd1171e4e/.next/server/edge/chunks/ssr/edge-wrapper_42f651.js:1:7492)
  at p (../../../../../../tmp/next-install-b809b2471bb53b8dafe16981eda57350d5b27a4ed45d3df4a3346b3bd1171e4e/.next/server/edge/chunks/ssr/edge-wrapper_42f651.js:1:3451)
  at 7116 (../../../../../../tmp/next-install-b809b2471bb53b8dafe16981eda57350d5b27a4ed45d3df4a3346b3bd1171e4e/.next/server/edge/chunks/ssr/c41af_next_dist_esm_server_stream-utils_3317db._.js:1:2287)
  at B (../../../../../../tmp/next-install-b809b2471bb53b8dafe16981eda57350d5b27a4ed45d3df4a3346b3bd1171e4e/.next/server/edge/chunks/ssr/edge-wrapper_42f651.js:1:8310)
  at N (../../../../../../tmp/next-install-b809b2471bb53b8dafe16981eda57350d5b27a4ed45d3df4a3346b3bd1171e4e/.next/server/edge/chunks/ssr/edge-wrapper_42f651.js:1:7492)
  at p (../../../../../../tmp/next-install-b809b2471bb53b8dafe16981eda57350d5b27a4ed45d3df4a3346b3bd1171e4e/.next/server/edge/chunks/ssr/edge-wrapper_42f651.js:1:3451)
  at 1993 (../../../../../../tmp/next-install-b809b2471bb53b8dafe16981eda57350d5b27a4ed45d3df4a3346b3bd1171e4e/.next/server/edge/chunks/ssr/c41af_next_dist_esm_server_stream-utils_3317db._.js:1:2580)
  at B (../../../../../../tmp/next-install-b809b2471bb53b8dafe16981eda57350d5b27a4ed45d3df4a3346b3bd1171e4e/.next/server/edge/chunks/ssr/edge-wrapper_42f651.js:1:8310)·
  > Build error occurred
  Error: Failed to collect page data for /header/edge
  at ../../../../../../tmp/next-install-b809b2471bb53b8dafe16981eda57350d5b27a4ed45d3df4a3346b3bd1171e4e/node_modules/.pnpm/file+..+next-repo-9142a1063d2b0c09cf2072d3ab47875f11b67a5daab96b1df766c9490fef6ca9+packages+n_yj56pgs2jsltpgujdopdlh3exy/node_modules/next/dist/build/utils.js:1281:15
  at process.processTicksAndRejections (../node:internal/process/task_queues:95:5) {
    type: 'Error'
  }
  "
  at Object.toContain (e2e/app-dir/actions/app-action-export.test.ts:36:28)

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

TURBOPACK=1 pnpm test-start test/e2e/app-dir/dedupe-rsc-error-log/dedupe-rsc-error-log.test.ts (turbopack)

  • dedupe-rsc-error-log > should only log RSC error once for nodejs runtime
  • dedupe-rsc-error-log > should only log RSC error once for edge runtime
  • dedupe-rsc-error-log > should only log SSR error once for nodejs runtime
  • dedupe-rsc-error-log > should only log SSR error once for edge runtime
Expand output

● dedupe-rsc-error-log › should only log RSC error once for nodejs runtime

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

● dedupe-rsc-error-log › should only log RSC error once for edge runtime

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

● dedupe-rsc-error-log › should only log SSR error once for nodejs runtime

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

● dedupe-rsc-error-log › should only log SSR error once for edge runtime

next build failed with code/signal 1

   98 |           if (code || signal)
   99 |             reject(
> 100 |               new Error(`next build failed with code/signal ${code || signal}`)
      |               ^
  101 |             )
  102 |           else resolve()
  103 |         })

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:100:15)

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

TURBOPACK=1 pnpm test test/integration/edge-runtime-streaming-error/test/index.test.ts (turbopack)

  • production mode > logs the error correctly
Expand output

● production mode › logs the error correctly

expect(received).toEqual(expected) // deep equality

Expected: "hello"
Received: "<!DOCTYPE html><html><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width\" data-next-head=\"\"/><title data-next-head=\"\">500: Internal Server Error</title><noscript data-n-css=\"\"></noscript><script src=\"/_next/static/chunks/%5Broot%20of%20the%20server%5D__5e6d54._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/08b5e__pnpm_bb3ff3._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/%5Bproject%5D_packages_next_dist_pages_5fba9a._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages__app_bac9b4._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/%5Broot%20of%20the%20server%5D__bd63c9._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/%5Bproject%5D_packages_next_dist_pages_5b90d4._.js\" defer=\"\"></script><script src=\"/_next/static/chunks/pages__error_2b86b7._.js\" defer=\"\"></script><script src=\"/_next/static/Z4M3CklSGnctW400wRBfp/_ssgManifest.js\" defer=\"\"></script><script src=\"/_next/static/Z4M3CklSGnctW400wRBfp/_buildManifest.js\" defer=\"\"></script></head><body><div id=\"__next\"><div style=\"font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center\"><div style=\"line-height:48px\"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class=\"next-error-h1\" style=\"display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top\">500</h1><div style=\"display:inline-block\"><h2 style=\"font-size:14px;font-weight:400;line-height:28px\">Internal Server Error<!-- -->.</h2></div></div></div></div><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":500}},\"page\":\"/_error\",\"query\":{},\"buildId\":\"Z4M3CklSGnctW400wRBfp\",\"isFallback\":false,\"isExperimentalCompile\":false,\"err\":{\"name\":\"Internal Server Error.\",\"message\":\"500 - Internal Server Error.\",\"statusCode\":500},\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

  18 |   return async () => {
  19 |     const res = await fetchViaHTTP(context.appPort, '/api/test')
> 20 |     expect(await res.text()).toEqual('hello')
     |                              ^
  21 |     expect(res.status).toBe(200)
  22 |     await waitFor(200)
  23 |     await check(

  at Object.toEqual (integration/edge-runtime-streaming-error/test/index.test.ts:20:30)

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

TURBOPACK=1 pnpm test test/integration/next-image-new/loader-config-edge-runtime/test/index.test.ts (turbopack)

  • Image Loader Config with Edge Runtime > production mode > should add "src" to img1 based on the loader config
  • Image Loader Config with Edge Runtime > production mode > should add "srcset" to img1 based on the loader config
  • Image Loader Config with Edge Runtime > production mode > should add "src" to img2 based on the loader prop
  • Image Loader Config with Edge Runtime > production mode > should add "srcset" to img2 based on the loader prop
Expand output

● Image Loader Config with Edge Runtime › production mode › should add "src" to img1 based on the loader config

command failed with code 1 signal null
 ⚠ Linting is disabled.
  ▲ Next.js 15.0.0-canary.166 (turbo)

   Checking validity of types ...
   Creating an optimized production build ...
   Building (0/2) ...
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
 ✓ Building (2/2)
 ⚠ Turbopack build collected 24 warnings:
Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


 ✓ Compiled successfully
   Collecting page data ...
 ⚠ You are using an experimental edge runtime, the API might change.
TypeError: P is not a function

> 1 | (globalThis.TURBOPACK=globalThis.TURBOPACK||[]).push(["chunks/ssr/[root of the server]__a17049._.js",{704:function(s){var{r:o,f:e,i:r,s:n,v:t,n:l,c:f,M:a,l:c,j:h,P:i,U:b,R:u,b:v,g:g,__dirname:x,x:P,y:R,m:T,e:U,t:_}=s;let j=P("node:buffer");T.exports=j},8792:function(s){var{r:o,f:e,i:r,s:n,v:t,n:l,c:f,M:a,l:c,j:h,P:i,U:b,R:u,b:v,g:g,__dirname:x,x:P,y:R,m:T,e:U,t:_}=s;let j=P("node:async_hooks");T.exports=j}}]);
    |                                                                                                                                                                                                                                ^
  2 |
  3 | //# sourceMappingURL=%5Broot%20of%20the%20server%5D__a17049._.js.map

  at 704 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[root of the server]__a17049._.js:1:224)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  at N (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:6556)
  at _ (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:2515)
  at 6511 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[project]_packages_next_dist_esm_server_b7d44f._.js:1:24031)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  at N (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:6556)
  at _ (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:2515)
  at 1147 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[project]_packages_next_dist_esm_server_b7d44f._.js:1:24322)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  > Build error occurred
  Error: Failed to collect page data for /
  at ../packages/next/dist/build/utils.js:1281:15
  at process.processTicksAndRejections (../node:internal/process/task_queues:95:5) {
    type: 'Error'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:310:11)

● Image Loader Config with Edge Runtime › production mode › should add "srcset" to img1 based on the loader config

command failed with code 1 signal null
 ⚠ Linting is disabled.
  ▲ Next.js 15.0.0-canary.166 (turbo)

   Checking validity of types ...
   Creating an optimized production build ...
   Building (0/2) ...
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
 ✓ Building (2/2)
 ⚠ Turbopack build collected 24 warnings:
Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


 ✓ Compiled successfully
   Collecting page data ...
 ⚠ You are using an experimental edge runtime, the API might change.
TypeError: P is not a function

> 1 | (globalThis.TURBOPACK=globalThis.TURBOPACK||[]).push(["chunks/ssr/[root of the server]__a17049._.js",{704:function(s){var{r:o,f:e,i:r,s:n,v:t,n:l,c:f,M:a,l:c,j:h,P:i,U:b,R:u,b:v,g:g,__dirname:x,x:P,y:R,m:T,e:U,t:_}=s;let j=P("node:buffer");T.exports=j},8792:function(s){var{r:o,f:e,i:r,s:n,v:t,n:l,c:f,M:a,l:c,j:h,P:i,U:b,R:u,b:v,g:g,__dirname:x,x:P,y:R,m:T,e:U,t:_}=s;let j=P("node:async_hooks");T.exports=j}}]);
    |                                                                                                                                                                                                                                ^
  2 |
  3 | //# sourceMappingURL=%5Broot%20of%20the%20server%5D__a17049._.js.map

  at 704 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[root of the server]__a17049._.js:1:224)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  at N (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:6556)
  at _ (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:2515)
  at 6511 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[project]_packages_next_dist_esm_server_b7d44f._.js:1:24031)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  at N (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:6556)
  at _ (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:2515)
  at 1147 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[project]_packages_next_dist_esm_server_b7d44f._.js:1:24322)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  > Build error occurred
  Error: Failed to collect page data for /
  at ../packages/next/dist/build/utils.js:1281:15
  at process.processTicksAndRejections (../node:internal/process/task_queues:95:5) {
    type: 'Error'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:310:11)

● Image Loader Config with Edge Runtime › production mode › should add "src" to img2 based on the loader prop

command failed with code 1 signal null
 ⚠ Linting is disabled.
  ▲ Next.js 15.0.0-canary.166 (turbo)

   Checking validity of types ...
   Creating an optimized production build ...
   Building (0/2) ...
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
 ✓ Building (2/2)
 ⚠ Turbopack build collected 24 warnings:
Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


 ✓ Compiled successfully
   Collecting page data ...
 ⚠ You are using an experimental edge runtime, the API might change.
TypeError: P is not a function

> 1 | (globalThis.TURBOPACK=globalThis.TURBOPACK||[]).push(["chunks/ssr/[root of the server]__a17049._.js",{704:function(s){var{r:o,f:e,i:r,s:n,v:t,n:l,c:f,M:a,l:c,j:h,P:i,U:b,R:u,b:v,g:g,__dirname:x,x:P,y:R,m:T,e:U,t:_}=s;let j=P("node:buffer");T.exports=j},8792:function(s){var{r:o,f:e,i:r,s:n,v:t,n:l,c:f,M:a,l:c,j:h,P:i,U:b,R:u,b:v,g:g,__dirname:x,x:P,y:R,m:T,e:U,t:_}=s;let j=P("node:async_hooks");T.exports=j}}]);
    |                                                                                                                                                                                                                                ^
  2 |
  3 | //# sourceMappingURL=%5Broot%20of%20the%20server%5D__a17049._.js.map

  at 704 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[root of the server]__a17049._.js:1:224)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  at N (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:6556)
  at _ (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:2515)
  at 6511 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[project]_packages_next_dist_esm_server_b7d44f._.js:1:24031)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  at N (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:6556)
  at _ (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:2515)
  at 1147 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[project]_packages_next_dist_esm_server_b7d44f._.js:1:24322)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  > Build error occurred
  Error: Failed to collect page data for /
  at ../packages/next/dist/build/utils.js:1281:15
  at process.processTicksAndRejections (../node:internal/process/task_queues:95:5) {
    type: 'Error'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:310:11)

● Image Loader Config with Edge Runtime › production mode › should add "srcset" to img2 based on the loader prop

command failed with code 1 signal null
 ⚠ Linting is disabled.
  ▲ Next.js 15.0.0-canary.166 (turbo)

   Checking validity of types ...
   Creating an optimized production build ...
   Building (0/2) ...
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
runtime_code: browser/runtime/base/runtime-base.ts
runtime_code: browser/runtime/base/build-base.ts
 ✓ Building (2/2)
 ⚠ Turbopack build collected 24 warnings:
Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_app"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_document"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"_error"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/load-custom-routes.js:278:9
Ecmascript file had an error
  276 |         console.error();
  277 |         console.error(`Error: Invalid ${type}${numInvalidRoutes === 1 ? '' : 's'} found`);
> 278 |         process.exit(1);
      |         ^^^^^^^^^^^^
  279 |     }
  280 | }
  281 | function processRoutes(routes, config, type) {

A Node.js API is used (process.exit at line: 278) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/load-custom-routes.js:59:9
Ecmascript file had an error
  57 |     if (!Array.isArray(routes)) {
  58 |         console.error(`Error: ${type}s must return an array, received ${typeof routes}.\n` + `See here for more info: https://nextjs.org/docs/messages/routes-must-be-array`);
> 59 |         process.exit(1);
     |         ^^^^^^^^^^^^
  60 |     }
  61 |     let numInvalidRoutes = 0;
  62 |     let hadInvalidStatus = false;

A Node.js API is used (process.exit at line: 59) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/scheduler.js:14:9
Ecmascript file had an error
  12 |     //
  13 |     Promise.resolve().then(()=>{
> 14 |         process.nextTick(cb);
     |         ^^^^^^^^^^^^^^^^
  15 |     });
  16 | };
  17 | /**

A Node.js API is used (process.nextTick at line: 14) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/lib/try-to-parse-path.js:2:1
Ecmascript file had an error
  1 | import { parse, tokensToRegexp } from 'next/dist/compiled/path-to-regexp';
> 2 | import { parse as parseURL } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3 | import isError from './is-error';
  4 | /**
  5 |  * If there is an error show our error link but still show original error or

A Node.js module is loaded ('url' at line 2) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/server/base-server.js:4:1
Ecmascript file had an error
  2 | import { CachedRouteKind } from './response-cache';
  3 | import { NormalizeError, DecodeError, normalizeRepeatedSlashes, MissingStaticPage } from '../shared/lib/utils';
> 4 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5 | import { formatHostname } from './lib/format-hostname';
  6 | import { getRedirectStatus } from '../lib/redirect-status';
  7 | import { isEdgeRuntime } from '../lib/is-edge-runtime';

A Node.js module is loaded ('url' at line 4) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


Page: {"type":"pages","side":"server","page":"/"}
./packages/next/dist/esm/server/server-utils.js:1:1
Ecmascript file had an error
> 1 | import { format as formatUrl, parse as parseUrl } from 'url';
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 | import { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path';
  3 | import { getPathMatch } from '../shared/lib/router/utils/path-match';
  4 | import { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex';

A Node.js module is loaded ('url' at line 1) which is not supported in the Edge Runtime.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime


 ✓ Compiled successfully
   Collecting page data ...
 ⚠ You are using an experimental edge runtime, the API might change.
TypeError: P is not a function

> 1 | (globalThis.TURBOPACK=globalThis.TURBOPACK||[]).push(["chunks/ssr/[root of the server]__a17049._.js",{704:function(s){var{r:o,f:e,i:r,s:n,v:t,n:l,c:f,M:a,l:c,j:h,P:i,U:b,R:u,b:v,g:g,__dirname:x,x:P,y:R,m:T,e:U,t:_}=s;let j=P("node:buffer");T.exports=j},8792:function(s){var{r:o,f:e,i:r,s:n,v:t,n:l,c:f,M:a,l:c,j:h,P:i,U:b,R:u,b:v,g:g,__dirname:x,x:P,y:R,m:T,e:U,t:_}=s;let j=P("node:async_hooks");T.exports=j}}]);
    |                                                                                                                                                                                                                                ^
  2 |
  3 | //# sourceMappingURL=%5Broot%20of%20the%20server%5D__a17049._.js.map

  at 704 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[root of the server]__a17049._.js:1:224)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  at N (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:6556)
  at _ (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:2515)
  at 6511 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[project]_packages_next_dist_esm_server_b7d44f._.js:1:24031)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  at N (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:6556)
  at _ (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:2515)
  at 1147 (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/[project]_packages_next_dist_esm_server_b7d44f._.js:1:24322)
  at B (integration/next-image-new/loader-config-edge-runtime/.next/server/edge/chunks/ssr/edge-wrapper_05f354.js:1:7374)
  > Build error occurred
  Error: Failed to collect page data for /
  at ../packages/next/dist/build/utils.js:1281:15
  at process.processTicksAndRejections (../node:internal/process/task_queues:95:5) {
    type: 'Error'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:310:11)

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

TURBOPACK=1 pnpm test test/integration/image-generation/test/index.test.ts (turbopack)

  • Image Generation > production mode > should generate the image without errors
Expand output

● Image Generation › production mode › should generate the image without errors

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

Expected: 200
Received: 500

  29 |       it('should generate the image without errors', async () => {
  30 |         const res = await fetchViaHTTP(appPort, '/api/image')
> 31 |         expect(res.status).toBe(200)
     |                            ^
  32 |         expect(res.headers.get('Content-Type')).toBe('image/png')
  33 |
  34 |         const buffer = await res.buffer()

  at Object.toBe (integration/image-generation/test/index.test.ts:31:28)

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

__NEXT_EXPERIMENTAL_PPR=true pnpm test-dev test/e2e/next-test/next-test.test.ts (PPR)

  • next test > first time setup > should correctly install missing dependencies and generate missing configuration file for first-time-setup-js
  • next test > first time setup > should correctly install missing dependencies and generate missing configuration file for first-time-setup-ts
Expand output

● next test › first time setup › should correctly install missing dependencies and generate missing configuration file for first-time-setup-js

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

Expected substring: "Successfully generated playwright.config.js. Create your first test and then run `next experimental-test`."
Received string:    "
Installing devDependencies (yarn):
- @playwright/test·
yarn add v1.22.19
info No lockfile found.
[1/4] Resolving packages...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
"

  58 |           expect(stdout).toContain('Installing devDependencies')
  59 |           expect(stdout).toContain('@playwright/test')
> 60 |           expect(stdout).toContain(
     |                          ^
  61 |             `Successfully generated ${
  62 |               fixtureName === 'first-time-setup-js'
  63 |                 ? 'playwright.config.js'

  at toContain (e2e/next-test/next-test.test.ts:60:26)

● next test › first time setup › should correctly install missing dependencies and generate missing configuration file for first-time-setup-ts

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

Expected substring: "Successfully generated playwright.config.ts. Create your first test and then run `next experimental-test`."
Received string:    "
Installing devDependencies (yarn):
- @playwright/test·
yarn add v1.22.19
info No lockfile found.
[1/4] Resolving packages...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
"

  58 |           expect(stdout).toContain('Installing devDependencies')
  59 |           expect(stdout).toContain('@playwright/test')
> 60 |           expect(stdout).toContain(
     |                          ^
  61 |             `Successfully generated ${
  62 |               fixtureName === 'first-time-setup-js'
  63 |                 ? 'playwright.config.js'

  at toContain (e2e/next-test/next-test.test.ts:60:26)

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

@ijjk
Copy link
Member

ijjk commented Sep 16, 2024

Stats from current PR

Default Build
General
vercel/next.js canary vercel/next.js wbinnssmith/runtime-build Change
buildDuration 24.7s 21.6s N/A
buildDurationCached 11.8s 11.4s N/A
nodeModulesSize 359 MB 359 MB
nextStartRea..uration (ms) 517ms 513ms N/A
Client Bundles (main, webpack)
vercel/next.js canary vercel/next.js wbinnssmith/runtime-build Change
2120-HASH.js gzip 5.25 kB 5.26 kB N/A
2893-HASH.js gzip 43.1 kB 43.1 kB N/A
4799ad3f-HASH.js gzip 52.8 kB 52.8 kB N/A
6087.HASH.js gzip 170 B 169 B N/A
framework-HASH.js gzip 57.6 kB 57.6 kB N/A
main-app-HASH.js gzip 227 B 230 B N/A
main-HASH.js gzip 32.7 kB 32.7 kB N/A
webpack-HASH.js gzip 1.71 kB 1.71 kB N/A
Overall change 0 B 0 B
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js wbinnssmith/runtime-build Change
polyfills-HASH.js gzip 39.4 kB 39.4 kB
Overall change 39.4 kB 39.4 kB
Client Pages
vercel/next.js canary vercel/next.js wbinnssmith/runtime-build Change
_app-HASH.js gzip 193 B 193 B
_error-HASH.js gzip 192 B 192 B
amp-HASH.js gzip 511 B 510 B N/A
css-HASH.js gzip 343 B 343 B
dynamic-HASH.js gzip 1.84 kB 1.84 kB N/A
edge-ssr-HASH.js gzip 264 B 264 B
head-HASH.js gzip 364 B 363 B N/A
hooks-HASH.js gzip 392 B 392 B
image-HASH.js gzip 4.41 kB 4.4 kB N/A
index-HASH.js gzip 269 B 268 B N/A
link-HASH.js gzip 2.78 kB 2.78 kB N/A
routerDirect..HASH.js gzip 327 B 329 B N/A
script-HASH.js gzip 397 B 392 B N/A
withRouter-HASH.js gzip 325 B 325 B
1afbb74e6ecf..834.css gzip 106 B 106 B
Overall change 1.81 kB 1.81 kB
Client Build Manifests
vercel/next.js canary vercel/next.js wbinnssmith/runtime-build Change
_buildManifest.js gzip 751 B 748 B N/A
Overall change 0 B 0 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js wbinnssmith/runtime-build Change
index.html gzip 523 B 523 B
link.html gzip 537 B 538 B N/A
withRouter.html gzip 518 B 520 B N/A
Overall change 523 B 523 B
Edge SSR bundle Size
vercel/next.js canary vercel/next.js wbinnssmith/runtime-build Change
edge-ssr.js gzip 128 kB 128 kB N/A
page.js gzip 179 kB 179 kB N/A
Overall change 0 B 0 B
Middleware size
vercel/next.js canary vercel/next.js wbinnssmith/runtime-build Change
middleware-b..fest.js gzip 669 B 667 B N/A
middleware-r..fest.js gzip 156 B 154 B N/A
middleware.js gzip 29.8 kB 29.8 kB N/A
edge-runtime..pack.js gzip 844 B 844 B
Overall change 844 B 844 B
Next Runtimes
vercel/next.js canary vercel/next.js wbinnssmith/runtime-build Change
973-experime...dev.js gzip 322 B 322 B
973.runtime.dev.js gzip 314 B 314 B
app-page-exp...dev.js gzip 318 kB 318 kB
app-page-exp..prod.js gzip 126 kB 126 kB
app-page-tur..prod.js gzip 139 kB 139 kB
app-page-tur..prod.js gzip 134 kB 134 kB
app-page.run...dev.js gzip 308 kB 308 kB
app-page.run..prod.js gzip 121 kB 121 kB
app-route-ex...dev.js gzip 32.1 kB 32.1 kB
app-route-ex..prod.js gzip 21.7 kB 21.7 kB
app-route-tu..prod.js gzip 21.7 kB 21.7 kB
app-route-tu..prod.js gzip 21.5 kB 21.5 kB
app-route.ru...dev.js gzip 33.7 kB 33.7 kB
app-route.ru..prod.js gzip 21.5 kB 21.5 kB
pages-api-tu..prod.js gzip 9.62 kB 9.62 kB
pages-api.ru...dev.js gzip 11.5 kB 11.5 kB
pages-api.ru..prod.js gzip 9.61 kB 9.61 kB
pages-turbo...prod.js gzip 20.8 kB 20.8 kB
pages.runtim...dev.js gzip 26.4 kB 26.4 kB
pages.runtim..prod.js gzip 20.8 kB 20.8 kB
server.runti..prod.js gzip 57.9 kB 57.9 kB
Overall change 1.46 MB 1.46 MB
build cache
vercel/next.js canary vercel/next.js wbinnssmith/runtime-build Change
0.pack gzip 1.66 MB 1.66 MB N/A
index.pack gzip 133 kB 132 kB N/A
Overall change 0 B 0 B
Diff details
Diff for page.js
@@ -15,7 +15,7 @@
       /***/
     },
 
-    /***/ 9723: /***/ (
+    /***/ 7068: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -30,7 +30,7 @@
         default: () => /* binding */ nHandler,
       });
 
-      // NAMESPACE OBJECT: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statscPXpog%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
+      // NAMESPACE OBJECT: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statscPXpog%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
       var page_next_edge_ssr_entry_namespaceObject = {};
       __webpack_require__.r(page_next_edge_ssr_entry_namespaceObject);
       __webpack_require__.d(page_next_edge_ssr_entry_namespaceObject, {
@@ -70,35 +70,35 @@
         tree: () => tree,
       });
 
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/server/web/globals.js
-      var globals = __webpack_require__(3663);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
-      var adapter = __webpack_require__(302);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 85 modules
-      var render = __webpack_require__(2253);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
-      var incremental_cache = __webpack_require__(7458);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/server/app-render/app-render.js + 74 modules
-      var app_render = __webpack_require__(7615);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
-      var module_compiled = __webpack_require__(7537);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/server/route-kind.js
-      var route_kind = __webpack_require__(4905);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/client/components/error-boundary.js
-      var error_boundary = __webpack_require__(4740);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/server/app-render/entry-base.js + 10 modules
-      var entry_base = __webpack_require__(6203); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statscPXpog%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/server/web/globals.js
+      var globals = __webpack_require__(4950);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
+      var adapter = __webpack_require__(2858);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 85 modules
+      var render = __webpack_require__(3208);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
+      var incremental_cache = __webpack_require__(7539);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/server/app-render/app-render.js + 74 modules
+      var app_render = __webpack_require__(8471);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
+      var module_compiled = __webpack_require__(5259);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/server/route-kind.js
+      var route_kind = __webpack_require__(8281);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/client/components/error-boundary.js
+      var error_boundary = __webpack_require__(790);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/server/app-render/entry-base.js + 10 modules
+      var entry_base = __webpack_require__(3206); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statscPXpog%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
       const module0 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 5931)
+          __webpack_require__.bind(__webpack_require__, 3867)
         );
       const module1 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 3697)
+          __webpack_require__.bind(__webpack_require__, 4592)
         );
       const page2 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 2928)
+          __webpack_require__.bind(__webpack_require__, 4242)
         );
 
       // We inject the tree and pages here so that we can use them in the route
@@ -161,12 +161,12 @@
       });
 
       //# sourceMappingURL=app-page.js.map
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/lib/page-types.js
-      var page_types = __webpack_require__(203);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/server/app-render/encryption-utils.js
-      var encryption_utils = __webpack_require__(8791);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/esm/server/app-render/action-utils.js
-      var action_utils = __webpack_require__(5338); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?{"absolute500Path":"","absoluteAppPath":"next/dist/pages/_app","absoluteDocumentPath":"next/dist/pages/_document","absoluteErrorPath":"next/dist/pages/_error","absolutePagePath":"private-next-app-dir/app-edge-ssr/page.js","dev":false,"isServerComponent":true,"page":"/app-edge-ssr/page","stringifiedConfig":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnV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IsInJlYWN0LWljb25zL3NsIiwicmVhY3QtaWNvbnMvdGIiLCJyZWFjdC1pY29ucy90ZmkiLCJyZWFjdC1pY29ucy90aSIsInJlYWN0LWljb25zL3ZzYyIsInJlYWN0LWljb25zL3dpIl19LCJidW5kbGVQYWdlc1JvdXRlckRlcGVuZGVuY2llcyI6ZmFsc2UsImNvbmZpZ0ZpbGUiOiIvdG1wL25leHQtc3RhdHNjUFhwb2cvc3RhdHMtYXBwL25leHQuY29uZmlnLmpzIiwiY29uZmlnRmlsZU5hbWUiOiJuZXh0LmNvbmZpZy5qcyJ9","pagesType":"app","appDirLoader":"bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBwLWVkZ2Utc3NyJTJGcGFnZSZwYWdlPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZVBhdGg9cHJpdmF0ZS1uZXh0LWFwcC1kaXIlMkZhcHAtZWRnZS1zc3IlMkZwYWdlLmpzJmFwcERpcj0lMkZ0bXAlMkZuZXh0LXN0YXRzY1BYcG9nJTJGc3RhdHMtYXBwJTJGYXBwJmFwcFBhdGhzPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZUV4dGVuc2lvbnM9dHN4JnBhZ2VFeHRlbnNpb25zPXRzJnBhZ2VFeHRlbnNpb25zPWpzeCZwYWdlRXh0ZW5zaW9ucz1qcyZiYXNlUGF0aD0mYXNzZXRQcmVmaXg9Jm5leHRDb25maWdPdXRwdXQ9JmZseWluZ1NodXR0bGU9ZmFsc2UmcHJlZmVycmVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE=","sriEnabled":false,"middlewareConfig":"e30="}!
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/lib/page-types.js
+      var page_types = __webpack_require__(8438);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/server/app-render/encryption-utils.js
+      var encryption_utils = __webpack_require__(4011);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/esm/server/app-render/action-utils.js
+      var action_utils = __webpack_require__(9470); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?{"absolute500Path":"","absoluteAppPath":"next/dist/pages/_app","absoluteDocumentPath":"next/dist/pages/_document","absoluteErrorPath":"next/dist/pages/_error","absolutePagePath":"private-next-app-dir/app-edge-ssr/page.js","dev":false,"isServerComponent":true,"page":"/app-edge-ssr/page","stringifiedConfig":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjYWNoZU1heE1lbW9yeVNpemUiOjUyNDI4ODAwLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ3MiOnRydWUsInBhZ2VFeHRlbnNpb25zIjpbInRzeCIsInRzIiwianN4IiwianMiXSwicG93ZXJlZEJ5S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XBwJTJGYXBwLWVkZ2Utc3NyJTJGcGFnZSZwYWdlPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZVBhdGg9cHJpdmF0ZS1uZXh0LWFwcC1kaXIlMkZhcHAtZWRnZS1zc3IlMkZwYWdlLmpzJmFwcERpcj0lMkZ0bXAlMkZuZXh0LXN0YXRzY1BYcG9nJTJGc3RhdHMtYXBwJTJGYXBwJmFwcFBhdGhzPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZUV4dGVuc2lvbnM9dHN4JnBhZ2VFeHRlbnNpb25zPXRzJnBhZ2VFeHRlbnNpb25zPWpzeCZwYWdlRXh0ZW5zaW9ucz1qcyZiYXNlUGF0aD0mYXNzZXRQcmVmaXg9Jm5leHRDb25maWdPdXRwdXQ9JmZseWluZ1NodXR0bGU9ZmFsc2UmcHJlZmVycmVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE=","sriEnabled":false,"middlewareConfig":"e30="}!
       var _self___RSC_MANIFEST;
 
       const incrementalCacheHandler = null;
@@ -430,53 +430,53 @@
       /***/
     },
 
-    /***/ 7798: /***/ (
+    /***/ 6327: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 5501)
+        __webpack_require__.bind(__webpack_require__, 263)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 1323)
+        __webpack_require__.bind(__webpack_require__, 239)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 933)
+        __webpack_require__.bind(__webpack_require__, 6808)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 7131)
+        __webpack_require__.bind(__webpack_require__, 9543)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 3048)
+        __webpack_require__.bind(__webpack_require__, 4145)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 8281)
+        __webpack_require__.bind(__webpack_require__, 6196)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 3129)
+        __webpack_require__.bind(__webpack_require__, 754)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 9429)
+        __webpack_require__.bind(__webpack_require__, 3482)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 1985)
+        __webpack_require__.bind(__webpack_require__, 9294)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 1815)
+        __webpack_require__.bind(__webpack_require__, 8049)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 566)
+        __webpack_require__.bind(__webpack_require__, 2408)
       );
 
       /***/
     },
 
-    /***/ 5415: /***/ () => {
+    /***/ 8977: /***/ () => {
       /***/
     },
 
-    /***/ 2928: /***/ (
+    /***/ 4242: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -496,7 +496,7 @@
       /***/
     },
 
-    /***/ 5931: /***/ (
+    /***/ 3867: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -508,7 +508,7 @@
         /* harmony export */
       });
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(7887);
+        __webpack_require__(9851);
 
       function RootLayout({ children }) {
         return /*#__PURE__*/ (0,
@@ -527,7 +527,7 @@
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
-    /******/ __webpack_require__.O(0, [403, 678], () => __webpack_exec__(9723));
+    /******/ __webpack_require__.O(0, [219, 473], () => __webpack_exec__(7068));
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ (_ENTRIES = typeof _ENTRIES === "undefined" ? {} : _ENTRIES)[
       "middleware_app/app-edge-ssr/page"
Diff for middleware.js

Diff too large to display

Diff for edge-ssr.js

Diff too large to display

Diff for image-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [8358],
   {
-    /***/ 9553: /***/ (
+    /***/ 2542: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/image",
         function () {
-          return __webpack_require__(4973);
+          return __webpack_require__(5220);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 4492: /***/ (module, exports, __webpack_require__) => {
+    /***/ 39: /***/ (module, exports, __webpack_require__) => {
       "use strict";
       /* __next_internal_client_entry_do_not_use__  cjs */
       Object.defineProperty(exports, "__esModule", {
@@ -40,17 +40,17 @@
         __webpack_require__(5096)
       );
       const _head = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(1900)
+        __webpack_require__(4927)
       );
-      const _getimgprops = __webpack_require__(7298);
-      const _imageconfig = __webpack_require__(364);
-      const _imageconfigcontextsharedruntime = __webpack_require__(607);
-      const _warnonce = __webpack_require__(3417);
-      const _routercontextsharedruntime = __webpack_require__(8249);
+      const _getimgprops = __webpack_require__(9121);
+      const _imageconfig = __webpack_require__(5657);
+      const _imageconfigcontextsharedruntime = __webpack_require__(4517);
+      const _warnonce = __webpack_require__(1512);
+      const _routercontextsharedruntime = __webpack_require__(499);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(6186)
+        __webpack_require__(6699)
       );
-      const _usemergedref = __webpack_require__(1927);
+      const _usemergedref = __webpack_require__(5395);
       // This is replaced by webpack define plugin
       const configEnv = {
         deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
@@ -371,7 +371,7 @@
       /***/
     },
 
-    /***/ 1927: /***/ (module, exports, __webpack_require__) => {
+    /***/ 5395: /***/ (module, exports, __webpack_require__) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -440,7 +440,7 @@
       /***/
     },
 
-    /***/ 7298: /***/ (
+    /***/ 9121: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -456,9 +456,9 @@
           return getImgProps;
         },
       });
-      const _warnonce = __webpack_require__(3417);
-      const _imageblursvg = __webpack_require__(3844);
-      const _imageconfig = __webpack_require__(364);
+      const _warnonce = __webpack_require__(1512);
+      const _imageblursvg = __webpack_require__(94);
+      const _imageconfig = __webpack_require__(5657);
       const VALID_LOADING_VALUES =
         /* unused pure expression or super */ null && [
           "lazy",
@@ -831,7 +831,7 @@
       /***/
     },
 
-    /***/ 3844: /***/ (__unused_webpack_module, exports) => {
+    /***/ 94: /***/ (__unused_webpack_module, exports) => {
       "use strict";
       /**
        * A shared function, used on both client and server, to generate a SVG blur placeholder.
@@ -886,7 +886,7 @@
       /***/
     },
 
-    /***/ 2464: /***/ (
+    /***/ 7268: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -913,10 +913,10 @@
         },
       });
       const _interop_require_default = __webpack_require__(9608);
-      const _getimgprops = __webpack_require__(7298);
-      const _imagecomponent = __webpack_require__(4492);
+      const _getimgprops = __webpack_require__(9121);
+      const _imagecomponent = __webpack_require__(39);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(6186)
+        __webpack_require__(6699)
       );
       function getImageProps(imgProps) {
         const { props } = (0, _getimgprops.getImgProps)(imgProps, {
@@ -948,7 +948,7 @@
       /***/
     },
 
-    /***/ 6186: /***/ (__unused_webpack_module, exports) => {
+    /***/ 6699: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -983,7 +983,7 @@
       /***/
     },
 
-    /***/ 4973: /***/ (
+    /***/ 5220: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -1000,8 +1000,8 @@
 
       // EXTERNAL MODULE: ./node_modules/.pnpm/react@19.0.0-rc-5d19e1c8-20240923/node_modules/react/jsx-runtime.js
       var jsx_runtime = __webpack_require__(4129);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_exh3korby52talgbfgrfijbiwa/node_modules/next/image.js
-      var next_image = __webpack_require__(487);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-5d19e1c8-20240923_re_l4vv5whrqalbzw3o4esxkwi2ju/node_modules/next/image.js
+      var next_image = __webpack_require__(6147);
       var image_default = /*#__PURE__*/ __webpack_require__.n(next_image); // CONCATENATED MODULE: ./pages/nextjs.png
       /* harmony default export */ const nextjs = {
         src: "/_next/static/media/nextjs.cae0b805.png",
@@ -1031,12 +1031,12 @@
       /***/
     },
 
-    /***/ 487: /***/ (
+    /***/ 6147: /***/ (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
-      module.exports = __webpack_require__(2464);
+      module.exports = __webpack_require__(7268);
 
       /***/
     },
@@ -1046,7 +1046,7 @@
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [2888, 9774, 179], () =>
-      __webpack_exec__(9553)
+      __webpack_exec__(2542)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for 2893-HASH.js

Diff too large to display

Diff for main-HASH.js

Diff too large to display

Commit: 68f7eff

@ijjk ijjk added the Turbopack Related to Turbopack with Next.js. label Sep 24, 2024
@wbinnssmith wbinnssmith marked this pull request as ready for review September 25, 2024 00:48
Currently we ship dev runtimes (with things like HMR logic) along with code for loading chunks. This separates them and allows us to include a minimal runtime for builds.

Test Plan: `TURBOPACK=1 TURBOPACK_BUILD=1 pnpm build` on an app with a `middleware.ts` and verified it loads when started.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
created-by: Turbopack team PRs by the Turbopack team. Turbopack Related to Turbopack with Next.js. type: next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants