Skip to content

Conversation

@mischnic
Copy link
Contributor

@mischnic mischnic commented Nov 18, 2025

So that we can then use comments to track a reason why we have added packages to this list.

@ijjk ijjk added created-by: Turbopack team PRs by the Turbopack team. Documentation Related to Next.js' official documentation. Font (next/font) Related to Next.js Font Optimization. Turbopack Related to Turbopack with Next.js. type: next labels Nov 18, 2025
Copy link
Contributor Author

mischnic commented Nov 18, 2025

@mischnic mischnic marked this pull request as ready for review November 18, 2025 15:02
@mischnic mischnic requested a review from a team November 18, 2025 15:04
@ijjk
Copy link
Member

ijjk commented Nov 18, 2025

Failing test suites

Commit: 355d7da | About building and testing Next.js

pnpm test-start test/production/pages-dir/production/test/index.test.ts (job)

  • Production Usage > should navigate through history after query update (DD)
  • Production Usage > should handle query/hash correctly during query updating #hello? $search (DD)
  • Production Usage > should handle query/hash correctly during query updating #? $search (DD)
  • Production Usage > should handle query/hash correctly during query updating ## $search (DD)
  • Production Usage > should handle query/hash correctly during query updating ##? $search (DD)
  • Production Usage > should handle query/hash correctly during query updating ##hello? $search (DD)
  • Production Usage > should handle query/hash correctly during query updating ##hello $search (DD)
  • Production Usage > should handle query/hash correctly during query updating #hello?world $search (DD)
  • Production Usage > should handle query/hash correctly during query updating #a ?hello=world (DD)
  • Production Usage > should handle query/hash correctly during query updating #a ?hello (DD)
  • Production Usage > should handle query/hash correctly during query updating #a ?hello= (DD)
  • Production Usage > should not show target deprecation warning (DD)
  • Production Usage > should respond with 405 for POST to static page (DD)
  • Production Usage > should contain generated page count in output (DD)
  • Production Usage > should output traces (DD)
  • Production Usage > should not contain currentScript usage for publicPath (DD)
  • Production Usage > should not contain rsc APIs in main chunk (DD)
  • Production Usage > should navigate to external site and back (DD)
  • Production Usage > should navigate to page with CSS and back (DD)
  • Production Usage > should navigate to external site and back (with query) (DD)
  • Production Usage > should change query correctly (DD)
  • Production Usage > should not expose the compiled page file in development (DD)
  • Production Usage > should not put backslashes in pages-manifest.json (DD)
  • Production Usage > should handle failed param decoding (DD)
  • Production Usage > should replace static pages with HTML files (DD)
  • Production Usage > should not replace non-static pages with HTML files (DD)
  • Production Usage > should warn when prefetch is true (DD)
  • Production Usage > should not emit stats (DD)
  • Production Usage > should contain the Next.js version in window export (DD)
  • Production Usage > should clear all core performance marks (DD)
  • Production Usage > should not clear custom performance marks (DD)
  • Production Usage > should have defer on all script tags (DD)
  • Production Usage > should only have one DOCTYPE (DD)
  • Production Usage > should preserve query when hard navigating from page 404 (DD)
  • Production Usage > should remove placeholder for next/image correctly (DD)
  • Production Usage > API routes > should work with pages/api/index.js (DD)
  • Production Usage > API routes > should work with pages/api/hello.js (DD)
  • Production Usage > API routes > does not work with pages/api/readfile-dirname.js (DD)
  • Production Usage > API routes > should work with pages/api/readfile-processcwd.js (DD)
  • Production Usage > API routes > should work with dynamic params and search string (DD)
  • Production Usage > Dynamic import > custom loading > should render custom loading on the server side when ssr:false and loading is provided (DD)
  • Production Usage > Dynamic import > custom loading > should render the component on client side (DD)
  • Production Usage > Dynamic import > default behavior > should render dynamic import components (DD)
  • Production Usage > Dynamic import > default behavior > should render one dynamically imported component and load its css files (DD)
  • Production Usage > Dynamic import > default behavior > should render three dynamically imported components and load their css files (DD)
  • Production Usage > Dynamic import > default behavior > should bundle two css modules for one dynamically imported component into one css file (DD)
  • Production Usage > Dynamic import > default behavior > should bundle two css modules for nested components into one css file (DD)
  • Production Usage > Dynamic import > default behavior > should not remove css styles for same css file between page transitions (DD)
  • Production Usage > Dynamic import > default behavior > should output correct css even in case of three css module files while one is shared across files (DD)
  • Production Usage > Dynamic import > default behavior > should render one dynamically imported component without any css files (DD)
  • Production Usage > Dynamic import > default behavior > should render even there are no physical chunk exists (DD)
  • Production Usage > Dynamic import > ssr:false option > should not render loading on the server side (DD)
  • Production Usage > Dynamic import > ssr:false option > should render the component on client side (DD)
  • Production Usage > Dynamic import > ssr:true option > should render the component on the server side (DD)
  • Production Usage > Dynamic import > ssr:true option > should render the component on client side (DD)
  • Production Usage > Misc > should handle already finished responses (DD)
  • Production Usage > Misc > should allow to access /static/ and /_next/ (DD)
  • Production Usage > Misc > Should allow access to public files (DD)
  • Production Usage > Misc > should reload the page on page script error (DD)
  • Production Usage > Misc > should add autoExport for auto pre-rendered pages (DD)
  • Production Usage > Misc > should not add autoExport for non pre-rendered pages (DD)
  • Production Usage > Misc > should add prefetch tags when Link prefetch prop is used (DD)
  • Production Usage > Misc > It does not add a timestamp to link tags with prefetch attribute (DD)
  • Production Usage > Misc > should reload the page on page script error with prefetch (DD)
  • Production Usage > Runtime errors > should render a server side error on the client side (DD)
  • Production Usage > Runtime errors > should render a client side component error (DD)
  • Production Usage > Runtime errors > should call getInitialProps on _error page during a client side component error (DD)
  • Production Usage > With Security Related Issues > should only access files inside .next directory (DD)
  • Production Usage > With Security Related Issues > should not allow accessing files outside .next/static directory (DD)
  • Production Usage > With Security Related Issues > should not leak the user's home directory into the build (DD)
  • Production Usage > With Security Related Issues > should prevent URI based XSS attacks (DD)
  • Production Usage > With Security Related Issues > should prevent URI based XSS attacks using single quotes (DD)
  • Production Usage > With Security Related Issues > should prevent URI based XSS attacks using double quotes (DD)
  • Production Usage > With Security Related Issues > should prevent URI based XSS attacks using semicolons and double quotes (DD)
  • Production Usage > With Security Related Issues > should prevent URI based XSS attacks using semicolons and single quotes (DD)
  • Production Usage > With Security Related Issues > should prevent URI based XSS attacks using src (DD)
  • Production Usage > With Security Related Issues > should prevent URI based XSS attacks using querystring (DD)
  • Production Usage > With Security Related Issues > should prevent URI based XSS attacks using querystring and quotes (DD)
  • Production Usage > With Security Related Issues > should handle encoded value in the pathname correctly \ (DD)
  • Production Usage > With Security Related Issues > should handle encoded value in the pathname correctly % (DD)
  • Production Usage > With Security Related Issues > should handle encoded value in the query correctly (DD)
  • Production Usage > With Security Related Issues > should handle encoded value in the pathname correctly / (DD)
  • Production Usage > With Security Related Issues > should handle encoded value in the pathname to query correctly (/) (DD)
  • Production Usage > With Security Related Issues > should handle encoded / value for trailing slash correctly (DD)
  • Production Usage > With Security Related Issues > should not execute script embedded inside svg image, even if dangerouslyAllowSVG=true (DD)
  • Production Usage > With basic usage > should render the page (DD)
  • Production Usage > With basic usage > should polyfill Node.js modules (DD)
  • Production Usage > With basic usage > should allow etag header support (DD)
  • Production Usage > With basic usage > should allow etag header support with getStaticProps (DD)
  • Production Usage > With basic usage > should have X-Powered-By header support (DD)
  • Production Usage > With basic usage > should render 404 for routes that do not exist (DD)
  • Production Usage > With basic usage > should render 404 for /_next/static route (DD)
  • Production Usage > With basic usage > should render 200 for POST on page (DD)
  • Production Usage > With basic usage > should render 404 for POST on missing page (DD)
  • Production Usage > With basic usage > should render 404 for _next routes that do not exist (DD)
  • Production Usage > With basic usage > should render 404 even if the HTTP method is not GET or HEAD (DD)
  • Production Usage > With basic usage > should render 404 for dotfiles in /static (DD)
  • Production Usage > With basic usage > should return 405 method on static then GET and HEAD (DD)
  • Production Usage > With basic usage > should return 412 on static file when If-Unmodified-Since is provided and file is modified (DD)
  • Production Usage > With basic usage > should return 200 on static file if If-Unmodified-Since is invalid date (DD)
  • Production Usage > With basic usage > should set Content-Length header (DD)
  • Production Usage > With basic usage > should set Cache-Control header (DD)
  • Production Usage > With basic usage > should set correct Cache-Control header for static 404s (DD)
  • Production Usage > With basic usage > should block special pages (DD)
  • Production Usage > With basic usage > should not contain customServer in NEXT_DATA (DD)
  • Production Usage > With navigation > should navigate via client side (DD)
  • Production Usage > With navigation > should navigate to nested index via client side (DD)
  • Production Usage > With navigation > should reload page successfully (on bad link) (DD)
  • Production Usage > With navigation > should reload page successfully (on bad data fetch) (DD)
  • Production Usage > process.browser > should eliminate server only code on the client (DD)
  • Production Usage > process.browser > should eliminate client only code on the server (DD)
  • Production Usage > process.env > should set process.env.NODE_ENV in production (DD)
Expand output

● Production Usage › should navigate through history after query update

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should handle query/hash correctly during query updating #hello? $search

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should handle query/hash correctly during query updating #? $search

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should handle query/hash correctly during query updating ## $search

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should handle query/hash correctly during query updating ##? $search

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should handle query/hash correctly during query updating ##hello? $search

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should handle query/hash correctly during query updating ##hello $search

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should handle query/hash correctly during query updating #hello?world $search

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should handle query/hash correctly during query updating #a ?hello=world

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should handle query/hash correctly during query updating #a ?hello

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should handle query/hash correctly during query updating #a ?hello=

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should not show target deprecation warning

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should respond with 405 for POST to static page

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should contain generated page count in output

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should output traces

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should not contain currentScript usage for publicPath

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should not contain rsc APIs in main chunk

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should render the page

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should polyfill Node.js modules

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should allow etag header support

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should allow etag header support with getStaticProps

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should allow etag header support with getServerSideProps

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should have X-Powered-By header support

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should render 404 for routes that do not exist

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should render 404 for /_next/static route

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should render 200 for POST on page

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should render 404 for POST on missing page

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should render 404 for _next routes that do not exist

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should render 404 even if the HTTP method is not GET or HEAD

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should render 404 for dotfiles in /static

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should return 405 method on static then GET and HEAD

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should return 412 on static file when If-Unmodified-Since is provided and file is modified

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should return 200 on static file if If-Unmodified-Since is invalid date

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should set Content-Length header

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should set Cache-Control header

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should set correct Cache-Control header for static 404s

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should block special pages

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With basic usage › should not contain customServer in NEXT_DATA

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › API routes › should work with pages/api/index.js

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › API routes › should work with pages/api/hello.js

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › API routes › does not work with pages/api/readfile-dirname.js

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › API routes › should work with pages/api/readfile-processcwd.js

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › API routes › should work with dynamic params and search string

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With navigation › should navigate via client side

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With navigation › should navigate to nested index via client side

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With navigation › should reload page successfully (on bad link)

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With navigation › should reload page successfully (on bad data fetch)

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should navigate to external site and back

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should navigate to page with CSS and back

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should navigate to external site and back (with query)

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should change query correctly

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Runtime errors › should render a server side error on the client side

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Runtime errors › should render a client side component error

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Runtime errors › should call getInitialProps on _error page during a client side component error

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Misc › should handle already finished responses

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Misc › should allow to access /static/ and /_next/

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Misc › Should allow access to public files

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Misc › should reload the page on page script error

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Misc › should add autoExport for auto pre-rendered pages

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Misc › should not add autoExport for non pre-rendered pages

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Misc › should add prefetch tags when Link prefetch prop is used

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Misc › It does not add a timestamp to link tags with prefetch attribute

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Misc › should reload the page on page script error with prefetch

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should not expose the compiled page file in development

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should not put backslashes in pages-manifest.json

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should handle failed param decoding

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should replace static pages with HTML files

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should not replace non-static pages with HTML files

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should warn when prefetch is true

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should not emit stats

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should contain the Next.js version in window export

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should clear all core performance marks

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should not clear custom performance marks

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should have defer on all script tags

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should only have one DOCTYPE

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should preserve query when hard navigating from page 404

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › should remove placeholder for next/image correctly

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › default behavior › should render dynamic import components

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › default behavior › should render one dynamically imported component and load its css files

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › default behavior › should render three dynamically imported components and load their css files

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › default behavior › should bundle two css modules for one dynamically imported component into one css file

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › default behavior › should bundle two css modules for nested components into one css file

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › default behavior › should not remove css styles for same css file between page transitions

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › default behavior › should output correct css even in case of three css module files while one is shared across files

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › default behavior › should render one dynamically imported component without any css files

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › default behavior › should render even there are no physical chunk exists

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › ssr:false option › should not render loading on the server side

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › ssr:false option › should render the component on client side

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › ssr:true option › should render the component on the server side

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › ssr:true option › should render the component on client side

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › custom loading › should render custom loading on the server side when ssr:false and loading is provided

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › Dynamic import › custom loading › should render the component on client side

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › process.env › should set process.env.NODE_ENV in production

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › process.browser › should eliminate server only code on the client

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › process.browser › should eliminate client only code on the server

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should handle invalid URL properly

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should only access files inside .next directory

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should not allow accessing files outside .next/static directory

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should not leak the user's home directory into the build

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should prevent URI based XSS attacks

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should prevent URI based XSS attacks using single quotes

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should prevent URI based XSS attacks using double quotes

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should prevent URI based XSS attacks using semicolons and double quotes

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should prevent URI based XSS attacks using semicolons and single quotes

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should prevent URI based XSS attacks using src

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should prevent URI based XSS attacks using querystring

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should prevent URI based XSS attacks using querystring and quotes

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should handle encoded value in the pathname correctly \

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should handle encoded value in the pathname correctly %

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should handle encoded value in the query correctly

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should handle encoded value in the pathname correctly /

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should handle encoded value in the pathname to query correctly (/)

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should handle encoded / value for trailing slash correctly

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● Production Usage › With Security Related Issues › should not execute script embedded inside svg image, even if dangerouslyAllowSVG=true

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-start test/e2e/app-dir/duplicate-layout-components/duplicate-layout-components.test.ts (job)

  • app dir - duplicate layout components > should not duplicate layout elements when navigating to 404 (DD)
Expand output

● app dir - duplicate layout components › should not duplicate layout elements when navigating to 404

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-start test/e2e/app-dir/next-config-ts-native-ts/async-function/async-function-cjs.test.ts (job)

  • next-config-ts-async-function-cjs > should support config as async function (CJS) (DD)
Expand output

● next-config-ts-async-function-cjs › should support config as async function (CJS)

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test test/integration/app-functional/test/index.test.ts (turbopack) (job)

  • Document and App > should not have any missing key warnings (DD)
Expand output

● Document and App › should not have any missing key warnings

expect(received).toMatch(expected)

Expected pattern: /<div>Hello World!!!<\/div>/
Received string:  "Internal Server Error"

  29 |   it('should not have any missing key warnings', async () => {
  30 |     const html = await renderViaHTTP(appPort, '/')
> 31 |     expect(html).toMatch(/<div>Hello World!!!<\/div>/)
     |                  ^
  32 |   })
  33 | })
  34 |

  at Object.toMatch (integration/app-functional/test/index.test.ts:31:18)

pnpm test test/integration/app-dynamic-error/test/index.test.ts (turbopack) (job)

  • app-dynamic-error > production mode > throws an error when prerendering a page with config dynamic error (DD)
Expand output

● app-dynamic-error › production mode › throws an error when prerendering a page with config dynamic error

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

Expected substring: "Error occurred prerendering page \"/dynamic-error\""
Received string:    "unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  "
  at Object.toContain (integration/app-dynamic-error/test/index.test.ts:13:24)

pnpm test-start test/e2e/app-dir/initial-css-order/initial-css-order.test.ts (job)

  • initial-css-order > should serve styles in the correct order for the page (DD)
  • initial-css-order > should serve styles in the correct order for global-not-found (DD)
Expand output

● initial-css-order › should serve styles in the correct order for the page

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● initial-css-order › should serve styles in the correct order for global-not-found

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-dev test/development/app-dir/dev-fetch-hmr/dev-fetch-hmr.test.ts (job)

  • dev-fetch-hmr > should retain module level fetch patching (DD)
Expand output

● dev-fetch-hmr › should retain module level fetch patching

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test-start test/e2e/app-dir/global-not-found/cache-components/cache-components.test.ts (job)

  • global-not-found - cache-components > should render global-not-found for 404 routes (DD)
  • global-not-found - cache-components > should render not-found boundary when calling notFound() in a page (DD)
Expand output

● global-not-found - cache-components › should render global-not-found for 404 routes

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● global-not-found - cache-components › should render not-found boundary when calling notFound() in a page

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test test/integration/404-page-ssg/test/index.test.ts (turbopack) (job)

  • 404 Page Support SSG > development mode > should respond to 404 correctly (DD)
  • 404 Page Support SSG > development mode > should render error correctly (DD)
  • 404 Page Support SSG > development mode > should render index page normal (DD)
Expand output

● 404 Page Support SSG › development mode › should respond to 404 correctly

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

Expected: 404
Received: 500

  26 |   it('should respond to 404 correctly', async () => {
  27 |     const res = await fetchViaHTTP(appPort, '/404')
> 28 |     expect(res.status).toBe(404)
     |                        ^
  29 |     expect(await res.text()).toContain('custom 404 page')
  30 |   })
  31 |

  at Object.toBe (integration/404-page-ssg/test/index.test.ts:28:24)

● 404 Page Support SSG › development mode › should render error correctly

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

Expected substring: "oops"
Received string:    "Internal Server Error"

  32 |   it('should render error correctly', async () => {
  33 |     const text = await renderViaHTTP(appPort, '/err')
> 34 |     expect(text).toContain(isDev ? 'oops' : 'Internal Server Error')
     |                  ^
  35 |   })
  36 |
  37 |   it('should not show an error in the logs for 404 SSG', async () => {

  at Object.toContain (integration/404-page-ssg/test/index.test.ts:34:18)

● 404 Page Support SSG › development mode › should render index page normal

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

Expected substring: "hello from index"
Received string:    "Internal Server Error"

  43 |   it('should render index page normal', async () => {
  44 |     const html = await renderViaHTTP(appPort, '/')
> 45 |     expect(html).toContain('hello from index')
     |                  ^
  46 |   })
  47 |
  48 |   if (!isDev) {

  at Object.toContain (integration/404-page-ssg/test/index.test.ts:45:18)

pnpm test test/integration/config-promise-error/test/index.test.ts (job)

  • Promise in next config > production mode > should warn when a promise is returned on webpack (DD)
Expand output

● Promise in next config › production mode › should warn when a promise is returned on webpack

expect(received).toMatch(expected)

Expected pattern: /> Promise returned in next config\. https:\/\//
Received string:  "unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  "
  at Object.toMatch (integration/config-promise-error/test/index.test.ts:35:35)

pnpm test test/integration/auto-export-error-bail/test/index.test.ts (turbopack) (job)

  • Auto Export _error bail > production mode > should not opt-out of auto static optimization from invalid _error (DD)
Expand output

● Auto Export _error bail › production mode › should not opt-out of auto static optimization from invalid _error

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

Expected: 0
Received: 1

  19 |     const combinedOutput = output.stderr + output.stdout
  20 |
> 21 |     expect(output.code).toBe(0)
     |                         ^
  22 |     expect(combinedOutput).not.toContain(
  23 |       'You have opted-out of Automatic Static Optimization due to'
  24 |     )

  at Object.toBe (integration/auto-export-error-bail/test/index.test.ts:21:25)

pnpm test-dev test/development/app-dir/hmr-symlink/hmr-symlink.test.ts (job)

  • HMR symlinks > tracks updates to symlinked target (DD)
Expand output

● HMR symlinks › tracks updates to symlinked target

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

● HMR symlinks › tracks updates to the symlink

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

● HMR symlinks › tracks updates to the middle of a symlink chain

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test-start test/e2e/app-dir/next-config-ts-native-ts/export-as-default/next-config-ts-export-as-default-esm.test.ts (job)

  • next-config-ts-export-as-default-esm > should support export as default (ESM) (DD)
Expand output

● next-config-ts-export-as-default-esm › should support export as default (ESM)

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-start-turbo test/e2e/app-dir/app-middleware-proxy/app-middleware-proxy-in-src-dir.test.ts (turbopack) (job)

  • app dir - with proxy in src dir > works without crashing when using RequestStore (DD)
Expand output

● app dir - with proxy in src dir › works without crashing when using RequestStore

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test test/integration/auto-export-query-error/test/index.test.ts (job)

  • Auto Export > production mode > should show warning for query provided for auto exported page correctly (DD)
Expand output

● Auto Export › production mode › should show warning for query provided for auto exported page correctly

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

Expected substring: "Error: you provided query values for / which is an auto-exported page. These can not be applied since the page can no longer be re-rendered on the server. To disable auto-export for this page add `getInitialProps`"
Received string:    "unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  "
  at Object.toContain (integration/auto-export-query-error/test/index.test.ts:13:20)

pnpm test-start-turbo test/e2e/app-dir/app-inline-css/index.test.ts (turbopack) (job)

  • app dir - css - experimental inline css > Production only > should render page with correct styles (DD)
  • app dir - css - experimental inline css > Production only > should not return rsc payload with inlined style as a dynamic client nav (DD)
  • app dir - css - experimental inline css > Production only > should have only one style tag when navigating from page with inlining to page without inlining (DD)
  • app dir - css - experimental inline css > Production only > should apply font styles correctly via className (DD)
  • app dir - css - experimental inline css > Production only > should apply font styles correctly via CSS variable (DD)
  • app dir - css - experimental inline css > Production only > should inline font-face with absolute src URL (DD)
Expand output

● app dir - css - experimental inline css › Production only › should render page with correct styles

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir - css - experimental inline css › Production only › should not return rsc payload with inlined style as a dynamic client nav

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir - css - experimental inline css › Production only › should have only one style tag when navigating from page with inlining to page without inlining

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir - css - experimental inline css › Production only › should apply font styles correctly via className

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir - css - experimental inline css › Production only › should apply font styles correctly via CSS variable

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir - css - experimental inline css › Production only › should inline font-face with absolute src URL

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-dev-turbo test/development/api-cors-with-rewrite/index.test.ts (turbopack) (job)

  • Rewritten API Requests should pass OPTIONS requests to the api function > should pass OPTIONS requests to the api function (DD)
Expand output

● Rewritten API Requests should pass OPTIONS requests to the api function › should pass OPTIONS requests to the api function

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

Expected substring: "successfully hit some-endpoint!"
Received string:    "Internal Server Error"

  41 |       },
  42 |     })
> 43 |     expect(await res.text()).toContain('successfully hit some-endpoint!')
     |                              ^
  44 |   })
  45 | })
  46 |

  at Object.toContain (development/api-cors-with-rewrite/index.test.ts:43:30)

pnpm test test/integration/dynamic-route-rename/test/index.test.ts (job)

  • Dynamic route rename casing > should not throw error when changing casing of dynamic route file (DD)
Expand output

● Dynamic route rename casing › should not throw error when changing casing of dynamic route file

FetchError: request to http://localhost:38631/abc failed, reason: connect ECONNREFUSED 127.0.0.1:38631

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

pnpm test test/integration/app-types/app-types.test.ts (turbopack) (job)

  • app type checking - production mode > should report link errors (DD)
  • app type checking - production mode > should generate route types correctly and report router API errors (DD)
  • app type checking - production mode > should generate route types correctly and report form errors (DD)
  • app type checking - production mode > should generate route types correctly and report redirect errors (DD)
Expand output

● app type checking - production mode › should report link errors

ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/test/integration/app-types/.next/types/link.d.ts'

● app type checking - production mode › should generate route types correctly and report router API errors

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

  46 |     // Make sure all errors were reported and other links passed type checking
  47 |     const errorLines = [
> 48 |       ...errors.matchAll(
     |                 ^
  49 |         /\.\/src\/app\/type-checks\/router\/page\.tsx:(\d+):/g
  50 |       ),
  51 |     ].map(([, line]) => +line)

  at Object.matchAll (integration/app-types/app-types.test.ts:48:17)

● app type checking - production mode › should generate route types correctly and report form errors

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

  61 |     // Make sure all errors were reported and other Forms passed type checking
  62 |     const errorLines = [
> 63 |       ...errors.matchAll(/\.\/src\/app\/type-checks\/form\/page\.tsx:(\d+):/g),
     |                 ^
  64 |     ].map(([, line]) => +line)
  65 |
  66 |     const ST = 8

  at Object.matchAll (integration/app-types/app-types.test.ts:63:17)

● app type checking - production mode › should generate route types correctly and report redirect errors

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

  74 |     // Make sure all errors were reported and other redirect functions passed type checking
  75 |     const errorLines = [
> 76 |       ...errors.matchAll(
     |                 ^
  77 |         /\.\/src\/app\/type-checks\/redirect\/page\.tsx:(\d+):/g
  78 |       ),
  79 |     ].map(([, line]) => +line)

  at Object.matchAll (integration/app-types/app-types.test.ts:76:17)

pnpm test test/integration/fallback-modules/test/index.test.ts (job)

  • Fallback Modules > production mode > Crypto Application > should not include crypto (DD)
Expand output

● Fallback Modules › production mode › Crypto Application › should not include crypto

ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/test/integration/fallback-modules/fixtures/with-crypto/.next/build-manifest.json'

  31 |           const buildManifestPath = join(appDir, '.next', 'build-manifest.json')
  32 |           const buildManifest = JSON.parse(
> 33 |             readFileSync(buildManifestPath, 'utf8')
     |                         ^
  34 |           )
  35 |
  36 |           // Get chunks for the '/' page

  at Object.<anonymous> (integration/fallback-modules/test/index.test.ts:33:25)

pnpm test-dev-turbo test/development/app-dir/dynamic-error-trace/index.test.ts (turbopack) (job)

  • devtools-position-bottom-right > should devtools indicator position initially be bottom-right when configured (DD)
Expand output

● devtools-position-bottom-right › should devtools indicator position initially be bottom-right when configured

Expected DevTools Indicator but found no visible one.

  4 | export async function getDevIndicatorPosition(browser: Playwright) {
  5 |   // assert before eval() to prevent race condition
> 6 |   await waitForDevToolsIndicator(browser)
    |   ^
  7 |
  8 |   const style = await browser.eval(() => {
  9 |     return (

  at getDevIndicatorPosition (development/app-dir/devtools-position/utils.ts:6:3)
  at Object.<anonymous> (development/app-dir/devtools-position/bottom-right-position.test.ts:16:19)

pnpm test test/integration/build-trace-extra-entries-monorepo/test/index.test.ts (job)

  • build trace with extra entries in monorepo > production mode > should build and trace correctly (DD)
Expand output

● build trace with extra entries in monorepo › production mode › should build and trace correctly

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

Expected: 0
Received: 1

  17 |           stdout: true,
  18 |         })
> 19 |         expect(result.code).toBe(0)
     |                             ^
  20 |         console.log(result.stderr)
  21 |         console.log(result.stdout)
  22 |

  at Object.toBe (integration/build-trace-extra-entries-monorepo/test/index.test.ts:19:29)

pnpm test-dev-turbo test/development/app-dir/hmr-shared-css/hmr-shared-css.test.ts (turbopack) (job)

  • hmr-app-and-pages > should do HMR when app router and pages router have shared CSS (DD)
Expand output

● hmr-app-and-pages › should do HMR when app router and pages router have shared CSS

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

Expected: "rgb(255, 255, 255)"
Received: "rgba(0, 0, 0, 0)"

  13 |     expect(
  14 |       await browser.elementByCss('body').getComputedCss('background-color')
> 15 |     ).toEqual('rgb(255, 255, 255)')
     |       ^
  16 |
  17 |     await next.patchFile('app/styles.css', (content) =>
  18 |       content.replace(

  at Object.toEqual (development/app-dir/hmr-shared-css/hmr-shared-css.test.ts:15:7)

pnpm test-dev test/e2e/app-dir/app-basepath-custom-server/index.test.ts (job)

  • custom-app-server-action-redirect > redirects with basepath properly when server action handler uses redirect (DD)
  • custom-app-server-action-redirect > redirects with proper cookies set from both redirect response and post respose (DD)
Expand output

● custom-app-server-action-redirect › redirects with basepath properly when server action handler uses redirect

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

● custom-app-server-action-redirect › redirects with proper cookies set from both redirect response and post respose

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test-dev test/development/app-dir/hmr-move-file/hmr-move-file.test.ts (job)

  • HMR Move File > should work when moving a component to another directory (DD)
Expand output

● HMR Move File › should work when moving a component to another directory

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test test/integration/error-in-error/test/index.test.ts (job)

  • Handles an Error in _error > production mode > Handles error during SSR (DD)
  • Handles an Error in _error > production mode > Handles error during client transition (DD)
Expand output

● Handles an Error in _error › production mode › Handles error during SSR

command failed with code 1 signal null
unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:325:11)

● Handles an Error in _error › production mode › Handles error during client transition

command failed with code 1 signal null
unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:325:11)

pnpm test-dev test/e2e/app-dir/action-in-pages-router/action-in-pages-router.test.ts (job)

  • app-dir - action-in-pages-router > should not error on fake server action in pages router (DD)
Expand output

● app-dir - action-in-pages-router › should not error on fake server action in pages router

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test-start-turbo test/e2e/app-dir/actions/app-action-form-state.test.ts (turbopack) (job)

  • app-dir action useActionState > should support submitting form state with JS (DD)
  • app-dir action useActionState > should support submitting form state without JS (DD)
  • app-dir action useActionState > should support hydrating the app from progressively enhanced form request (DD)
  • app-dir action useActionState > should send the action to the provided permalink with form state when JS disabled (DD)
Expand output

● app-dir action useActionState › should support submitting form state with JS

ENOENT: no such file or directory, lstat '/root/actions-runner/_work/next.js/next.js/test/e2e/app-dir/actions/app-action-size-limit-invalid-node-middleware.test.ts.results.json'

● app-dir action useActionState › should support submitting form state without JS

ENOENT: no such file or directory, lstat '/root/actions-runner/_work/next.js/next.js/test/e2e/app-dir/actions/app-action-size-limit-invalid-node-middleware.test.ts.results.json'

● app-dir action useActionState › should support hydrating the app from progressively enhanced form request

ENOENT: no such file or directory, lstat '/root/actions-runner/_work/next.js/next.js/test/e2e/app-dir/actions/app-action-size-limit-invalid-node-middleware.test.ts.results.json'

● app-dir action useActionState › should send the action to the provided permalink with form state when JS disabled

ENOENT: no such file or directory, lstat '/root/actions-runner/_work/next.js/next.js/test/e2e/app-dir/actions/app-action-size-limit-invalid-node-middleware.test.ts.results.json'

pnpm test-start test/e2e/app-dir/css-media-query/css-media-query.test.ts (job)

  • css-media-query > should preserve max-width media query syntax instead of transpiling to range syntax (DD)
  • css-media-query > should apply the correct styles based on media query (DD)
Expand output

● css-media-query › should preserve max-width media query syntax instead of transpiling to range syntax

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● css-media-query › should apply the correct styles based on media query

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-start test/e2e/app-dir/catchall-specificity/catchall-specificity.test.ts (job)

  • catchall-specificity > should match the generic catchall correctly (DD)
  • catchall-specificity > should match the specific catchall correctly (DD)
Expand output

● catchall-specificity › should match the generic catchall correctly

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● catchall-specificity › should match the specific catchall correctly

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-start test/e2e/app-dir/asset-prefix-absolute/asset-prefix-absolute-no-path.test.ts (job)

  • app-dir absolute assetPrefix > bundles should return 200 on served assetPrefix (DD)
Expand output

● app-dir absolute assetPrefix › bundles should return 200 on served assetPrefix

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-dev test/development/app-dir/hydration-error-count/hydration-error-count.test.ts (job)

  • hydration-error-count > should have correct hydration error count for bad nesting (DD)
  • hydration-error-count > should have correct hydration error count for html diff (DD)
  • hydration-error-count > should display correct hydration info in each hydration error view (DD)
  • hydration-error-count > should display runtime error separately from hydration errors (DD)
Expand output

● hydration-error-count › should have correct hydration error count for bad nesting

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

● hydration-error-count › should have correct hydration error count for html diff

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

● hydration-error-count › should display correct hydration info in each hydration error view

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

● hydration-error-count › should display runtime error separately from hydration errors

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test-start test/e2e/app-dir/actions-navigation/index.test.ts (job)

  • app-dir action handling > should handle actions correctly after navigation / redirection events (DD)
  • app-dir action handling > should handle actions correctly after following a relative link (DD)
Expand output

● app-dir action handling › should handle actions correctly after navigation / redirection events

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app-dir action handling › should handle actions correctly after following a relative link

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-dev test/development/app-dir/cache-indicator/cache-indicator.test.ts (job)

  • devtools-position-default > should devtools indicator position initially be bottom-left by default (DD)
Expand output

● devtools-position-default › should devtools indicator position initially be bottom-left by default

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test-dev test/development/app-dir/build-error-logs/build-error-logs.test.ts (job)

  • build-error-logs > should only log error a single time (DD)
Expand output

● build-error-logs › should only log error a single time

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test-start-turbo test/e2e/app-dir/dev-overlay/portal-not-affect-parent/portal-not-affect-parent.test.ts (turbopack) (job)

  • dev-overlay - portal-not-affect-parent > should not affect parent display (DD)
Expand output

● dev-overlay - portal-not-affect-parent › should not affect parent display

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test test/integration/hydrate-then-render/test/index.test.ts (job)

  • hydrate/render ordering > production mode > correctly measures hydrate followed by render (DD)
Expand output

● hydrate/render ordering › production mode › correctly measures hydrate followed by render

command failed with code 1 signal null
unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:325:11)

pnpm test-dev test/development/app-dir/cache-components-dev-cache-scope/cache-components-dev-cache-scope.test.ts (job)

  • Cache Components Dev Errors > should not show a red box error on the SSR render (DD)
  • Cache Components Dev Errors > should show a red box error on the SSR render when data is uncached (DD)
Expand output

● Cache Components Dev Errors › should not show a red box error on the SSR render

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

● Cache Components Dev Errors › should show a red box error on the SSR render when data is uncached

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test-start test/e2e/app-dir/app-edge/app-edge-invalid-reexport.test.ts (job)

  • app-dir edge SSR invalid reexport > should warn or error about the re-export of a pages runtime/preferredRegion config (DD)
Expand output

● app-dir edge SSR invalid reexport › should warn or error about the re-export of a pages runtime/preferredRegion config

expect(received).toInclude(expected)

Expected string to include:
  "Next.js can't recognize the exported `runtime` field in"
Received:
  "unhandledRejection Error: ENOENT: no such file or directory, open '/tmp/next-install-6b5d97ea42c3d76d63ff1b47e3551045aab738e53ac214c74778a9e535d4a3d4/node_modules/.pnpm/next@file+..+next-repo-e64a060e1ceda146708386b895870dd0f35d5a8c0ea87a02e14d8c690e935090+packa_lauguyibhhnqephbnouggkumii/node_modules/next/dist/lib/server-external-packages.jsonc'
    at ignore-listed frames {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/tmp/next-install-6b5d97ea42c3d76d63ff1b47e3551045aab738e53ac214c74778a9e535d4a3d4/node_modules/.pnpm/next@file+..+next-repo-e64a060e1ceda146708386b895870dd0f35d5a8c0ea87a02e14d8c690e935090+packa_lauguyibhhnqephbnouggkumii/node_modules/next/dist/lib/server-external-packages.jsonc'
}
"

  44 |     }
  45 |
> 46 |     expect(next.cliOutput).toInclude(
     |                            ^
  47 |       `Next.js can't recognize the exported \`runtime\` field in`
  48 |     )
  49 |     expect(next.cliOutput).toInclude(

  at Object.toInclude (e2e/app-dir/app-edge/app-edge-invalid-reexport.test.ts:46:28)

pnpm test-start test/e2e/app-dir/global-not-found/basic/global-not-found-basic.test.ts (job)

  • global-not-found - basic > should render global-not-found for 404 (DD)
  • global-not-found - basic > should ssr global-not-found for 404 (DD)
  • global-not-found - basic > should render not-found boundary when calling notFound() in a page (DD)
Expand output

● global-not-found - basic › should render global-not-found for 404

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● global-not-found - basic › should ssr global-not-found for 404

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● global-not-found - basic › should render not-found boundary when calling notFound() in a page

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test test/integration/bigint/test/index.test.ts (turbopack) (job)

  • bigint API route support > production mode > should return 200 (DD)
  • bigint API route support > production mode > should return the BigInt result text (DD)
Expand output

● bigint API route support › production mode › should return 200

command failed with code 1 signal null
unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:325:11)

● bigint API route support › production mode › should return the BigInt result text

command failed with code 1 signal null
unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:325:11)

pnpm test-start test/e2e/app-dir/app-fetch-deduping-errors/app-fetch-deduping-errors.test.ts (job)

  • app-fetch-errors > should still successfully render when a fetch request that acquires a cache lock errors (DD)
Expand output

● app-fetch-errors › should still successfully render when a fetch request that acquires a cache lock errors

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-dev-turbo test/development/dotenv-default-expansion/index.test.ts (turbopack) (job)

  • Dotenv default expansion > should work (DD)
Expand output

● Dotenv default expansion › should work

page.waitForSelector: Timeout 5000ms exceeded.
Call log:
  - waiting for locator('p') to be visible

  519 |
  520 |     return this.startChain(async () => {
> 521 |       const el = await page.waitForSelector(selector, {
      |                             ^
  522 |         timeout,
  523 |         state,
  524 |       })

  at waitForSelector (lib/browsers/playwright.ts:521:29)
  at Playwright._chain (lib/browsers/playwright.ts:651:23)
  at Playwright._chain [as startChain] (lib/browsers/playwright.ts:632:17)
  at Playwright.startChain [as waitForElementByCss] (lib/browsers/playwright.ts:520:17)
  at Playwright.waitForElementByCss [as elementByCss] (lib/browsers/playwright.ts:405:17)
  at Object.elementByCss (development/dotenv-default-expansion/index.test.ts:27:32)
  at Proxy._chain (lib/browsers/playwright.ts:651:23)
  at Proxy._chain (lib/browsers/playwright.ts:627:17)
  at Proxy.continueChain (lib/browsers/playwright.ts:433:17)
  at Object.text (development/dotenv-default-expansion/index.test.ts:27:50)

pnpm test test/integration/app-aspath/test/index.test.ts (job)

  • App asPath > should not have any changes in asPath after a bundle rebuild (DD)
Expand output

● App asPath › should not have any changes in asPath after a bundle rebuild

FetchError: request to http://localhost:38807/ failed, reason: connect ECONNREFUSED 127.0.0.1:38807

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

pnpm test test/unit/webpack-config-overrides.test.ts (job)

Expand output

● Test suite failed to run

ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  105 |
  106 | const EXTERNAL_PACKAGES = JSON5.parse(
> 107 |   fs.readFileSync(
      |      ^
  108 |     path.join(__dirname, '../lib/server-external-packages.jsonc'),
  109 |     'utf8'
  110 |   )

  at Object.readFileSync (../packages/next/src/build/webpack-config.ts:107:6)
  at Object.<anonymous> (unit/webpack-config-overrides.test.ts:5:24)

pnpm test test/integration/dedupes-scripts/test/index.test.ts (turbopack) (job)

  • De-dedupes scripts in _document > production mode > Does not have duplicate script references (DD)
Expand output

● De-dedupes scripts in _document › production mode › Does not have duplicate script references

command failed with code 1 signal null
unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:325:11)

pnpm test-start test/e2e/app-dir/next-config-ts-native-ts/import-from-node-modules/next-config-ts-import-from-node-modules-cjs.test.ts (job)

  • next-config-ts-import-from-node-modules-cjs > should import from node_modules (CJS) (DD)
Expand output

● next-config-ts-import-from-node-modules-cjs › should import from node_modules (CJS)

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-start-turbo test/e2e/app-dir/app-alias/app-alias.test.ts (turbopack) (job)

  • app-dir alias > should handle typescript paths alias correctly (DD)
  • app-dir alias > should resolve css imports from outside with src folder presented (DD)
Expand output

● app-dir alias › should handle typescript paths alias correctly

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app-dir alias › should resolve css imports from outside with src folder presented

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-dev test/e2e/app-dir/actions-allowed-origins/app-action-disallowed-origins.test.ts (job)

  • app-dir action disallowed origins > should error if x-forwarded-host does not match the origin (DD)
Expand output

● app-dir action disallowed origins › should error if x-forwarded-host does not match the origin

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test-start-turbo test/e2e/app-dir/app-client-cache/client-cache.original.test.ts (turbopack) (job)

  • app dir client cache semantics (30s/5min) > should seed the prefetch cache with the fetched page data (DD)
  • app dir client cache semantics (30s/5min) > should renew the initial seeded data after expiration time (DD)
  • app dir client cache semantics (30s/5min) > prefetch={false} > should not prefetch the page at all (DD)
  • app dir client cache semantics (30s/5min) > prefetch={false} > should re-use the cache only for 30 seconds (DD)
  • app dir client cache semantics (30s/5min) > prefetch={true} > should prefetch the full page (DD)
  • app dir client cache semantics (30s/5min) > prefetch={true} > should re-use the cache for the full page, only for 5 mins (DD)
  • app dir client cache semantics (30s/5min) > prefetch={true} > should prefetch again after 5 mins if the link is visible again (DD)
  • app dir client cache semantics (30s/5min) > prefetch={undefined} - default > should prefetch partially a dynamic page (DD)
  • app dir client cache semantics (30s/5min) > prefetch={undefined} - default > should re-use the full cache for only 30 seconds (DD)
  • app dir client cache semantics (30s/5min) > prefetch={undefined} - default > should renew the 30s cache once the data is revalidated (DD)
  • app dir client cache semantics (30s/5min) > prefetch={undefined} - default > should refetch below the fold after 30 seconds (DD)
  • app dir client cache semantics (30s/5min) > prefetch={undefined} - default > should refetch the full page after 5 mins (DD)
  • app dir client cache semantics (30s/5min) > prefetch={undefined} - default > should respect a loading boundary that returns null (DD)
Expand output

● app dir client cache semantics (30s/5min) › prefetch={true} › should prefetch the full page

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › prefetch={true} › should re-use the cache for the full page, only for 5 mins

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › prefetch={true} › should prefetch again after 5 mins if the link is visible again

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › prefetch={false} › should not prefetch the page at all

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › prefetch={false} › should re-use the cache only for 30 seconds

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › prefetch={undefined} - default › should prefetch partially a dynamic page

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › prefetch={undefined} - default › should re-use the full cache for only 30 seconds

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › prefetch={undefined} - default › should renew the 30s cache once the data is revalidated

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › prefetch={undefined} - default › should refetch below the fold after 30 seconds

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › prefetch={undefined} - default › should refetch the full page after 5 mins

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › prefetch={undefined} - default › should respect a loading boundary that returns null

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › should seed the prefetch cache with the fetched page data

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir client cache semantics (30s/5min) › should renew the initial seeded data after expiration time

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test test/integration/app-document-style-fragment/test/index.test.ts (job)

  • Custom Document Fragment Styles > production mode > correctly adds styles from fragment styles key (DD)
Expand output

● Custom Document Fragment Styles › production mode › correctly adds styles from fragment styles key

command failed with code 1 signal null
unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:325:11)

pnpm test-start-turbo test/e2e/app-dir/app-middleware/app-middleware-without-pages-dir.test.ts (turbopack) (job)

  • app dir - middleware without pages dir > Updates headers (DD)
Expand output

● app dir - middleware without pages dir › Updates headers

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-dev test/development/app-dir/devtools-position/top-right-position.test.ts (job)

  • devtools-position-top-right > should devtools indicator position initially be top-right when configured (DD)
Expand output

● devtools-position-top-right › should devtools indicator position initially be top-right when configured

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test-start test/e2e/app-dir/css-modules-pure-no-check/css-modules-pure-no-check.test.ts (job)

  • css-modules-pure-no-check > should apply styles correctly (DD)
  • css-modules-pure-no-check > should have emitted a CSS file (DD)
Expand output

● css-modules-pure-no-check › should apply styles correctly

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● css-modules-pure-no-check › should have emitted a CSS file

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test test/integration/config-mjs/test/index.test.ts (job)

  • Configuration > should disable X-Powered-By header support (DD)
  • Configuration > correctly imports a package that defines module but no main in package.json (DD)
  • Configuration > should have env variables available on the client (DD)
Expand output

● Configuration › should disable X-Powered-By header support

FetchError: request to http://localhost:41557/next-config failed, reason: connect ECONNREFUSED 127.0.0.1:41557

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Configuration › correctly imports a package that defines module but no main in package.json

FetchError: request to http://localhost:41557/next-config failed, reason: connect ECONNREFUSED 127.0.0.1:41557

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Configuration › should have env variables available on the client

FetchError: request to http://localhost:41557/next-config failed, reason: connect ECONNREFUSED 127.0.0.1:41557

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

pnpm test-dev-turbo test/development/app-dir/devtools-position/bottom-right-position.test.ts (turbopack) (job)

  • app dir - dynamic error trace > should show the error trace (DD)
Expand output

● app dir - dynamic error trace › should show the error trace

expect(received).toMatchInlineSnapshot(snapshot)

Snapshot name: `app dir - dynamic error trace should show the error trace 1`

- Snapshot  - 11
+ Received  +  1

- {
-   "description": "Route / with `dynamic = "error"` couldn't be rendered statically because it used `headers()`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering",
-   "environmentLabel": "Server",
-   "label": "Runtime Error",
-   "source": "app/lib.js (4:13) @ Foo
- > 4 |   useHeaders()
-     |             ^",
-   "stack": [
-     "Foo app/lib.js (4:13)",
-   ],
- }
+ "Expected Redbox but found no visible one."

  12 |
  13 |     // TODO(veil): Where is the stackframe for app/page.js?
> 14 |     await expect(browser).toDisplayRedbox(`
     |                           ^
  15 |      {
  16 |        "description": "Route / with \`dynamic = "error"\` couldn't be rendered statically because it used \`headers()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering",
  17 |        "environmentLabel": "Server",

  at Object.toDisplayRedbox (development/app-dir/dynamic-error-trace/index.test.ts:14:27)

● Test suite failed to run

browserContext.close: Target page, context or browser has been closed

  42 | export async function quit() {
  43 |   await Promise.all(pendingTeardown.map((fn) => fn()))
> 44 |   await context?.close()
     |   ^
  45 |   await browser?.close()
  46 |   context = undefined
  47 |   browser = undefined

  at quit (lib/browsers/playwright.ts:44:3)
  at Object.<anonymous> (lib/next-webdriver.ts:45:7)

pnpm test test/integration/catches-missing-getStaticProps/test/index.test.ts (turbopack) (job)

  • Catches Missing getStaticProps > production mode > should catch it in server build mode (DD)
Expand output

● Catches Missing getStaticProps › production mode › should catch it in server build mode

expect(received).toMatch(expected)

Expected pattern: /getStaticPaths was added without a getStaticProps in/
Received string:  "unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  "
  at Object.toMatch (integration/catches-missing-getStaticProps/test/index.test.ts:36:24)

pnpm test-start test/e2e/app-dir/app-edge-root-layout/index.test.ts (job)

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

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

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

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

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-start test/e2e/app-dir/binary/rsc-binary.test.ts (job)

  • RSC binary serialization > should correctly encode/decode binaries and hydrate (DD)
Expand output

● RSC binary serialization › should correctly encode/decode binaries and hydrate

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● RSC binary serialization › should correctly encode/decode binaries and hydrate

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

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

  at Object.get (lib/e2e-utils/index.ts:271:15)
  at Object.stop (e2e/app-dir/binary/rsc-binary.test.ts:15:16)

pnpm test-start test/e2e/app-dir/next-config-ts-native-ts/async-function/async-function-esm.test.ts (job)

  • next-config-ts-async-function-esm > should support config as async function (ESM) (DD)
Expand output

● next-config-ts-async-function-esm › should support config as async function (ESM)

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test test/integration/export-getInitialProps-warn/test/index.test.ts (job)

  • Export with getInitialProps > production mode > should show warning with next export (DD)
Expand output

● Export with getInitialProps › production mode › should show warning with next export

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

Expected substring: "https://nextjs.org/docs/messages/get-initial-props-export"
Received string:    "unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  "
  at Object.toContain (integration/export-getInitialProps-warn/test/index.test.ts:14:24)

pnpm test test/integration/critical-css/test/index.test.ts (job)

  • CSS optimization for SSR apps > production mode > should have all CSS files in manifest (DD)
  • CSS optimization for SSR apps > production mode > should inline critical CSS (DD)
  • CSS optimization for SSR apps > production mode > should inline critical CSS (dynamic) (DD)
  • CSS optimization for SSR apps > production mode > should not inline non-critical css (DD)
Expand output

● CSS optimization for SSR apps › production mode › should have all CSS files in manifest

command failed with code 1 signal null
unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:325:11)

● CSS optimization for SSR apps › production mode › should inline critical CSS

command failed with code 1 signal null
unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:325:11)

● CSS optimization for SSR apps › production mode › should inline critical CSS (dynamic)

command failed with code 1 signal null
unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:325:11)

● CSS optimization for SSR apps › production mode › should not inline non-critical css

command failed with code 1 signal null
unhandledRejection Error: ENOENT: no such file or directory, open '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'

  at Object.<anonymous> (../dist/build/webpack-config.js:154:60)
  at mod.require (../dist/server/require-hook.js:68:28) {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/root/actions-runner/_work/next.js/next.js/packages/next/dist/lib/server-external-packages.jsonc'
  }
  at ChildProcess.<anonymous> (lib/next-test-utils.ts:325:11)

pnpm test-dev-turbo test/development/app-dir/devtool-copy-button/devtool-copy-button.test.ts (turbopack) (job)

  • app-dir - devtool-copy-button > should has inspect url copy button (DD)
Expand output

● app-dir - devtool-copy-button › should has inspect url copy button

page.waitForSelector: Timeout 5000ms exceeded.
Call log:
  - waiting for locator('[data-nextjs-data-runtime-error-copy-devtools-url]') to be visible

  519 |
  520 |     return this.startChain(async () => {
> 521 |       const el = await page.waitForSelector(selector, {
      |                             ^
  522 |         timeout,
  523 |         state,
  524 |       })

  at waitForSelector (lib/browsers/playwright.ts:521:29)
  at Playwright._chain (lib/browsers/playwright.ts:651:23)
  at Playwright._chain [as startChain] (lib/browsers/playwright.ts:632:17)
  at Playwright.startChain [as waitForElementByCss] (lib/browsers/playwright.ts:520:17)
  at Playwright.waitForElementByCss [as elementByCss] (lib/browsers/playwright.ts:405:17)
  at Object.elementByCss (development/app-dir/devtool-copy-button/devtool-copy-button.test.ts:16:10)
  at Proxy._chain (lib/browsers/playwright.ts:651:23)
  at Proxy._chain (lib/browsers/playwright.ts:627:17)
  at Proxy.continueChain (lib/browsers/playwright.ts:455:17)
  at Object.getAttribute (development/app-dir/devtool-copy-button/devtool-copy-button.test.ts:17:10)

pnpm test-start test/e2e/app-dir/global-error/error-in-global-error/error-in-global-error.test.ts (job)

  • app dir - global-error - error-in-global-error > should be able to use nextjs navigation hook in global-error (DD)
  • app dir - global-error - error-in-global-error > should render fallback UI when error occurs in global-error (DD)
Expand output

● app dir - global-error - error-in-global-error › should be able to use nextjs navigation hook in global-error

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir - global-error - error-in-global-error › should render fallback UI when error occurs in global-error

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test test/integration/404-page-custom-error/test/index.test.ts (turbopack) (job)

  • Default 404 Page with custom _error > development mode > should respond to 404 correctly (DD)
  • Default 404 Page with custom _error > development mode > should render error correctly (DD)
  • Default 404 Page with custom _error > development mode > should render index page normal (DD)
Expand output

● Default 404 Page with custom _error › development mode › should respond to 404 correctly

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

Expected: 404
Received: 500

  24 |   it('should respond to 404 correctly', async () => {
  25 |     const res = await fetchViaHTTP(appPort, '/404')
> 26 |     expect(res.status).toBe(404)
     |                        ^
  27 |     expect(await res.text()).toContain('This page could not be found')
  28 |   })
  29 |

  at Object.toBe (integration/404-page-custom-error/test/index.test.ts:26:24)

● Default 404 Page with custom _error › development mode › should render error correctly

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

Expected substring: "oops"
Received string:    "Internal Server Error"

  30 |   it('should render error correctly', async () => {
  31 |     const text = await renderViaHTTP(appPort, '/err')
> 32 |     expect(text).toContain(isDev ? 'oops' : 'Internal Server Error')
     |                  ^
  33 |   })
  34 |
  35 |   it('should render index page normal', async () => {

  at Object.toContain (integration/404-page-custom-error/test/index.test.ts:32:18)

● Default 404 Page with custom _error › development mode › should render index page normal

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

Expected substring: "hello from index"
Received string:    "Internal Server Error"

  35 |   it('should render index page normal', async () => {
  36 |     const html = await renderViaHTTP(appPort, '/')
> 37 |     expect(html).toContain('hello from index')
     |                  ^
  38 |   })
  39 |
  40 |   if (!isDev) {

  at Object.toContain (integration/404-page-custom-error/test/index.test.ts:37:18)

pnpm test-start-turbo test/e2e/app-dir/actions-streaming/actions-streaming.test.ts (turbopack) (job)

  • actions-streaming > actions returning a ReadableStream > should properly stream the response without buffering (DD)
Expand output

● actions-streaming › actions returning a ReadableStream › should properly stream the response without buffering

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-dev test/development/app-dir/dev-indicator/hide-button.test.ts (job)

  • dev indicator - Hide DevTools Button > should show the dev indicator when the server is manually restarted (DD)
  • dev indicator - Hide DevTools Button > should still hide the dev indicator after reloading the page (DD)
  • dev indicator - Hide DevTools Button > should show the dev indicator after cooldown period has passed (DD)
Expand output

● dev indicator - Hide DevTools Button › should show the dev indicator when the server is manually restarted

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

● dev indicator - Hide DevTools Button › should still hide the dev indicator after reloading the page

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

● dev indicator - Hide DevTools Button › should show the dev indicator after cooldown period has passed

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

pnpm test-dev test/e2e/app-dir/next-config-ts-native-ts/export-default/next-config-ts-export-default-esm.test.ts (job)

  • next-config-ts-export-default-esm > should support export default (ESM) (DD)
Expand output

● next-config-ts-export-default-esm › should support export default (ESM)

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

Expected: "foo"
Received: ""

  17 |   it('should support export default (ESM)', async () => {
  18 |     const $ = await next.render$('/')
> 19 |     expect($('p').text()).toBe('foo')
     |                           ^
  20 |   })
  21 | })
  22 |

  at Object.toBe (e2e/app-dir/next-config-ts-native-ts/export-default/next-config-ts-export-default-esm.test.ts:19:27)

pnpm test-start test/e2e/app-dir/app-rendering/rendering.test.ts (job)

  • app dir rendering > should serve app/page.server.js at / (DD)
  • app dir rendering > ISR > should revalidate the page when revalidate is configured (DD)
  • app dir rendering > SSR only > should run data in layout and page (DD)
  • app dir rendering > SSR only > should run data fetch in parallel (DD)
  • app dir rendering > static only > should run data in layout and page (DD)
  • app dir rendering > static only > should run data in parallel and use cached version for production (DD)
Expand output

● app dir rendering › should serve app/page.server.js at /

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir rendering › SSR only › should run data in layout and page

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir rendering › SSR only › should run data fetch in parallel

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir rendering › static only › should run data in layout and page

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir rendering › static only › should run data in parallel and use cached version for production

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir rendering › ISR › should revalidate the page when revalidate is configured

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

● app dir rendering › mixed static and dynamic › should generate static data during build and use it

next build failed with code/signal 1

  75 |             if (code || signal)
  76 |               reject(
> 77 |                 new Error(
     |                 ^
  78 |                   `next build failed with code/signal ${code || signal}`
  79 |                 )
  80 |               )

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

pnpm test-dev test/e2e/app-dir/next-config-ts-native-ts/export-default/next-config-ts-export-default-cjs.test.ts (job)

  • next-config-ts-export-default-cjs > should support export default (CJS) (DD)
Expand output

● next-config-ts-export-default-cjs › should support export default (CJS)

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

Expected: "foo"
Received: ""

  14 |   it('should support export default (CJS)', async () => {
  15 |     const $ = await next.render$('/')
> 16 |     expect($('p').text()).toBe('foo')
     |                           ^
  17 |   })
  18 | })
  19 |

  at Object.toBe (e2e/app-dir/next-config-ts-native-ts/export-default/next-config-ts-export-default-cjs.test.ts:16:27)

pnpm test-dev test/development/basic/define-class-fields/define-class-fields.test.ts (job)

  • useDefineForClassFields SWC option > tsx should compile with useDefineForClassFields enabled (DD)
  • useDefineForClassFields SWC option > Initializes resident to undefined after the call to 'super()' when with useDefineForClassFields enabled (DD)
  • useDefineForClassFields SWC option > set accessors from base classes won’t get triggered with useDefineForClassFields enabled (DD)
Expand output

● useDefineForClassFields SWC option › tsx should compile with useDefineForClassFields enabled

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

● useDefineForClassFields SWC option › Initializes resident to undefined after the call to 'super()' when with useDefineForClassFields enabled

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

● useDefineForClassFields SWC option › set accessors from base classes won’t get triggered with useDefineForClassFields enabled

next dev exited unexpectedly with code/signal 1

  92 |           if (code || signal) {
  93 |             this.childProcess = undefined
> 94 |             const error = new Error(
     |                           ^
  95 |               `next dev exited unexpectedly with code/signal ${code || signal}`
  96 |             )
  97 |             clearTimeout(serverReadyTimeoutId)

  at ChildProcess.<anonymous> (lib/next-modes/next-dev.ts:94:27)

@mischnic mischnic force-pushed the mischnic/server-external-packages-jsonc branch from 4a6f07b to 355d7da Compare November 18, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

created-by: Turbopack team PRs by the Turbopack team. Documentation Related to Next.js' official documentation. Font (next/font) Related to Next.js Font Optimization. Turbopack Related to Turbopack with Next.js. type: next

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants