Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[DRAFT]: Enable tree shaking without special_exports #70149

Closed
wants to merge 5 commits into from

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Sep 16, 2024

What?

Applies #70114 while reverting #70015

Why?

To see failing test cases.

How?

@kdy1 kdy1 self-assigned this Sep 16, 2024
@ijjk ijjk added created-by: Turbopack team PRs by the Turbopack team. Font (next/font) Related to Next.js Font Optimization. tests Turbopack Related to Turbopack with Next.js. labels Sep 16, 2024
@ijjk
Copy link
Member

ijjk commented Sep 16, 2024

Failing test suites

Commit: 6d11761

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

  • app-dir edge SSR > should handle edge only routes
  • app-dir edge SSR > should retrieve cookies in a server component in the edge runtime
  • app-dir edge SSR > should treat process as object without polyfill in edge runtime
  • app-dir edge SSR > should handle /index routes correctly
Expand output

● app-dir edge SSR › should handle edge only routes

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 SSR › should retrieve cookies in a server component in the 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 edge SSR › should treat process as object without polyfill 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 edge SSR › should handle /index routes correctly

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 SSR › should generate matchers correctly in middleware manifest

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-static/app-static.test.ts (turbopack)

  • app-dir static/dynamic handling > should use auto no cache when no fetch config
  • app-dir static/dynamic handling > should still cache even though the traceparent header was different
  • app-dir static/dynamic handling > should warn for too many cache tags
  • app-dir static/dynamic handling > should propagate unstable_cache tags correctly
  • app-dir static/dynamic handling > should infer a fetchCache of force-no-store when force-dynamic is used
  • app-dir static/dynamic handling > force-dynamic should supercede a "default" cache value
  • app-dir static/dynamic handling > fetchCache config should supercede dynamic config when force-dynamic is used
  • app-dir static/dynamic handling > fetch cache should supercede dynamic config when force-dynamic is used
  • app-dir static/dynamic handling > should honor force-static with fetch cache: no-store correctly
  • app-dir static/dynamic handling > should correctly include headers instance in cache key
  • app-dir static/dynamic handling > unstable-cache should work in pages/unstable-cache-node
  • app-dir static/dynamic handling > unstable-cache should work in pages/unstable-cache-edge
  • app-dir static/dynamic handling > unstable-cache should work in pages/api/unstable-cache-node
  • app-dir static/dynamic handling > unstable-cache should work in pages/api/unstable-cache-edge
  • app-dir static/dynamic handling > should not have cache tags header for non-minimal mode
  • app-dir static/dynamic handling > should correctly skip caching POST fetch for POST handler
  • app-dir static/dynamic handling > should properly revalidate a route handler that triggers dynamic usage with force-static
  • app-dir static/dynamic handling > it should revalidate tag correctly with edge route handler
  • app-dir static/dynamic handling > it should revalidate tag correctly with node route handler
  • app-dir static/dynamic handling > should not revalidate / when revalidate is not used
  • app-dir static/dynamic handling > it should revalidate correctly with edge route handler
  • app-dir static/dynamic handling > it should revalidate correctly with node route handler
  • app-dir static/dynamic handling > should revalidate all fetches during on-demand revalidate
  • app-dir static/dynamic handling > should correctly handle fetchCache = "force-no-store"
  • app-dir static/dynamic handling > should revalidate correctly with config and fetch revalidate
  • app-dir static/dynamic handling > should not cache non-ok statusCode
  • app-dir static/dynamic handling > should have correct prerender-manifest entries
  • app-dir static/dynamic handling > should output debug info for static bailouts
  • app-dir static/dynamic handling > should log fetch metrics to the diagnostics directory
  • app-dir static/dynamic handling > should correctly error and not update cache for ISR
  • app-dir static/dynamic handling > should stream properly for /stale-cache-serving/app-page
  • app-dir static/dynamic handling > should stream properly for /stale-cache-serving/route-handler
  • app-dir static/dynamic handling > should stream properly for /stale-cache-serving-edge/app-page
  • app-dir static/dynamic handling > should stream properly for /stale-cache-serving-edge/route-handler
  • app-dir static/dynamic handling > should correctly handle statusCode with notFound + ISR
  • app-dir static/dynamic handling > should cache correctly for fetchCache = default-cache
  • app-dir static/dynamic handling > should cache correctly when accessing search params opts into dynamic rendering
  • app-dir static/dynamic handling > should cache correctly for fetchCache = force-cache
  • app-dir static/dynamic handling > should cache correctly for cache: no-store
  • app-dir static/dynamic handling > should not error with dynamic server usage with force-static
  • app-dir static/dynamic handling > should produce response with url from fetch
  • app-dir static/dynamic handling > should properly error when dynamic = "error" page uses dynamic
  • app-dir static/dynamic handling > should skip cache in draft mode
  • app-dir static/dynamic handling > should handle partial-gen-params with default dynamicParams correctly
  • app-dir static/dynamic handling > should handle partial-gen-params with layout dynamicParams = false correctly
  • app-dir static/dynamic handling > should handle partial-gen-params with page dynamicParams = false correctly
  • app-dir static/dynamic handling > should honor fetch cache in generateStaticParams
  • app-dir static/dynamic handling > should honor fetch cache correctly
  • app-dir static/dynamic handling > should honor fetch cache correctly (edge)
  • app-dir static/dynamic handling > should cache correctly with authorization header and revalidate
  • app-dir static/dynamic handling > should skip fetch cache when an authorization header is present after dynamic usage
  • app-dir static/dynamic handling > should skip fetch cache when accessing request properties
  • app-dir static/dynamic handling > should not cache correctly with POST method request init
  • app-dir static/dynamic handling > should cache correctly with post method and revalidate
  • app-dir static/dynamic handling > should cache correctly with post method and revalidate edge
  • app-dir static/dynamic handling > should cache correctly with POST method and revalidate
  • app-dir static/dynamic handling > should cache correctly with cookie header and revalidate
  • app-dir static/dynamic handling > should cache correctly with utf8 encoding
  • app-dir static/dynamic handling > should cache correctly with utf8 encoding edge
  • app-dir static/dynamic handling > should cache correctly handle JSON body
  • app-dir static/dynamic handling > should not throw Dynamic Server Usage error when using generateStaticParams with draftMode
  • app-dir static/dynamic handling > should force SSR correctly for headers usage
  • app-dir static/dynamic handling > should allow dynamic routes to access cookies
  • app-dir static/dynamic handling > should not error with generateStaticParams and dynamic data
  • app-dir static/dynamic handling > should not error with force-dynamic and catch-all routes
  • app-dir static/dynamic handling > should not error with generateStaticParams and authed data on revalidate
  • app-dir static/dynamic handling > should honor dynamic = "force-static" correctly
  • app-dir static/dynamic handling > should honor dynamic = "force-static" correctly (lazy)
  • app-dir static/dynamic handling > should handle dynamicParams: false correctly
  • app-dir static/dynamic handling > should work with forced dynamic path
  • app-dir static/dynamic handling > should work with dynamic path no generateStaticParams
  • app-dir static/dynamic handling > should handle dynamicParams: true correctly
  • app-dir static/dynamic handling > should navigate to static path correctly
  • app-dir static/dynamic handling > should ssr dynamically when detected automatically with fetch cache option
  • app-dir static/dynamic handling > should render not found pages correctly and fallback to the default one
  • app-dir static/dynamic handling > should ssr dynamically when forced via config
  • app-dir static/dynamic handling > should keep querystring on static page
  • app-dir static/dynamic handling > should build dynamic param with edge runtime correctly
  • app-dir static/dynamic handling > Incremental cache limits > should load data only at build time even if response data size is greater than 2MB and FetchCache is possible
  • app-dir static/dynamic handling > unstable_cache > should retrieve the same value on second request
  • app-dir static/dynamic handling > unstable_cache > should bypass cache in draft mode
  • app-dir static/dynamic handling > unstable_cache > should not cache new result in draft mode
  • app-dir static/dynamic handling > unstable_cache > should not error when retrieving the value undefined
  • app-dir static/dynamic handling > unstable_cache > should not error when calling a fetch no-store
  • app-dir static/dynamic handling > unstable_cache > should not error when calling a fetch no-cache
  • app-dir static/dynamic handling > unstable_noStore > should opt-out of static optimization
  • app-dir static/dynamic handling > unstable_noStore > should not opt-out of static optimization when used in next/cache
  • app-dir static/dynamic handling > usePathname > should have the correct values
  • app-dir static/dynamic handling > usePathname > should have values from canonical url on rewrite
  • app-dir static/dynamic handling > useSearchParams > client > should bailout to client rendering - with suspense boundary
  • app-dir static/dynamic handling > useSearchParams > client > should have values from canonical url on rewrite
  • app-dir static/dynamic handling > useSearchParams > server response > should bailout to client rendering - with suspense boundary
Expand output

● app-dir static/dynamic handling › should use auto no cache when no fetch config

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 static/dynamic handling › should use auto no cache when no fetch config

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should still cache even though the traceparent header was different

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 static/dynamic handling › should still cache even though the traceparent header was different

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should warn for too many cache tags

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 static/dynamic handling › should warn for too many cache tags

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should propagate unstable_cache tags correctly

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 static/dynamic handling › should propagate unstable_cache tags correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should infer a fetchCache of force-no-store when force-dynamic is used

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 static/dynamic handling › should infer a fetchCache of force-no-store when force-dynamic is used

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › force-dynamic should supercede a "default" cache value

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 static/dynamic handling › force-dynamic should supercede a "default" cache value

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › fetchCache config should supercede dynamic config when force-dynamic is used

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 static/dynamic handling › fetchCache config should supercede dynamic config when force-dynamic is used

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › fetch cache should supercede dynamic config when force-dynamic is used

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 static/dynamic handling › fetch cache should supercede dynamic config when force-dynamic is used

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should honor force-static with fetch cache: no-store correctly

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 static/dynamic handling › should honor force-static with fetch cache: no-store correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly include headers instance in cache key

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 static/dynamic handling › should correctly include headers instance in cache key

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly de-dupe fetch without next cache /react-fetch-deduping-node

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 static/dynamic handling › should correctly de-dupe fetch without next cache /react-fetch-deduping-node

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly de-dupe fetch without next cache /react-fetch-deduping-edge

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 static/dynamic handling › should correctly de-dupe fetch without next cache /react-fetch-deduping-edge

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable-cache should work in pages/unstable-cache-node

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 static/dynamic handling › unstable-cache should work in pages/unstable-cache-node

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable-cache should work in pages/unstable-cache-edge

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 static/dynamic handling › unstable-cache should work in pages/unstable-cache-edge

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable-cache should work in pages/api/unstable-cache-node

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 static/dynamic handling › unstable-cache should work in pages/api/unstable-cache-node

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable-cache should work in pages/api/unstable-cache-edge

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 static/dynamic handling › unstable-cache should work in pages/api/unstable-cache-edge

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not have cache tags header for non-minimal mode

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 static/dynamic handling › should not have cache tags header for non-minimal mode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly skip caching POST fetch for POST handler

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 static/dynamic handling › should correctly skip caching POST fetch for POST handler

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should properly revalidate a route handler that triggers dynamic usage with force-static

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 static/dynamic handling › should properly revalidate a route handler that triggers dynamic usage with force-static

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › it should revalidate tag correctly with edge route handler

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 static/dynamic handling › it should revalidate tag correctly with edge route handler

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › it should revalidate tag correctly with node route handler

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 static/dynamic handling › it should revalidate tag correctly with node route handler

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not revalidate / when revalidate is not used

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 static/dynamic handling › should not revalidate / when revalidate is not used

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › it should revalidate correctly with edge route handler

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 static/dynamic handling › it should revalidate correctly with edge route handler

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › it should revalidate correctly with node route handler

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 static/dynamic handling › it should revalidate correctly with node route handler

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should revalidate all fetches during on-demand revalidate

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 static/dynamic handling › should revalidate all fetches during on-demand revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly handle fetchCache = "force-no-store"

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 static/dynamic handling › should correctly handle fetchCache = "force-no-store"

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should revalidate correctly with config and fetch revalidate

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 static/dynamic handling › should revalidate correctly with config and fetch revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not cache non-ok statusCode

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 static/dynamic handling › should not cache non-ok statusCode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should output HTML/RSC files for static 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 static/dynamic handling › should output HTML/RSC files for static paths

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should have correct prerender-manifest entries

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 static/dynamic handling › should have correct prerender-manifest entries

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should output debug info for static bailouts

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 static/dynamic handling › should output debug info for static bailouts

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should log fetch metrics to the diagnostics directory

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 static/dynamic handling › should log fetch metrics to the diagnostics directory

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly error and not update cache for ISR

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 static/dynamic handling › should correctly error and not update cache for ISR

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should stream properly for /stale-cache-serving/app-page

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 static/dynamic handling › should stream properly for /stale-cache-serving/app-page

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should stream properly for /stale-cache-serving/route-handler

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 static/dynamic handling › should stream properly for /stale-cache-serving/route-handler

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should stream properly for /stale-cache-serving-edge/app-page

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 static/dynamic handling › should stream properly for /stale-cache-serving-edge/app-page

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should stream properly for /stale-cache-serving-edge/route-handler

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 static/dynamic handling › should stream properly for /stale-cache-serving-edge/route-handler

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly handle statusCode with notFound + ISR

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 static/dynamic handling › should correctly handle statusCode with notFound + ISR

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly for fetchCache = default-cache

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 static/dynamic handling › should cache correctly for fetchCache = default-cache

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly when accessing search params opts into dynamic rendering

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 static/dynamic handling › should cache correctly when accessing search params opts into dynamic rendering

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly for fetchCache = force-cache

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 static/dynamic handling › should cache correctly for fetchCache = force-cache

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly for cache: no-store

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 static/dynamic handling › should cache correctly for cache: no-store

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not error with dynamic server usage with force-static

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 static/dynamic handling › should not error with dynamic server usage with force-static

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should produce response with url from fetch

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 static/dynamic handling › should produce response with url from fetch

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should properly error when dynamic = "error" page uses dynamic

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 static/dynamic handling › should properly error when dynamic = "error" page uses dynamic

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should skip cache in draft mode

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 static/dynamic handling › should skip cache in draft mode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should handle partial-gen-params with default dynamicParams correctly

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 static/dynamic handling › should handle partial-gen-params with default dynamicParams correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should handle partial-gen-params with layout dynamicParams = false correctly

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 static/dynamic handling › should handle partial-gen-params with layout dynamicParams = false correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should handle partial-gen-params with page dynamicParams = false correctly

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 static/dynamic handling › should handle partial-gen-params with page dynamicParams = false correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should honor fetch cache in generateStaticParams

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 static/dynamic handling › should honor fetch cache in generateStaticParams

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should honor fetch cache correctly

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 static/dynamic handling › should honor fetch cache correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should honor fetch cache correctly (edge)

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 static/dynamic handling › should honor fetch cache correctly (edge)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with authorization header and revalidate

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 static/dynamic handling › should cache correctly with authorization header and revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should skip fetch cache when an authorization header is present after dynamic usage

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 static/dynamic handling › should skip fetch cache when an authorization header is present after dynamic usage

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should skip fetch cache when accessing request properties

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 static/dynamic handling › should skip fetch cache when accessing request properties

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not cache correctly with POST method request init

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 static/dynamic handling › should not cache correctly with POST method request init

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with post method and revalidate

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 static/dynamic handling › should cache correctly with post method and revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with post method and revalidate edge

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 static/dynamic handling › should cache correctly with post method and revalidate edge

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with POST method and revalidate

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 static/dynamic handling › should cache correctly with POST method and revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with cookie header and revalidate

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 static/dynamic handling › should cache correctly with cookie header and revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with utf8 encoding

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 static/dynamic handling › should cache correctly with utf8 encoding

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with utf8 encoding edge

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 static/dynamic handling › should cache correctly with utf8 encoding edge

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly handle JSON body

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 static/dynamic handling › should cache correctly handle JSON body

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not throw Dynamic Server Usage error when using generateStaticParams with draftMode

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 static/dynamic handling › should not throw Dynamic Server Usage error when using generateStaticParams with draftMode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should force SSR correctly for headers usage

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 static/dynamic handling › should force SSR correctly for headers usage

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should allow dynamic routes to access cookies

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 static/dynamic handling › should allow dynamic routes to access cookies

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not error with generateStaticParams and dynamic data

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 static/dynamic handling › should not error with generateStaticParams and dynamic data

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not error with force-dynamic and catch-all routes

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 static/dynamic handling › should not error with force-dynamic and catch-all routes

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not error with generateStaticParams and authed data on revalidate

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 static/dynamic handling › should not error with generateStaticParams and authed data on revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should honor dynamic = "force-static" correctly

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 static/dynamic handling › should honor dynamic = "force-static" correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should honor dynamic = "force-static" correctly (lazy)

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 static/dynamic handling › should honor dynamic = "force-static" correctly (lazy)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should handle dynamicParams: false correctly

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 static/dynamic handling › should handle dynamicParams: false correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should work with forced dynamic path

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 static/dynamic handling › should work with forced dynamic path

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should work with dynamic path no generateStaticParams

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 static/dynamic handling › should work with dynamic path no generateStaticParams

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should handle dynamicParams: true correctly

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 static/dynamic handling › should handle dynamicParams: true correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should navigate to static path correctly

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 static/dynamic handling › should navigate to static path correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should ssr dynamically when detected automatically with fetch cache option

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 static/dynamic handling › should ssr dynamically when detected automatically with fetch cache option

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should render not found pages correctly and fallback to the default one

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 static/dynamic handling › should render not found pages correctly and fallback to the default one

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should ssr dynamically when detected automatically with fetch revalidate option

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 static/dynamic handling › should ssr dynamically when detected automatically with fetch revalidate option

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should ssr dynamically when forced via config

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 static/dynamic handling › should ssr dynamically when forced via config

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › useSearchParams › client › should bailout to client rendering - with suspense boundary

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 static/dynamic handling › useSearchParams › client › should bailout to client rendering - with suspense boundary

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › useSearchParams › client › should have empty search params on force-static

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 static/dynamic handling › useSearchParams › client › should have empty search params on force-static

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › useSearchParams › client › should have values from canonical url on rewrite

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 static/dynamic handling › useSearchParams › client › should have values from canonical url on rewrite

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › useSearchParams › server response › should bailout to client rendering - with suspense boundary

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 static/dynamic handling › useSearchParams › server response › should bailout to client rendering - with suspense boundary

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › useSearchParams › server response › should have empty search params on force-static

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 static/dynamic handling › useSearchParams › server response › should have empty search params on force-static

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › usePathname › should have the correct values

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 static/dynamic handling › usePathname › should have the correct values

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › usePathname › should have values from canonical url on rewrite

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 static/dynamic handling › usePathname › should have values from canonical url on rewrite

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_noStore › should opt-out of static optimization

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 static/dynamic handling › unstable_noStore › should opt-out of static optimization

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_noStore › should not opt-out of static optimization when used in next/cache

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 static/dynamic handling › unstable_noStore › should not opt-out of static optimization when used in next/cache

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should retrieve the same value on second request

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 static/dynamic handling › unstable_cache › should retrieve the same value on second request

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should bypass cache in draft mode

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 static/dynamic handling › unstable_cache › should bypass cache in draft mode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should not cache new result in draft mode

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 static/dynamic handling › unstable_cache › should not cache new result in draft mode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should not error when retrieving the value undefined

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 static/dynamic handling › unstable_cache › should not error when retrieving the value undefined

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should not error when calling a fetch no-store

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 static/dynamic handling › unstable_cache › should not error when calling a fetch no-store

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should not error when calling a fetch no-cache

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 static/dynamic handling › unstable_cache › should not error when calling a fetch no-cache

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should keep querystring on static page

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 static/dynamic handling › should keep querystring on static page

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › Incremental cache limits › should load data only at build time even if response data size is greater than 2MB and FetchCache is possible

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 static/dynamic handling › Incremental cache limits › should load data only at build time even if response data size is greater than 2MB and FetchCache is possible

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should build dynamic param with edge runtime correctly

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 static/dynamic handling › should build dynamic param with edge runtime correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

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

TURBOPACK=1 pnpm test-start test/e2e/app-dir/edge-runtime-node-compatibility/edge-runtime-node-compatibility.test.ts (turbopack)

  • edge runtime node compatibility > [pages/api] supports node:buffer
Expand output

● edge runtime node compatibility › [pages/api] supports node:buffer

FetchError: invalid json response body at http://localhost:43915/api/buffer reason: Unexpected token I in JSON at position 0

  30 |       body: 'Hello, world!',
  31 |     })
> 32 |     const json = await res.json()
     |                  ^
  33 |     expect(json).toEqual({
  34 |       'B2.Buffer === B.Buffer': true,
  35 |       'Buffer === B.Buffer': true,

  at ../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:273:32
  at Object.<anonymous> (e2e/app-dir/edge-runtime-node-compatibility/edge-runtime-node-compatibility.test.ts:32:18)

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

TURBOPACK=1 pnpm test-start test/e2e/app-dir/app-static/app-static-custom-handler.test.ts (turbopack)

  • app-dir static/dynamic handling > should use auto no cache when no fetch config
  • app-dir static/dynamic handling > should still cache even though the traceparent header was different
  • app-dir static/dynamic handling > should warn for too many cache tags
  • app-dir static/dynamic handling > should propagate unstable_cache tags correctly
  • app-dir static/dynamic handling > should infer a fetchCache of force-no-store when force-dynamic is used
  • app-dir static/dynamic handling > force-dynamic should supercede a "default" cache value
  • app-dir static/dynamic handling > fetchCache config should supercede dynamic config when force-dynamic is used
  • app-dir static/dynamic handling > fetch cache should supercede dynamic config when force-dynamic is used
  • app-dir static/dynamic handling > should correctly include headers instance in cache key
  • app-dir static/dynamic handling > unstable-cache should work in pages/unstable-cache-node
  • app-dir static/dynamic handling > unstable-cache should work in pages/unstable-cache-edge
  • app-dir static/dynamic handling > unstable-cache should work in pages/api/unstable-cache-node
  • app-dir static/dynamic handling > unstable-cache should work in pages/api/unstable-cache-edge
  • app-dir static/dynamic handling > should not have cache tags header for non-minimal mode
  • app-dir static/dynamic handling > should correctly skip caching POST fetch for POST handler
  • app-dir static/dynamic handling > should correctly handle fetchCache = "force-no-store"
  • app-dir static/dynamic handling > should not cache non-ok statusCode
  • app-dir static/dynamic handling > should have correct prerender-manifest entries
  • app-dir static/dynamic handling > should output debug info for static bailouts
  • app-dir static/dynamic handling > should log fetch metrics to the diagnostics directory
  • app-dir static/dynamic handling > should stream properly for /stale-cache-serving/app-page
  • app-dir static/dynamic handling > should stream properly for /stale-cache-serving/route-handler
  • app-dir static/dynamic handling > should stream properly for /stale-cache-serving-edge/app-page
  • app-dir static/dynamic handling > should stream properly for /stale-cache-serving-edge/route-handler
  • app-dir static/dynamic handling > should correctly handle statusCode with notFound + ISR
  • app-dir static/dynamic handling > should cache correctly for fetchCache = default-cache
  • app-dir static/dynamic handling > should cache correctly when accessing search params opts into dynamic rendering
  • app-dir static/dynamic handling > should cache correctly for fetchCache = force-cache
  • app-dir static/dynamic handling > should cache correctly for cache: no-store
  • app-dir static/dynamic handling > should not error with dynamic server usage with force-static
  • app-dir static/dynamic handling > should produce response with url from fetch
  • app-dir static/dynamic handling > should properly error when dynamic = "error" page uses dynamic
  • app-dir static/dynamic handling > should skip cache in draft mode
  • app-dir static/dynamic handling > should handle partial-gen-params with default dynamicParams correctly
  • app-dir static/dynamic handling > should handle partial-gen-params with layout dynamicParams = false correctly
  • app-dir static/dynamic handling > should handle partial-gen-params with page dynamicParams = false correctly
  • app-dir static/dynamic handling > should honor fetch cache correctly
  • app-dir static/dynamic handling > should honor fetch cache correctly (edge)
  • app-dir static/dynamic handling > should cache correctly with authorization header and revalidate
  • app-dir static/dynamic handling > should skip fetch cache when an authorization header is present after dynamic usage
  • app-dir static/dynamic handling > should skip fetch cache when accessing request properties
  • app-dir static/dynamic handling > should not cache correctly with POST method request init
  • app-dir static/dynamic handling > should cache correctly with post method and revalidate
  • app-dir static/dynamic handling > should cache correctly with post method and revalidate edge
  • app-dir static/dynamic handling > should cache correctly with POST method and revalidate
  • app-dir static/dynamic handling > should cache correctly with cookie header and revalidate
  • app-dir static/dynamic handling > should cache correctly with utf8 encoding
  • app-dir static/dynamic handling > should cache correctly with utf8 encoding edge
  • app-dir static/dynamic handling > should cache correctly handle JSON body
  • app-dir static/dynamic handling > should not throw Dynamic Server Usage error when using generateStaticParams with draftMode
  • app-dir static/dynamic handling > should force SSR correctly for headers usage
  • app-dir static/dynamic handling > should allow dynamic routes to access cookies
  • app-dir static/dynamic handling > should not error with generateStaticParams and dynamic data
  • app-dir static/dynamic handling > should not error with force-dynamic and catch-all routes
  • app-dir static/dynamic handling > should not error with generateStaticParams and authed data on revalidate
  • app-dir static/dynamic handling > should work with forced dynamic path
  • app-dir static/dynamic handling > should work with dynamic path no generateStaticParams
  • app-dir static/dynamic handling > should handle dynamicParams: true correctly
  • app-dir static/dynamic handling > should ssr dynamically when detected automatically with fetch cache option
  • app-dir static/dynamic handling > should render not found pages correctly and fallback to the default one
  • app-dir static/dynamic handling > should ssr dynamically when forced via config
  • app-dir static/dynamic handling > should keep querystring on static page
  • app-dir static/dynamic handling > should have logs from cache-handler
  • app-dir static/dynamic handling > should build dynamic param with edge runtime correctly
  • app-dir static/dynamic handling > Incremental cache limits > should cache large data when using custom cache handler and force-cache mode
  • app-dir static/dynamic handling > unstable_cache > should retrieve the same value on second request
  • app-dir static/dynamic handling > unstable_cache > should bypass cache in draft mode
  • app-dir static/dynamic handling > unstable_cache > should not cache new result in draft mode
  • app-dir static/dynamic handling > unstable_cache > should not error when retrieving the value undefined
  • app-dir static/dynamic handling > unstable_cache > should not error when calling a fetch no-store
  • app-dir static/dynamic handling > unstable_cache > should not error when calling a fetch no-cache
  • app-dir static/dynamic handling > unstable_noStore > should opt-out of static optimization
  • app-dir static/dynamic handling > unstable_noStore > should not opt-out of static optimization when used in next/cache
  • app-dir static/dynamic handling > usePathname > should have the correct values
  • app-dir static/dynamic handling > usePathname > should have values from canonical url on rewrite
  • app-dir static/dynamic handling > useSearchParams > client > should bailout to client rendering - with suspense boundary
  • app-dir static/dynamic handling > useSearchParams > client > should have values from canonical url on rewrite
  • app-dir static/dynamic handling > useSearchParams > server response > should bailout to client rendering - with suspense boundary
Expand output

● app-dir static/dynamic handling › should use auto no cache when no fetch config

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 static/dynamic handling › should use auto no cache when no fetch config

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should still cache even though the traceparent header was different

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 static/dynamic handling › should still cache even though the traceparent header was different

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should warn for too many cache tags

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 static/dynamic handling › should warn for too many cache tags

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should propagate unstable_cache tags correctly

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 static/dynamic handling › should propagate unstable_cache tags correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should infer a fetchCache of force-no-store when force-dynamic is used

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 static/dynamic handling › should infer a fetchCache of force-no-store when force-dynamic is used

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › force-dynamic should supercede a "default" cache value

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 static/dynamic handling › force-dynamic should supercede a "default" cache value

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › fetchCache config should supercede dynamic config when force-dynamic is used

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 static/dynamic handling › fetchCache config should supercede dynamic config when force-dynamic is used

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › fetch cache should supercede dynamic config when force-dynamic is used

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 static/dynamic handling › fetch cache should supercede dynamic config when force-dynamic is used

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly include headers instance in cache key

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 static/dynamic handling › should correctly include headers instance in cache key

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly de-dupe fetch without next cache /react-fetch-deduping-node

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 static/dynamic handling › should correctly de-dupe fetch without next cache /react-fetch-deduping-node

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly de-dupe fetch without next cache /react-fetch-deduping-edge

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 static/dynamic handling › should correctly de-dupe fetch without next cache /react-fetch-deduping-edge

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable-cache should work in pages/unstable-cache-node

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 static/dynamic handling › unstable-cache should work in pages/unstable-cache-node

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable-cache should work in pages/unstable-cache-edge

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 static/dynamic handling › unstable-cache should work in pages/unstable-cache-edge

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable-cache should work in pages/api/unstable-cache-node

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 static/dynamic handling › unstable-cache should work in pages/api/unstable-cache-node

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable-cache should work in pages/api/unstable-cache-edge

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 static/dynamic handling › unstable-cache should work in pages/api/unstable-cache-edge

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not have cache tags header for non-minimal mode

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 static/dynamic handling › should not have cache tags header for non-minimal mode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly skip caching POST fetch for POST handler

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 static/dynamic handling › should correctly skip caching POST fetch for POST handler

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly handle fetchCache = "force-no-store"

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 static/dynamic handling › should correctly handle fetchCache = "force-no-store"

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not cache non-ok statusCode

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 static/dynamic handling › should not cache non-ok statusCode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should output HTML/RSC files for static 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 static/dynamic handling › should output HTML/RSC files for static paths

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should have correct prerender-manifest entries

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 static/dynamic handling › should have correct prerender-manifest entries

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should output debug info for static bailouts

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 static/dynamic handling › should output debug info for static bailouts

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should log fetch metrics to the diagnostics directory

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 static/dynamic handling › should log fetch metrics to the diagnostics directory

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should stream properly for /stale-cache-serving/app-page

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 static/dynamic handling › should stream properly for /stale-cache-serving/app-page

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should stream properly for /stale-cache-serving/route-handler

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 static/dynamic handling › should stream properly for /stale-cache-serving/route-handler

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should stream properly for /stale-cache-serving-edge/app-page

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 static/dynamic handling › should stream properly for /stale-cache-serving-edge/app-page

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should stream properly for /stale-cache-serving-edge/route-handler

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 static/dynamic handling › should stream properly for /stale-cache-serving-edge/route-handler

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should correctly handle statusCode with notFound + ISR

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 static/dynamic handling › should correctly handle statusCode with notFound + ISR

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly for fetchCache = default-cache

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 static/dynamic handling › should cache correctly for fetchCache = default-cache

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly when accessing search params opts into dynamic rendering

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 static/dynamic handling › should cache correctly when accessing search params opts into dynamic rendering

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly for fetchCache = force-cache

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 static/dynamic handling › should cache correctly for fetchCache = force-cache

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly for cache: no-store

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 static/dynamic handling › should cache correctly for cache: no-store

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not error with dynamic server usage with force-static

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 static/dynamic handling › should not error with dynamic server usage with force-static

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should produce response with url from fetch

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 static/dynamic handling › should produce response with url from fetch

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should properly error when dynamic = "error" page uses dynamic

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 static/dynamic handling › should properly error when dynamic = "error" page uses dynamic

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should skip cache in draft mode

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 static/dynamic handling › should skip cache in draft mode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should handle partial-gen-params with default dynamicParams correctly

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 static/dynamic handling › should handle partial-gen-params with default dynamicParams correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should handle partial-gen-params with layout dynamicParams = false correctly

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 static/dynamic handling › should handle partial-gen-params with layout dynamicParams = false correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should handle partial-gen-params with page dynamicParams = false correctly

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 static/dynamic handling › should handle partial-gen-params with page dynamicParams = false correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should honor fetch cache correctly

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 static/dynamic handling › should honor fetch cache correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should honor fetch cache correctly (edge)

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 static/dynamic handling › should honor fetch cache correctly (edge)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with authorization header and revalidate

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 static/dynamic handling › should cache correctly with authorization header and revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should skip fetch cache when an authorization header is present after dynamic usage

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 static/dynamic handling › should skip fetch cache when an authorization header is present after dynamic usage

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should skip fetch cache when accessing request properties

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 static/dynamic handling › should skip fetch cache when accessing request properties

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not cache correctly with POST method request init

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 static/dynamic handling › should not cache correctly with POST method request init

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with post method and revalidate

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 static/dynamic handling › should cache correctly with post method and revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with post method and revalidate edge

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 static/dynamic handling › should cache correctly with post method and revalidate edge

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with POST method and revalidate

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 static/dynamic handling › should cache correctly with POST method and revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with cookie header and revalidate

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 static/dynamic handling › should cache correctly with cookie header and revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with utf8 encoding

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 static/dynamic handling › should cache correctly with utf8 encoding

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly with utf8 encoding edge

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 static/dynamic handling › should cache correctly with utf8 encoding edge

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should cache correctly handle JSON body

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 static/dynamic handling › should cache correctly handle JSON body

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not throw Dynamic Server Usage error when using generateStaticParams with draftMode

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 static/dynamic handling › should not throw Dynamic Server Usage error when using generateStaticParams with draftMode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should force SSR correctly for headers usage

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 static/dynamic handling › should force SSR correctly for headers usage

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should allow dynamic routes to access cookies

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 static/dynamic handling › should allow dynamic routes to access cookies

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not error with generateStaticParams and dynamic data

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 static/dynamic handling › should not error with generateStaticParams and dynamic data

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not error with force-dynamic and catch-all routes

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 static/dynamic handling › should not error with force-dynamic and catch-all routes

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should not error with generateStaticParams and authed data on revalidate

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 static/dynamic handling › should not error with generateStaticParams and authed data on revalidate

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should work with forced dynamic path

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 static/dynamic handling › should work with forced dynamic path

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should work with dynamic path no generateStaticParams

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 static/dynamic handling › should work with dynamic path no generateStaticParams

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should handle dynamicParams: true correctly

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 static/dynamic handling › should handle dynamicParams: true correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should ssr dynamically when detected automatically with fetch cache option

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 static/dynamic handling › should ssr dynamically when detected automatically with fetch cache option

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should render not found pages correctly and fallback to the default one

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 static/dynamic handling › should render not found pages correctly and fallback to the default one

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should ssr dynamically when detected automatically with fetch revalidate option

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 static/dynamic handling › should ssr dynamically when detected automatically with fetch revalidate option

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should ssr dynamically when forced via config

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 static/dynamic handling › should ssr dynamically when forced via config

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › useSearchParams › client › should bailout to client rendering - with suspense boundary

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 static/dynamic handling › useSearchParams › client › should bailout to client rendering - with suspense boundary

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › useSearchParams › client › should have empty search params on force-static

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 static/dynamic handling › useSearchParams › client › should have empty search params on force-static

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › useSearchParams › client › should have values from canonical url on rewrite

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 static/dynamic handling › useSearchParams › client › should have values from canonical url on rewrite

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › useSearchParams › server response › should bailout to client rendering - with suspense boundary

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 static/dynamic handling › useSearchParams › server response › should bailout to client rendering - with suspense boundary

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › useSearchParams › server response › should have empty search params on force-static

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 static/dynamic handling › useSearchParams › server response › should have empty search params on force-static

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › usePathname › should have the correct values

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 static/dynamic handling › usePathname › should have the correct values

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › usePathname › should have values from canonical url on rewrite

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 static/dynamic handling › usePathname › should have values from canonical url on rewrite

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_noStore › should opt-out of static optimization

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 static/dynamic handling › unstable_noStore › should opt-out of static optimization

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_noStore › should not opt-out of static optimization when used in next/cache

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 static/dynamic handling › unstable_noStore › should not opt-out of static optimization when used in next/cache

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should retrieve the same value on second request

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 static/dynamic handling › unstable_cache › should retrieve the same value on second request

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should bypass cache in draft mode

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 static/dynamic handling › unstable_cache › should bypass cache in draft mode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should not cache new result in draft mode

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 static/dynamic handling › unstable_cache › should not cache new result in draft mode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should not error when retrieving the value undefined

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 static/dynamic handling › unstable_cache › should not error when retrieving the value undefined

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should not error when calling a fetch no-store

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 static/dynamic handling › unstable_cache › should not error when calling a fetch no-store

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › unstable_cache › should not error when calling a fetch no-cache

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 static/dynamic handling › unstable_cache › should not error when calling a fetch no-cache

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should keep querystring on static page

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 static/dynamic handling › should keep querystring on static page

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should have logs from cache-handler

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 static/dynamic handling › should have logs from cache-handler

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › Incremental cache limits › should cache large data when using custom cache handler and force-cache mode

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 static/dynamic handling › Incremental cache limits › should cache large data when using custom cache handler and force-cache mode

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

● app-dir static/dynamic handling › should build dynamic param with edge runtime correctly

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 static/dynamic handling › should build dynamic param with edge runtime correctly

next instance is not initialized yet, make sure you call methods on next instance in test body.

  266 |     get: function (_target, property) {
  267 |       if (!next) {
> 268 |         throw new Error(
      |               ^
  269 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  270 |         )
  271 |       }

  at Object.get (lib/e2e-utils/index.ts:268:15)
  at Object.readFile (e2e/app-dir/app-static/app-static.test.ts:38:20)

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.159 (turbo)

   Checking validity of types ...
   Creating an optimized production build ...
   Building (0/2) ...
 ✓ Building (2/2)
 ✓ Compiled successfully
   Collecting page data ...
 ⚠ You are using an experimental edge runtime, the API might change.
TypeError: Cannot read properties of undefined (reading 'files')

  1131 |         if (pathIsEdgeRuntime) {
  1132 |             const runtime = await (0, _sandbox.getRuntimeContext)({
> 1133 |                 paths: edgeInfo.files.map((file)=>_path.default.join(distDir, file)),
       |                                 ^
  1134 |                 edgeFunctionEntry: {
  1135 |                     ...edgeInfo,
  1136 |                     wasm: (edgeInfo.wasm ?? []).map((binding)=>({

  at ../packages/next/dist/build/utils.js:1133:33
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.isPageStatic (../packages/next/dist/build/utils.js:1119:29)
  at execFunction (../packages/next/dist/compiled/jest-worker/processChild.js:1:2764)
  at execHelper (../packages/next/dist/compiled/jest-worker/processChild.js:1:2422)
  at execMethod (../packages/next/dist/compiled/jest-worker/processChild.js:1:2510)
  at process.messageListener (../packages/next/dist/compiled/jest-worker/processChild.js:1:1228)
  > 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.159 (turbo)

   Checking validity of types ...
   Creating an optimized production build ...
   Building (0/2) ...
 ✓ Building (2/2)
 ✓ Compiled successfully
   Collecting page data ...
 ⚠ You are using an experimental edge runtime, the API might change.
TypeError: Cannot read properties of undefined (reading 'files')

  1131 |         if (pathIsEdgeRuntime) {
  1132 |             const runtime = await (0, _sandbox.getRuntimeContext)({
> 1133 |                 paths: edgeInfo.files.map((file)=>_path.default.join(distDir, file)),
       |                                 ^
  1134 |                 edgeFunctionEntry: {
  1135 |                     ...edgeInfo,
  1136 |                     wasm: (edgeInfo.wasm ?? []).map((binding)=>({

  at ../packages/next/dist/build/utils.js:1133:33
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.isPageStatic (../packages/next/dist/build/utils.js:1119:29)
  at execFunction (../packages/next/dist/compiled/jest-worker/processChild.js:1:2764)
  at execHelper (../packages/next/dist/compiled/jest-worker/processChild.js:1:2422)
  at execMethod (../packages/next/dist/compiled/jest-worker/processChild.js:1:2510)
  at process.messageListener (../packages/next/dist/compiled/jest-worker/processChild.js:1:1228)
  > 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.159 (turbo)

   Checking validity of types ...
   Creating an optimized production build ...
   Building (0/2) ...
 ✓ Building (2/2)
 ✓ Compiled successfully
   Collecting page data ...
 ⚠ You are using an experimental edge runtime, the API might change.
TypeError: Cannot read properties of undefined (reading 'files')

  1131 |         if (pathIsEdgeRuntime) {
  1132 |             const runtime = await (0, _sandbox.getRuntimeContext)({
> 1133 |                 paths: edgeInfo.files.map((file)=>_path.default.join(distDir, file)),
       |                                 ^
  1134 |                 edgeFunctionEntry: {
  1135 |                     ...edgeInfo,
  1136 |                     wasm: (edgeInfo.wasm ?? []).map((binding)=>({

  at ../packages/next/dist/build/utils.js:1133:33
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.isPageStatic (../packages/next/dist/build/utils.js:1119:29)
  at execFunction (../packages/next/dist/compiled/jest-worker/processChild.js:1:2764)
  at execHelper (../packages/next/dist/compiled/jest-worker/processChild.js:1:2422)
  at execMethod (../packages/next/dist/compiled/jest-worker/processChild.js:1:2510)
  at process.messageListener (../packages/next/dist/compiled/jest-worker/processChild.js:1:1228)
  > 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.159 (turbo)

   Checking validity of types ...
   Creating an optimized production build ...
   Building (0/2) ...
 ✓ Building (2/2)
 ✓ Compiled successfully
   Collecting page data ...
 ⚠ You are using an experimental edge runtime, the API might change.
TypeError: Cannot read properties of undefined (reading 'files')

  1131 |         if (pathIsEdgeRuntime) {
  1132 |             const runtime = await (0, _sandbox.getRuntimeContext)({
> 1133 |                 paths: edgeInfo.files.map((file)=>_path.default.join(distDir, file)),
       |                                 ^
  1134 |                 edgeFunctionEntry: {
  1135 |                     ...edgeInfo,
  1136 |                     wasm: (edgeInfo.wasm ?? []).map((binding)=>({

  at ../packages/next/dist/build/utils.js:1133:33
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.isPageStatic (../packages/next/dist/build/utils.js:1119:29)
  at execFunction (../packages/next/dist/compiled/jest-worker/processChild.js:1:2764)
  at execHelper (../packages/next/dist/compiled/jest-worker/processChild.js:1:2422)
  at execMethod (../packages/next/dist/compiled/jest-worker/processChild.js:1:2510)
  at process.messageListener (../packages/next/dist/compiled/jest-worker/processChild.js:1:1228)
  > 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/edge-runtime-configurable-guards/test/index.test.js (turbopack)

  • Edge runtime configurable guards > Edge API using lib with unallowed, used dynamic code > production mode > fails to build because of dynamic code evaluation
Expand output

● Edge runtime configurable guards › Edge API using lib with unallowed, used dynamic code › production mode › fails to build because of dynamic code evaluation

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

Expected substring: "Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime"
Received string:    " ⚠ Linting is disabled.
"

  417 |             env: process.env.TURBOPACK ? {} : { NEXT_TELEMETRY_DEBUG: 1 },
  418 |           })
> 419 |           expect(output.stderr).toContain(
      |                                 ^
  420 |             `Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime`
  421 |           )
  422 |           if (!process.env.TURBOPACK) {

  at Object.toContain (integration/edge-runtime-configurable-guards/test/index.test.js:419:33)

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

TURBOPACK=1 pnpm test-start test/e2e/app-dir/interception-dynamic-segment-middleware/interception-dynamic-segment-middleware.test.ts (turbopack)

  • interception-dynamic-segment-middleware > should work when interception route is paired with a dynamic segment & middleware
Expand output

● interception-dynamic-segment-middleware › should work when interception route is paired with a dynamic segment & middleware

TIMED OUT: /intercepted/



undefined

  718 |
  719 |   if (hardError) {
> 720 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |           ^
  721 |   }
  722 |   return false
  723 | }

  at check (lib/next-test-utils.ts:720:11)
  at Object.<anonymous> (e2e/app-dir/interception-dynamic-segment-middleware/interception-dynamic-segment-middleware.test.ts:13:5)

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

TURBOPACK=1 pnpm test test/integration/react-streaming/test/index.test.js (turbopack)

  • production mode > streaming prod prod > should support streaming for fizz response
  • production mode > streaming prod prod > should not stream to crawlers or google pagerender bot
  • production mode > streaming prod prod > should render fallback if error raised from suspense during streaming
Expand output

● production mode › streaming prod prod › should support streaming for fizz response

FetchError: request to http://localhost:42439/streaming failed, reason: connect ECONNREFUSED 127.0.0.1:42439

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● production mode › streaming prod prod › should not stream to crawlers or google pagerender bot

FetchError: request to http://localhost:42439/streaming failed, reason: connect ECONNREFUSED 127.0.0.1:42439

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● production mode › streaming prod prod › should render fallback if error raised from suspense during streaming

FetchError: request to http://localhost:42439/err/suspense failed, reason: connect ECONNREFUSED 127.0.0.1:42439

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

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

pnpm test-dev test/e2e/app-dir/logging/fetch-logging.test.ts

  • app-dir - logging > with verbose logging for edge runtime > should not log requests for HMR refreshes
Expand output

● app-dir - logging › with verbose logging for edge runtime › should not log requests for HMR refreshes

expect(received).not.toInclude(expected)

Expected string to not include:
  " │ GET "
Received:
  " ✓ Compiled in 185ms (622 modules)
 GET /fetch-no-store 404 in 13ms
 GET /fetch-no-store 200 in 322ms
 │ GET https://next-data-api-endpoint.vercel.app/api/random?request-input 200 in 183ms (cache skip)
 │ │ Cache skipped reason: (cache: no-store)
"

  244 |                 const logs = stripAnsi(next.cliOutput.slice(outputIndex))
  245 |                 expect(logs).toInclude(' GET /fetch-no-store')
> 246 |                 expect(logs).not.toInclude(` │ GET `)
      |                                  ^
  247 |               })
  248 |           )
  249 |         })

  at toInclude (e2e/app-dir/logging/fetch-logging.test.ts:246:34)
  at retry (lib/next-test-utils.ts:806:14)
  at lib/next-modes/next-dev.ts:184:9
  at NextDevInstance.patchFile (lib/next-modes/base.ts:512:9)
  at Object.<anonymous> (e2e/app-dir/logging/fetch-logging.test.ts:237:11)

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

TURBOPACK=1 pnpm test test/integration/telemetry/test/config.test.js (turbopack)

  • config telemetry > production mode > detects rewrites, headers, and redirects for next build
  • config telemetry > production mode > emits telemetry for usage of optimizeCss
  • config telemetry > production mode > emits telemetry for usage of nextScriptWorkers
  • config telemetry > production mode > emits telemetry for usage of middleware
Expand output

● config telemetry › production mode › detects rewrites, headers, and redirects for next build

TypeError: Cannot read properties of null (reading 'pop')

  35 |         try {
  36 |           const event1 = /NEXT_BUILD_OPTIMIZED[\s\S]+?{([\s\S]+?)}/
> 37 |             .exec(stderr)
     |                   ^
  38 |             .pop()
  39 |           expect(event1).toMatch(/"headersCount": 1/)
  40 |           expect(event1).toMatch(/"rewritesCount": 2/)

  at Object.stderr (integration/telemetry/test/config.test.js:37:19)

● config telemetry › production mode › emits telemetry for usage of optimizeCss

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

Expected value: {"featureName": "experimental/optimizeCss", "invocationCount": 1}
Received array: [{"featureName": "build-lint", "invocationCount": 0}]

  385 |           'NEXT_BUILD_FEATURE_USAGE'
  386 |         )
> 387 |         expect(events).toContainEqual({
      |                        ^
  388 |           featureName: 'experimental/optimizeCss',
  389 |           invocationCount: 1,
  390 |         })

  at Object.toContainEqual (integration/telemetry/test/config.test.js:387:24)

● config telemetry › production mode › emits telemetry for usage of nextScriptWorkers

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

Expected value: {"featureName": "experimental/nextScriptWorkers", "invocationCount": 1}
Received array: [{"featureName": "build-lint", "invocationCount": 0}]

  411 |           'NEXT_BUILD_FEATURE_USAGE'
  412 |         )
> 413 |         expect(featureUsageEvents).toContainEqual({
      |                                    ^
  414 |           featureName: 'experimental/nextScriptWorkers',
  415 |           invocationCount: 1,
  416 |         })

  at Object.toContainEqual (integration/telemetry/test/config.test.js:413:36)

● config telemetry › production mode › emits telemetry for usage of middleware

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

Expected value: ObjectContaining {"middlewareCount": 1}
Received array: []

  434 |           'NEXT_BUILD_OPTIMIZED'
  435 |         )
> 436 |         expect(buildOptimizedEvents).toContainEqual(
      |                                      ^
  437 |           expect.objectContaining({
  438 |             middlewareCount: 1,
  439 |           })

  at Object.toContainEqual (integration/telemetry/test/config.test.js:436:38)

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 (Increase detected ⚠️)
General
vercel/next.js canary vercel/next.js kdy1/tree-shaking-wo-special-exports Change
buildDuration 18.2s 15.8s N/A
buildDurationCached 8.8s 7.3s N/A
nodeModulesSize 359 MB 359 MB
nextStartRea..uration (ms) 428ms 433ms N/A
Client Bundles (main, webpack)
vercel/next.js canary vercel/next.js kdy1/tree-shaking-wo-special-exports Change
3050-HASH.js gzip 5.25 kB 5.25 kB N/A
6293.HASH.js gzip 169 B 168 B N/A
7847-HASH.js gzip 42.6 kB 42.6 kB N/A
a12e89fa-HASH.js gzip 52.8 kB 52.8 kB
framework-HASH.js gzip 57.6 kB 57.6 kB N/A
main-app-HASH.js gzip 225 B 225 B
main-HASH.js gzip 32.6 kB 32.6 kB N/A
webpack-HASH.js gzip 1.71 kB 1.71 kB N/A
Overall change 53.1 kB 53.1 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js kdy1/tree-shaking-wo-special-exports 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 kdy1/tree-shaking-wo-special-exports Change
_app-HASH.js gzip 193 B 193 B
_error-HASH.js gzip 192 B 191 B N/A
amp-HASH.js gzip 510 B 512 B N/A
css-HASH.js gzip 342 B 343 B N/A
dynamic-HASH.js gzip 1.84 kB 1.84 kB
edge-ssr-HASH.js gzip 266 B 264 B N/A
head-HASH.js gzip 365 B 365 B
hooks-HASH.js gzip 392 B 391 B N/A
image-HASH.js gzip 4.39 kB 4.4 kB N/A
index-HASH.js gzip 268 B 268 B
link-HASH.js gzip 2.81 kB 2.82 kB N/A
routerDirect..HASH.js gzip 328 B 329 B N/A
script-HASH.js gzip 397 B 397 B
withRouter-HASH.js gzip 324 B 325 B N/A
1afbb74e6ecf..834.css gzip 106 B 106 B
Overall change 3.17 kB 3.17 kB
Client Build Manifests
vercel/next.js canary vercel/next.js kdy1/tree-shaking-wo-special-exports Change
_buildManifest.js gzip 748 B 747 B N/A
Overall change 0 B 0 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js kdy1/tree-shaking-wo-special-exports Change
index.html gzip 524 B 525 B N/A
link.html gzip 537 B 540 B N/A
withRouter.html gzip 520 B 522 B N/A
Overall change 0 B 0 B
Edge SSR bundle Size
vercel/next.js canary vercel/next.js kdy1/tree-shaking-wo-special-exports 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 kdy1/tree-shaking-wo-special-exports Change
middleware-b..fest.js gzip 670 B 668 B N/A
middleware-r..fest.js gzip 155 B 155 B
middleware.js gzip 29.8 kB 29.8 kB N/A
edge-runtime..pack.js gzip 844 B 844 B
Overall change 999 B 999 B
Next Runtimes
vercel/next.js canary vercel/next.js kdy1/tree-shaking-wo-special-exports 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 125 kB 125 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.8 kB 57.8 kB
Overall change 1.45 MB 1.45 MB
build cache Overall increase ⚠️
vercel/next.js canary vercel/next.js kdy1/tree-shaking-wo-special-exports Change
0.pack gzip 1.65 MB 1.66 MB ⚠️ +5.51 kB
index.pack gzip 130 kB 131 kB ⚠️ +745 B
Overall change 1.78 MB 1.79 MB ⚠️ +6.25 kB
Diff details
Diff for page.js
@@ -15,7 +15,7 @@
       /***/
     },
 
-    /***/ 2470: /***/ (
+    /***/ 4196: /***/ (
       __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-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/build/webpack/loaders/next-app-loader.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-statsuRs8AB%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-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/build/webpack/loaders/next-app-loader.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-statsuRs8AB%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, {
@@ -69,35 +69,35 @@
         tree: () => tree,
       });
 
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/server/web/globals.js
-      var globals = __webpack_require__(8876);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
-      var adapter = __webpack_require__(7996);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 85 modules
-      var render = __webpack_require__(1020);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
-      var incremental_cache = __webpack_require__(1202);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/server/app-render/app-render.js + 74 modules
-      var app_render = __webpack_require__(5496);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
-      var module_compiled = __webpack_require__(3348);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/server/route-kind.js
-      var route_kind = __webpack_require__(2269);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/client/components/error-boundary.js
-      var error_boundary = __webpack_require__(319);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/server/app-render/entry-base.js + 9 modules
-      var entry_base = __webpack_require__(7056); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/build/webpack/loaders/next-app-loader.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-statsuRs8AB%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-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/server/web/globals.js
+      var globals = __webpack_require__(939);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
+      var adapter = __webpack_require__(153);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 85 modules
+      var render = __webpack_require__(5768);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
+      var incremental_cache = __webpack_require__(1814);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/server/app-render/app-render.js + 74 modules
+      var app_render = __webpack_require__(711);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
+      var module_compiled = __webpack_require__(6301);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/server/route-kind.js
+      var route_kind = __webpack_require__(4282);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/client/components/error-boundary.js
+      var error_boundary = __webpack_require__(1447);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/server/app-render/entry-base.js + 9 modules
+      var entry_base = __webpack_require__(7110); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/build/webpack/loaders/next-app-loader.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-statsuRs8AB%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 component0 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 8082)
+          __webpack_require__.bind(__webpack_require__, 9558)
         );
       const component1 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 8418)
+          __webpack_require__.bind(__webpack_require__, 2266)
         );
       const page2 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 5907)
+          __webpack_require__.bind(__webpack_require__, 2745)
         );
 
       // We inject the tree and pages here so that we can use them in the route
@@ -163,12 +163,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-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/lib/page-types.js
-      var page_types = __webpack_require__(1316);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/server/app-render/encryption-utils.js
-      var encryption_utils = __webpack_require__(6006);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/dist/esm/server/app-render/action-utils.js
-      var action_utils = __webpack_require__(1082); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/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":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjYWNoZU1heE1lbW9yeVNpemUiOjUyNDI4ODAwLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ3MiOnRydWUsInBhZ2VFeHRlbnNpb25zIjpbInRzeCIsInRzIiwianN4IiwianMiXSwicG93ZXJlZEJ5SGVhZGVyIjp0cnVlLCJjb21wcmVzcyI6dHJ1ZSwiaW1hZ2VzIjp7ImRldmljZVNpemVzIjpbNjQwLDc1MCw4MjgsMTA4MCwxMjAwLDE5MjAsMjA0OCwzODQwXSwiaW1hZ2VTaXplcyI6WzE2LDMyLDQ4LDY0LDk2LDEyOCwyNTYsMzg0XSwicGF0aCI6Ii9fbmV4dC9pbWFnZSIsImxvYWRlciI6ImRlZmF1bHQiLCJsb2FkZXJGaWxlIjoiIiwiZG9tYWlucyI6W10sImRpc2FibGVTdGF0aWNJbWFnZXMiOmZhbHNlLCJtaW5pbXVtQ2FjaGVUVEwiOjYwLCJmb3JtYXRzIjpbImltYWdlL3dlYnAiXSwiZGFuZ2Vyb3VzbHlBbGxvd1NWRyI6ZmFsc2UsImNvbnRlbnRTZWN1cml0eVBvbGljeSI6InNjcmlwdC1zcmMgJ25vbmUnOyBmcmFtZS1zcmMgJ25vbmUnOyBzYW5kYm94OyIsImNvbnRlbnREaXNwb3NpdGlvblR5cGUiOiJhdHRhY2htZW50IiwicmVtb3RlUGF0dGVybnMiOltdLCJ1bm9wdGltaXplZCI6ZmFsc2V9LCJkZXZJbmRpY2F0b3JzIjp7ImFwcElzclN0YXR1cyI6dHJ1ZSwiYnVpbGRBY3Rpdml0eSI6dHJ1ZSwiYnVpbGRBY3Rpdml0eVBvc2l0aW9uIjoiYm90dG9tLXJpZ2h0In0sIm9uRGVtYW5kRW50cmllcyI6eyJtYXhJbmFjdGl2ZUFnZSI6NjAwMDAsInBhZ2VzQnVmZmVyTGVuZ3RoIjo1fSwiYW1wIjp7ImNhbm9uaWNhbEJhc2UiOiIifSwiYmFzZVBhdGgiOiIiLCJzYXNzT3B0aW9ucyI6e30sInRyYWlsaW5nU2xhc2giOmZhbHNlLCJpMThuIjpudWxsLCJwcm9kdWN0aW9uQnJvd3NlclNvdXJjZU1hcHMiOmZhbHNlLCJleGNsdWRlRGVmYXVsdE1vbWVudExvY2FsZXMiOnRydWUsInNlcnZlclJ1bnRpbWVDb25maWciOnt9LCJwdWJsaWNSdW50aW1lQ29uZmlnIjp7fSwicmVhY3RQcm9kdWN0aW9uUHJvZmlsaW5nIjpmYWxzZSwicmVhY3RTdHJpY3RNb2RlIjpudWxsLCJyZWFjdE1heEhlYWRlcnNMZW5ndGgiOjYwMDAsImh0dHBBZ2VudE9wdGlvbnMiOnsia2VlcEFsaXZlIjp0cnVlfSwibG9nZ2luZyI6e30sInN0YXRpY1BhZ2VHZW5lcmF0aW9uVGltZW91dCI6NjAsIm1vZHVsYXJpemVJbXBvcnRzIjp7IkBtdWkvaWNvbnMtbWF0ZXJpYWwiOnsidHJhbnNmb3JtIjoiQG11aS9pY29ucy1tYXRlcmlhbC97e21lbWJlcn19In0sImxvZGFzaCI6eyJ0cmFuc2Zvcm0iOiJsb2Rhc2gve3ttZW1iZXJ9fSJ9fSwib3V0cHV0RmlsZVRyYWNpbmdSb290IjoiL3RtcC9uZXh0LXN0YXRzdVJzOEFCL3N0YXRzLWFwcCIsImV4cGVyaW1lbnRhbCI6eyJtdWx0aVpvbmVEcmFmdE1vZGUiOmZhbHNlLCJhcHBOYXZGYWlsSGFuZGxpbmciOmZhbHNlLCJwcmVyZW5kZXJFYXJseUV4aXQiOnRydWUsInNlcnZlck1pbmlmaWNhdGlvbiI6dHJ1ZSwic2VydmVyU291cmNlTWFwcyI6ZmFsc2UsImxpbmtOb1RvdWNoU3RhcnQiOmZhbHNlLCJjYXNlU2Vuc2l0aXZlUm91dGVzIjpmYWxzZSwicHJlbG9hZEVudHJpZXNPblN0YXJ0Ijp0cnVlLCJjbGllbnRSb3V0ZXJGaWx0ZXIiOnRydWUsImNsaWVudFJvdXRlckZpbHRlclJlZGlyZWN0cyI6ZmFsc2UsImZldGNoQ2FjaGVLZXlQcmVmaXgiOiIiLCJtaWRkbGV3YXJlUHJlZmV0Y2giOiJmbGV4aWJsZSIsIm9wdGltaXN0aWNDbGllbnRDYWNoZSI6dHJ1ZSwibWFudWFsQ2xpZW50QmFzZVBhdGgiOmZhbHNlLCJjcHVzIjoxOSwibWVtb3J5QmFzZWRXb3JrZXJzQ291bnQiOmZhbHNlLCJpc3JGbHVzaFRvRGlzayI6dHJ1ZSwid29ya2VyVGhyZWFkcyI6ZmFsc2UsIm9wdGltaXplQ3NzIjpmYWxzZSwibmV4dFNjcmlwdFdvcmtlcnMiOmZhbHNlLCJzY3JvbGxSZXN0b3JhdGlvbiI6ZmFsc2UsImV4dGVybmFsRGlyIjpmYWxzZSwiZGlzYWJsZU9wdGltaXplZExvYWRpbmciOmZhbHNlLCJnemlwU2l6ZSI6dHJ1ZSwiY3JhQ29tcGF0IjpmYWxzZSwiZXNtRXh0ZXJuYWxzIjp0cnVlLCJmdWxseVNwZWNpZmllZCI6ZmFsc2UsInN3Y1RyYWNlUHJvZmlsaW5nIjpmYWxzZSwiZm9yY2VTd2NUcmFuc2Zvcm1zIjpmYWxzZSwibGFyZ2VQYWdlRGF0YUJ5dGVzIjoxMjgwMDAsInR1cmJvIjp7InJvb3QiOiIvdG1wL25leHQtc3RhdHN1UnM4QUIvc3RhdHMtYXBwIn0sInR5cGVkUm91dGVzIjpmYWxzZSwidHlwZWRFbnYiOmZhbHNlLCJwYXJhbGxlbFNlcnZlckNvbXBpbGVzIjpmYWxzZSwicGFyYWxsZWxTZXJ2ZXJCdWlsZFRyYWNlcyI6ZmFsc2UsInBwciI6ZmFsc2UsInBwckZhbGxiYWNrcyI6ZmFsc2UsIndlYnBhY2tNZW1vcnlPcHRpbWl6YXRpb25zIjpmYWxzZSwib3B0aW1pemVTZXJ2ZXJSZWFjdCI6dHJ1ZSwidXNlRWFybHlJbXBvcnQiOmZhbHNlLCJzdGFsZVRpbWVzIjp7ImR5bmFtaWMiOjAsInN0YXRpYyI6MzAwfSwiYWZ0ZXIiOmZhbHNlLCJzZXJ2ZXJDb21wb25lbnRzSG1yQ2FjaGUiOnRydWUsInN0YXRpY0dlbmVyYXRpb25NYXhDb25jdXJyZW5jeSI6OCwic3RhdGljR2VuZXJhdGlvbk1pblBhZ2VzUGVyV29ya2VyIjoyNSwiZHluYW1pY0lPIjpmYWxzZSwib3B0aW1pemVQYWNrYWdlSW1wb3J0cyI6WyJsdWNpZGUtcmVhY3QiLCJkYXRlLWZucyIsImxvZGFzaC1lcyIsInJhbWRhIiwiYW50ZCIsInJlYWN0LWJvb3RzdHJhcCIsImFob29rcyIsIkBhbnQtZGVzaWduL2ljb25zIiwiQGhlYWRsZXNzdWkvcmVhY3QiLCJAaGVhZGxlc3N1aS1mbG9hdC9yZWFjdCIsIkBoZXJvaWNvbnMvcmVhY3QvMjAvc29saWQiLCJAaGVyb2ljb25zL3JlYWN0LzI0L3NvbGlkIiwiQGhlcm9pY29ucy9yZWFjdC8yNC9vdXRsaW5lIiwiQHZpc3gvdmlzeCIsIkB0cmVtb3IvcmVhY3QiLCJyeGpzIiwiQG11aS9tYXRlcmlhbCIsIkBtdWkvaWNvbnMtbWF0ZXJpYWwiLCJyZWNoYXJ0cyIsInJlYWN0LXVzZSIsImVmZmVjdCIsIkBlZmZlY3Qvc2NoZW1hIiwiQGVmZmVjdC9wbGF0Zm9ybSIsIkBlZmZlY3QvcGxhdGZvcm0tbm9kZSIsIkBlZmZlY3QvcGxhdGZvcm0tYnJvd3NlciIsIkBlZmZlY3QvcGxhdGZvcm0tYnVuIiwiQGVmZmVjdC9zcWwiLCJAZWZmZWN0L3NxbC1tc3NxbCIsIkBlZmZlY3Qvc3FsLW15c3FsMiIsIkBlZmZlY3Qvc3FsLXBnIiwiQGVmZmVjdC9zcWwtc3F1bGl0ZS1ub2RlIiwiQGVmZmVjdC9zcWwtc3F1bGl0ZS1idW4iLCJAZWZmZWN0L3NxbC1zcXVsaXRlLXdhc20iLCJAZWZmZWN0L3NxbC1zcXVsaXRlLXJlYWN0LW5hdGl2ZSIsIkBlZmZlY3QvcnBjIiwiQGVmZmVjdC9ycGMtaHR0cCIsIkBlZmZlY3QvdHlwZWNsYXNzIiwiQGVmZmVjdC9leHBlcmltZW50YWwiLCJAZWZmZWN0L29wZW50ZWxlbWV0cnkiLCJAbWF0ZXJpYWwtdWkvY29yZSIsIkBtYXRlcmlhbC11aS9pY29ucyIsIkB0YWJsZXIvaWNvbnMtcmVhY3QiLCJtdWktY29yZSIsInJlYWN0LWljb25zL2FpIiwicmVhY3QtaWNvbnMvYmkiLCJyZWFjdC1pY29ucy9icyIsInJlYWN0LWljb25zL2NnIiwicmVhY3QtaWNvbnMvY2kiLCJyZWFjdC1pY29ucy9kaSIsInJlYWN0LWljb25zL2ZhIiwicmVhY3QtaWNvbnMvZmE2IiwicmVhY3QtaWNvbnMvZmMiLCJyZWFjdC1pY29ucy9maSIsInJlYWN0LWljb25zL2dpIiwicmVhY3QtaWNvbnMvZ28iLCJyZWFjdC1pY29ucy9nciIsInJlYWN0LWljb25zL2hpIiwicmVhY3QtaWNvbnMvaGkyIiwicmVhY3QtaWNvbnMvaW0iLCJyZWFjdC1pY29ucy9pbyIsInJlYWN0LWljb25zL2lvNSIsInJlYWN0LWljb25zL2xpYSIsInJlYWN0LWljb25zL2xpYiIsInJlYWN0LWljb25zL2x1IiwicmVhY3QtaWNvbnMvbWQiLCJyZWFjdC1pY29ucy9waSIsInJlYWN0LWljb25zL3JpIiwicmVhY3QtaWNvbnMvcngiLCJyZWFjdC1pY29ucy9zaSIsInJlYWN0LWljb25zL3NsIiwicmVhY3QtaWNvbnMvdGIiLCJyZWFjdC1pY29ucy90ZmkiLCJyZWFjdC1pY29ucy90aSIsInJlYWN0LWljb25zL3ZzYyIsInJlYWN0LWljb25zL3dpIl19LCJidW5kbGVQYWdlc1JvdXRlckRlcGVuZGVuY2llcyI6ZmFsc2UsImNvbmZpZ0ZpbGUiOiIvdG1wL25leHQtc3RhdHN1UnM4QUIvc3RhdHMtYXBwL25leHQuY29uZmlnLmpzIiwiY29uZmlnRmlsZU5hbWUiOiJuZXh0LmNvbmZpZy5qcyJ9","pagesType":"app","appDirLoader":"bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBwLWVkZ2Utc3NyJTJGcGFnZSZwYWdlPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZVBhdGg9cHJpdmF0ZS1uZXh0LWFwcC1kaXIlMkZhcHAtZWRnZS1zc3IlMkZwYWdlLmpzJmFwcERpcj0lMkZ0bXAlMkZuZXh0LXN0YXRzdVJzOEFCJTJGc3RhdHMtYXBwJTJGYXBwJmFwcFBhdGhzPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZUV4dGVuc2lvbnM9dHN4JnBhZ2VFeHRlbnNpb25zPXRzJnBhZ2VFeHRlbnNpb25zPWpzeCZwYWdlRXh0ZW5zaW9ucz1qcyZiYXNlUGF0aD0mYXNzZXRQcmVmaXg9Jm5leHRDb25maWdPdXRwdXQ9JmZseWluZ1NodXR0bGU9ZmFsc2UmcHJlZmVycmVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE=","sriEnabled":false,"middlewareConfig":"e30="}!
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/lib/page-types.js
+      var page_types = __webpack_require__(382);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/server/app-render/encryption-utils.js
+      var encryption_utils = __webpack_require__(6512);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/dist/esm/server/app-render/action-utils.js
+      var action_utils = __webpack_require__(9753); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/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":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjYWNoZU1heE1lbW9yeVNpemUiOjUyNDI4ODAwLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ3MiOnRydWUsInBhZ2VFeHRlbnNpb25zIjpbInRzeCIsInRzIiwianN4IiwianMiXSwicG93ZXJlZEJ5SGVhZGVyIjp0cnVlLCJjb21wcmVzcyI6dHJ1ZSwiaW1hZ2VzIjp7ImRldmljZVNpemVzIjpbNjQwLDc1MCw4MjgsMTA4MCwxMjAwLDE5MjAsMjA0OCwzODQwXSwiaW1hZ2VTaXplcyI6WzE2LDMyLDQ4LDY0LDk2LDEyOCwyNTYsMzg0XSwicGF0aCI6Ii9fbmV4dC9pbWFnZSIsImxvYWRlciI6ImRlZmF1bHQiLCJsb2FkZXJGaWxlIjoiIiwiZG9tYWlucyI6W10sImRpc2FibGVTdGF0aWNJbWFnZXMiOmZhbHNlLCJtaW5pbXVtQ2FjaGVUVEwiOjYwLCJmb3JtYXRzIjpbImltYWdlL3dlYnAiXSwiZGFuZ2Vyb3VzbHlBbGxvd1NWRyI6ZmFsc2UsImNvbnRlbnRTZWN1cml0eVBvbGljeSI6InNjcmlwdC1zcmMgJ25vbmUnOyBmcmFtZS1zcmMgJ25vbmUnOyBzYW5kYm94OyIsImNvbnRlbnREaXNwb3NpdGlvblR5cGUiOiJhdHRhY2htZW50IiwicmVtb3RlUGF0dGVybnMiOltdLCJ1bm9wdGltaXplZCI6ZmFsc2V9LCJkZXZJbmRpY2F0b3JzIjp7ImFwcElzclN0YXR1cyI6dHJ1ZSwiYnVpbGRBY3Rpdml0eSI6dHJ1ZSwiYnVpbGRBY3Rpdml0eVBvc2l0aW9uIjoiYm90dG9tLXJpZ2h0In0sIm9uRGVtYW5kRW50cmllcyI6eyJtYXhJbmFjdGl2ZUFnZSI6NjAwMDAsInBhZ2VzQnVmZmVyTGVuZ3RoIjo1fSwiYW1wIjp7ImNhbm9uaWNhbEJhc2UiOiIifSwiYmFzZVBhdGgiOiIiLCJzYXNzT3B0aW9ucyI6e30sInRyYWlsaW5nU2xhc2giOmZhbHNlLCJpMThuIjpudWxsLCJwcm9kdWN0aW9uQnJvd3NlclNvdXJjZU1hcHMiOmZhbHNlLCJleGNsdWRlRGVmYXVsdE1vbWVudExvY2FsZXMiOnRydWUsInNlcnZlclJ1bnRpbWVDb25maWciOnt9LCJwdWJsaWNSdW50aW1lQ29uZmlnIjp7fSwicmVhY3RQcm9kdWN0aW9uUHJvZmlsaW5nIjpmYWxzZSwicmVhY3RTdHJpY3RNb2RlIjpudWxsLCJyZWFjdE1heEhlYWRlcnNMZW5ndGgiOjYwMDAsImh0dHBBZ2VudE9wdGlvbnMiOnsia2VlcEFsaXZlIjp0cnVlfSwibG9nZ2luZyI6e30sInN0YXRpY1BhZ2VHZW5lcmF0aW9uVGltZW91dCI6NjAsIm1vZHVsYXJpemVJbXBvcnRzIjp7IkBtdWkvaWNvbnMtbWF0ZXJpYWwiOnsidHJhbnNmb3JtIjoiQG11aS9pY29ucy1tYXRlcmlhbC97e21lbWJlcn19In0sImxvZGFzaCI6eyJ0cmFuc2Zvcm0iOiJsb2Rhc2gve3ttZW1iZXJ9fSJ9fSwib3V0cHV0RmlsZVRyYWNpbmdSb290IjoiL3RtcC9uZXh0LXN0YXRzdVJzOEFCL3N0YXRzLWFwcCIsImV4cGVyaW1lbnRhbCI6eyJtdWx0aVpvbmVEcmFmdE1vZGUiOmZhbHNlLCJhcHBOYXZGYWlsSGFuZGxpbmciOmZhbHNlLCJwcmVyZW5kZXJFYXJseUV4aXQiOnRydWUsInNlcnZlck1pbmlmaWNhdGlvbiI6dHJ1ZSwic2VydmVyU291cmNlTWFwcyI6ZmFsc2UsImxpbmtOb1RvdWNoU3RhcnQiOmZhbHNlLCJjYXNlU2Vuc2l0aXZlUm91dGVzIjpmYWxzZSwicHJlbG9hZEVudHJpZXNPblN0YXJ0Ijp0cnVlLCJjbGllbnRSb3V0ZXJGaWx0ZXIiOnRydWUsImNsaWVudFJvdXRlckZpbHRlclJlZGlyZWN0cyI6ZmFsc2UsImZldGNoQ2FjaGVLZXlQcmVmaXgiOiIiLCJtaWRkbGV3YXJlUHJlZmV0Y2giOiJmbGV4aWJsZSIsIm9wdGltaXN0aWNDbGllbnRDYWNoZSI6dHJ1ZSwibWFudWFsQ2xpZW50QmFzZVBhdGgiOmZhbHNlLCJjcHVzIjoxOSwibWVtb3J5QmFzZWRXb3JrZXJzQ291bnQiOmZhbHNlLCJpc3JGbHVzaFRvRGlzayI6dHJ1ZSwid29ya2VyVGhyZWFkcyI6ZmFsc2UsIm9wdGltaXplQ3NzIjpmYWxzZSwibmV4dFNjcmlwdFdvcmtlcnMiOmZhbHNlLCJzY3JvbGxSZXN0b3JhdGlvbiI6ZmFsc2UsImV4dGVybmFsRGlyIjpmYWxzZSwiZGlzYWJsZU9wdGltaXplZExvYWRpbmciOmZhbHNlLCJnemlwU2l6ZSI6dHJ1ZSwiY3JhQ29tcGF0IjpmYWxzZSwiZXNtRXh0ZXJuYWxzIjp0cnVlLCJmdWxseVNwZWNpZmllZCI6ZmFsc2UsInN3Y1RyYWNlUHJvZmlsaW5nIjpmYWxzZSwiZm9yY2VTd2NUcmFuc2Zvcm1zIjpmYWxzZSwibGFyZ2VQYWdlRGF0YUJ5dGVzIjoxMjgwMDAsInR1cmJvIjp7InJvb3QiOiIvdG1wL25leHQtc3RhdHN1UnM4QUIvc3RhdHMtYXBwIn0sInR5cGVkUm91dGVzIjpmYWxzZSwidHlwZWRFbnYiOmZhbHNlLCJwYXJhbGxlbFNlcnZlckNvbXBpbGVzIjpmYWxzZSwicGFyYWxsZWxTZXJ2ZXJCdWlsZFRyYWNlcyI6ZmFsc2UsInBwciI6ZmFsc2UsInBwckZhbGxiYWNrcyI6ZmFsc2UsIndlYnBhY2tNZW1vcnlPcHRpbWl6YXRpb25zIjpmYWxzZSwib3B0aW1pemVTZXJ2ZXJSZWFjdCI6dHJ1ZSwidXNlRWFybHlJbXBvcnQiOmZhbHNlLCJzdGFsZVRpbWVzIjp7ImR5bmFtaWMiOjAsInN0YXRpYyI6MzAwfSwiYWZ0ZXIiOmZhbHNlLCJzZXJ2ZXJDb21wb25lbnRzSG1yQ2FjaGUiOnRydWUsInN0YXRpY0dlbmVyYXRpb25NYXhDb25jdXJyZW5jeSI6OCwic3RhdGljR2VuZXJhdGlvbk1pblBhZ2VzUGVyV29ya2VyIjoyNSwiZHluYW1pY0lPIjpmYWxzZSwib3B0aW1pemVQYWNrYWdlSW1wb3J0cyI6WyJsdWNpZGUtcmVhY3QiLCJkYXRlLWZucyIsImxvZGFzaC1lcyIsInJhbWRhIiwiYW50ZCIsInJlYWN0LWJvb3RzdHJhcCIsImFob29rcyIsIkBhbnQtZGVzaWduL2ljb25zIiwiQGhlYWRsZXNzdWkvcmVhY3QiLCJAaGVhZGxlc3N1aS1mbG9hdC9yZWFjdCIsIkBoZXJvaWNvbnMvcmVhY3QvMjAvc29saWQiLCJAaGVyb2ljb25zL3JlYWN0LzI0L3NvbGlkIiwiQGhlcm9pY29ucy9yZWFjdC8yNC9vdXRsaW5lIiwiQHZpc3gvdmlzeCIsIkB0cmVtb3IvcmVhY3QiLCJyeGpzIiwiQG11aS9tYXRlcmlhbCIsIkBtdWkvaWNvbnMtbWF0ZXJpYWwiLCJyZWNoYXJ0cyIsInJlYWN0LXVzZSIsImVmZmVjdCIsIkBlZmZlY3Qvc2NoZW1hIiwiQGVmZmVjdC9wbGF0Zm9ybSIsIkBlZmZlY3QvcGxhdGZvcm0tbm9kZSIsIkBlZmZlY3QvcGxhdGZvcm0tYnJvd3NlciIsIkBlZmZlY3QvcGxhdGZvcm0tYnVuIiwiQGVmZmVjdC9zcWwiLCJAZWZmZWN0L3NxbC1tc3NxbCIsIkBlZmZlY3Qvc3FsLW15c3FsMiIsIkBlZmZlY3Qvc3FsLXBnIiwiQGVmZmVjdC9zcWwtc3F1bGl0ZS1ub2RlIiwiQGVmZmVjdC9zcWwtc3F1bGl0ZS1idW4iLCJAZWZmZWN0L3NxbC1zcXVsaXRlLXdhc20iLCJAZWZmZWN0L3NxbC1zcXVsaXRlLXJlYWN0LW5hdGl2ZSIsIkBlZmZlY3QvcnBjIiwiQGVmZmVjdC9ycGMtaHR0cCIsIkBlZmZlY3QvdHlwZWNsYXNzIiwiQGVmZmVjdC9leHBlcmltZW50YWwiLCJAZWZmZWN0L29wZW50ZWxlbWV0cnkiLCJAbWF0ZXJpYWwtdWkvY29yZSIsIkBtYXRlcmlhbC11aS9pY29ucyIsIkB0YWJsZXIvaWNvbnMtcmVhY3QiLCJtdWktY29yZSIsInJlYWN0LWljb25zL2FpIiwicmVhY3QtaWNvbnMvYmkiLCJyZWFjdC1pY29ucy9icyIsInJlYWN0LWljb25zL2NnIiwicmVhY3QtaWNvbnMvY2kiLCJyZWFjdC1pY29ucy9kaSIsInJlYWN0LWljb25zL2ZhIiwicmVhY3QtaWNvbnMvZmE2IiwicmVhY3QtaWNvbnMvZmMiLCJyZWFjdC1pY29ucy9maSIsInJlYWN0LWljb25zL2dpIiwicmVhY3QtaWNvbnMvZ28iLCJyZWFjdC1pY29ucy9nciIsInJlYWN0LWljb25zL2hpIiwicmVhY3QtaWNvbnMvaGkyIiwicmVhY3QtaWNvbnMvaW0iLCJyZWFjdC1pY29ucy9pbyIsInJlYWN0LWljb25zL2lvNSIsInJlYWN0LWljb25zL2xpYSIsInJlYWN0LWljb25zL2xpYiIsInJlYWN0LWljb25zL2x1IiwicmVhY3QtaWNvbnMvbWQiLCJyZWFjdC1pY29ucy9waSIsInJlYWN0LWljb25zL3JpIiwicmVhY3QtaWNvbnMvcngiLCJyZWFjdC1pY29ucy9zaSIsInJlYWN0LWljb25zL3NsIiwicmVhY3QtaWNvbnMvdGIiLCJyZWFjdC1pY29ucy90ZmkiLCJyZWFjdC1pY29ucy90aSIsInJlYWN0LWljb25zL3ZzYyIsInJlYWN0LWljb25zL3dpIl19LCJidW5kbGVQYWdlc1JvdXRlckRlcGVuZGVuY2llcyI6ZmFsc2UsImNvbmZpZ0ZpbGUiOiIvdG1wL25leHQtc3RhdHN1UnM4QUIvc3RhdHMtYXBwL25leHQuY29uZmlnLmpzIiwiY29uZmlnRmlsZU5hbWUiOiJuZXh0LmNvbmZpZy5qcyJ9","pagesType":"app","appDirLoader":"bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBwLWVkZ2Utc3NyJTJGcGFnZSZwYWdlPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZVBhdGg9cHJpdmF0ZS1uZXh0LWFwcC1kaXIlMkZhcHAtZWRnZS1zc3IlMkZwYWdlLmpzJmFwcERpcj0lMkZ0bXAlMkZuZXh0LXN0YXRzdVJzOEFCJTJGc3RhdHMtYXBwJTJGYXBwJmFwcFBhdGhzPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZUV4dGVuc2lvbnM9dHN4JnBhZ2VFeHRlbnNpb25zPXRzJnBhZ2VFeHRlbnNpb25zPWpzeCZwYWdlRXh0ZW5zaW9ucz1qcyZiYXNlUGF0aD0mYXNzZXRQcmVmaXg9Jm5leHRDb25maWdPdXRwdXQ9JmZseWluZ1NodXR0bGU9ZmFsc2UmcHJlZmVycmVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE=","sriEnabled":false,"middlewareConfig":"e30="}!
       var _self___RSC_MANIFEST;
 
       const incrementalCacheHandler = null;
@@ -432,50 +432,50 @@
       /***/
     },
 
-    /***/ 9783: /***/ (
+    /***/ 7224: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 6995)
+        __webpack_require__.bind(__webpack_require__, 6899)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 8035)
+        __webpack_require__.bind(__webpack_require__, 1590)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 824)
+        __webpack_require__.bind(__webpack_require__, 2247)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 5797)
+        __webpack_require__.bind(__webpack_require__, 7629)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 7468)
+        __webpack_require__.bind(__webpack_require__, 6794)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 8750)
+        __webpack_require__.bind(__webpack_require__, 920)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 7312)
+        __webpack_require__.bind(__webpack_require__, 702)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 7045)
+        __webpack_require__.bind(__webpack_require__, 4930)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 6185)
+        __webpack_require__.bind(__webpack_require__, 3558)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 5346)
+        __webpack_require__.bind(__webpack_require__, 2795)
       );
 
       /***/
     },
 
-    /***/ 2187: /***/ () => {
+    /***/ 6224: /***/ () => {
       /***/
     },
 
-    /***/ 5907: /***/ (
+    /***/ 2745: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -495,7 +495,7 @@
       /***/
     },
 
-    /***/ 8082: /***/ (
+    /***/ 9558: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -507,7 +507,7 @@
         /* harmony export */
       });
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(1579);
+        __webpack_require__(657);
 
       function RootLayout({ children }) {
         return /*#__PURE__*/ (0,
@@ -526,7 +526,7 @@
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
-    /******/ __webpack_require__.O(0, [919, 388], () => __webpack_exec__(2470));
+    /******/ __webpack_require__.O(0, [958, 25], () => __webpack_exec__(4196));
     /******/ 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],
   {
-    /***/ 7647: /***/ (
+    /***/ 8337: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/image",
         function () {
-          return __webpack_require__(2621);
+          return __webpack_require__(4005);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 1370: /***/ (module, exports, __webpack_require__) => {
+    /***/ 222: /***/ (module, exports, __webpack_require__) => {
       "use strict";
       /* __next_internal_client_entry_do_not_use__  cjs */
       Object.defineProperty(exports, "__esModule", {
@@ -40,17 +40,17 @@
         __webpack_require__(3834)
       );
       const _head = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(3040)
+        __webpack_require__(6820)
       );
-      const _getimgprops = __webpack_require__(5888);
-      const _imageconfig = __webpack_require__(1726);
-      const _imageconfigcontextsharedruntime = __webpack_require__(1903);
-      const _warnonce = __webpack_require__(2611);
-      const _routercontextsharedruntime = __webpack_require__(1862);
+      const _getimgprops = __webpack_require__(3836);
+      const _imageconfig = __webpack_require__(353);
+      const _imageconfigcontextsharedruntime = __webpack_require__(4473);
+      const _warnonce = __webpack_require__(5437);
+      const _routercontextsharedruntime = __webpack_require__(1429);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(699)
+        __webpack_require__(242)
       );
-      const _usemergedref = __webpack_require__(517);
+      const _usemergedref = __webpack_require__(4210);
       // This is replaced by webpack define plugin
       const configEnv = {
         deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
@@ -371,7 +371,7 @@
       /***/
     },
 
-    /***/ 517: /***/ (module, exports, __webpack_require__) => {
+    /***/ 4210: /***/ (module, exports, __webpack_require__) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -440,7 +440,7 @@
       /***/
     },
 
-    /***/ 5888: /***/ (
+    /***/ 3836: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -456,9 +456,9 @@
           return getImgProps;
         },
       });
-      const _warnonce = __webpack_require__(2611);
-      const _imageblursvg = __webpack_require__(2644);
-      const _imageconfig = __webpack_require__(1726);
+      const _warnonce = __webpack_require__(5437);
+      const _imageblursvg = __webpack_require__(4039);
+      const _imageconfig = __webpack_require__(353);
       const VALID_LOADING_VALUES =
         /* unused pure expression or super */ null && [
           "lazy",
@@ -830,7 +830,7 @@
       /***/
     },
 
-    /***/ 2644: /***/ (__unused_webpack_module, exports) => {
+    /***/ 4039: /***/ (__unused_webpack_module, exports) => {
       "use strict";
       /**
        * A shared function, used on both client and server, to generate a SVG blur placeholder.
@@ -885,7 +885,7 @@
       /***/
     },
 
-    /***/ 8361: /***/ (
+    /***/ 5757: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -912,10 +912,10 @@
         },
       });
       const _interop_require_default = __webpack_require__(9608);
-      const _getimgprops = __webpack_require__(5888);
-      const _imagecomponent = __webpack_require__(1370);
+      const _getimgprops = __webpack_require__(3836);
+      const _imagecomponent = __webpack_require__(222);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(699)
+        __webpack_require__(242)
       );
       function getImageProps(imgProps) {
         const { props } = (0, _getimgprops.getImgProps)(imgProps, {
@@ -947,7 +947,7 @@
       /***/
     },
 
-    /***/ 699: /***/ (__unused_webpack_module, exports) => {
+    /***/ 242: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -982,7 +982,7 @@
       /***/
     },
 
-    /***/ 2621: /***/ (
+    /***/ 4005: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -999,8 +999,8 @@
 
       // EXTERNAL MODULE: ./node_modules/.pnpm/react@19.0.0-rc-a99d8e8d-20240916/node_modules/react/jsx-runtime.js
       var jsx_runtime = __webpack_require__(2670);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_mleg2z2sokawgrwklglyr4saiq/node_modules/next/image.js
-      var next_image = __webpack_require__(8199);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-a99d8e8d-20240916_re_juiwiwi6x6et33vhzrm5nbh6za/node_modules/next/image.js
+      var next_image = __webpack_require__(7168);
       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",
@@ -1030,12 +1030,12 @@
       /***/
     },
 
-    /***/ 8199: /***/ (
+    /***/ 7168: /***/ (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
-      module.exports = __webpack_require__(8361);
+      module.exports = __webpack_require__(5757);
 
       /***/
     },
@@ -1045,7 +1045,7 @@
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [2888, 9774, 179], () =>
-      __webpack_exec__(7647)
+      __webpack_exec__(8337)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for main-HASH.js

Diff too large to display

Commit: 6d11761

@kdy1
Copy link
Member Author

kdy1 commented Sep 19, 2024

Closing as #70114 is merged

@kdy1 kdy1 closed this Sep 19, 2024
@kdy1 kdy1 deleted the kdy1/tree-shaking-wo-special-exports branch September 19, 2024 08:01
@github-actions github-actions bot added the locked label Oct 3, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Turbopack team PRs by the Turbopack team. Font (next/font) Related to Next.js Font Optimization. locked tests Turbopack Related to Turbopack with Next.js.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants