Skip to content

Fix turbo cache flag: use --force#92796

Merged
mmastrac merged 1 commit into
canaryfrom
mmastrac/fix-cache-disable
Apr 14, 2026
Merged

Fix turbo cache flag: use --force#92796
mmastrac merged 1 commit into
canaryfrom
mmastrac/fix-cache-disable

Conversation

@mmastrac
Copy link
Copy Markdown
Contributor

@mmastrac mmastrac commented Apr 14, 2026

Fixes the turbo cache flag from --cache=local (invalid) to --force.

Follow-up to #92792.

@nextjs-bot nextjs-bot added the created-by: Turbopack team PRs by the Turbopack team. label Apr 14, 2026
--force is the idiomatic turbo flag to ignore cached results.
Equivalent to --cache=local:w,remote:w (write-only, skip reads).
@mmastrac mmastrac force-pushed the mmastrac/fix-cache-disable branch from 7c33dc3 to fe7c3a6 Compare April 14, 2026 19:02
@mmastrac mmastrac changed the title Fix turbo cache flag: use --cache=local:rw Fix turbo cache flag: use --force Apr 14, 2026
@lukesandberg
Copy link
Copy Markdown
Contributor

pr description is out of date?

@nextjs-bot
Copy link
Copy Markdown
Contributor

nextjs-bot commented Apr 14, 2026

Failing test suites

Commit: fe7c3a6 | About building and testing Next.js

pnpm test test/integration/create-next-app/biome-config.test.ts (turbopack) (job)

  • create-next-app Biome configuration > should run biome check successfully on generated TypeScript project (DD)
  • create-next-app Biome configuration > should run biome check successfully on generated JavaScript project (DD)
  • create-next-app Biome configuration > should format code with biome successfully (DD)
  • create-next-app Biome configuration > should show errors when biome detects issues (DD)
Expand output

● create-next-app Biome configuration › should run biome check successfully on generated TypeScript project

Command failed with exit code 127 (Unknown system error -127): npm run lint

  72 |
  73 |       // Run biome check on the generated project
> 74 |       const { exitCode: biomeExitCode, stdout } = await execa(
     |                                                   ^
  75 |         'npm',
  76 |         ['run', 'lint'],
  77 |         {

  at makeError (../node_modules/.pnpm/execa@2.0.3/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/execa@2.0.3/node_modules/execa/index.js:112:26)
  at integration/create-next-app/biome-config.test.ts:74:51
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/biome-config.test.ts:51:5)

● create-next-app Biome configuration › should run biome check successfully on generated JavaScript project

Command failed with exit code 127 (Unknown system error -127): npm run lint

  109 |
  110 |       // Run biome check on the generated project
> 111 |       const { exitCode: biomeExitCode, stdout } = await execa(
      |                                                   ^
  112 |         'npm',
  113 |         ['run', 'lint'],
  114 |         {

  at makeError (../node_modules/.pnpm/execa@2.0.3/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/execa@2.0.3/node_modules/execa/index.js:112:26)
  at integration/create-next-app/biome-config.test.ts:111:51
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/biome-config.test.ts:88:5)

● create-next-app Biome configuration › should format code with biome successfully

Command failed with exit code 127 (Unknown system error -127): npm run format

  146 |
  147 |       // Run biome format on the generated project
> 148 |       const { exitCode: biomeFormatCode, stdout } = await execa(
      |                                                     ^
  149 |         'npm',
  150 |         ['run', 'format'],
  151 |         {

  at makeError (../node_modules/.pnpm/execa@2.0.3/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/execa@2.0.3/node_modules/execa/index.js:112:26)
  at integration/create-next-app/biome-config.test.ts:148:53
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/biome-config.test.ts:125:5)

● create-next-app Biome configuration › should show errors when biome detects issues

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

Expected: 1
Received: 127

  212 |       } catch (error) {
  213 |         // The command should fail with exit code 1
> 214 |         expect(error.exitCode).toBe(1)
      |                                ^
  215 |         expect(error.stdout + error.stderr).toContain('problematic.tsx')
  216 |         // Check for specific error messages
  217 |         const output = error.stdout + error.stderr

  at toBe (integration/create-next-app/biome-config.test.ts:214:32)
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/biome-config.test.ts:162:5)

pnpm test test/integration/create-next-app/templates/app-api.test.ts (turbopack) (job)

  • create-next-app with package manager pnpm > should use pnpm for --use-pnpm flag (DD)
  • create-next-app with package manager pnpm > should use pnpm when user-agent is pnpm (DD)
Expand output

● create-next-app with package manager pnpm › should use pnpm for --use-pnpm flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at integration/create-next-app/package-manager/pnpm.test.ts:51:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/package-manager/pnpm.test.ts:29:5)

● create-next-app with package manager pnpm › should use pnpm when user-agent is pnpm

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at integration/create-next-app/package-manager/pnpm.test.ts:82:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/package-manager/pnpm.test.ts:60:5)

pnpm test test/integration/create-next-app/templates/app.test.ts (turbopack) (job)

  • create-next-app --app (App Router) > should create JavaScript project with --js flag (DD)
  • create-next-app --app (App Router) > should create TypeScript project with --ts flag (DD)
  • create-next-app --app (App Router) > should create project inside "src" directory with --src-dir flag (DD)
  • create-next-app --app (App Router) > should create TailwindCSS project with --tailwind flag (DD)
  • create-next-app --app (App Router) > should create an empty project with --empty flag (DD)
  • create-next-app --app (App Router) > should create an empty TailwindCSS project with --empty flag (DD)
Expand output

● create-next-app --app (App Router) › should create JavaScript project with --js flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/app.test.ts:47:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/app.test.ts:25:5)

● create-next-app --app (App Router) › should create TypeScript project with --ts flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/app.test.ts:78:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/app.test.ts:56:5)

● create-next-app --app (App Router) › should create project inside "src" directory with --src-dir flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/app.test.ts:108:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/app.test.ts:85:5)

● create-next-app --app (App Router) › should create TailwindCSS project with --tailwind flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/app.test.ts:145:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/app.test.ts:123:5)

● create-next-app --app (App Router) › should create an empty project with --empty flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/app.test.ts:184:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/app.test.ts:160:5)

● create-next-app --app (App Router) › should create an empty TailwindCSS project with --empty flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/app.test.ts:224:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/app.test.ts:200:5)

pnpm test test/integration/create-next-app/package-manager/npm.test.ts (turbopack) (job)

  • create-next-app with package manager npm > should use npm for --use-npm flag (DD)
  • create-next-app with package manager npm > should use npm when user-agent is npm (DD)
Expand output

● create-next-app with package manager npm › should use npm for --use-npm flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at integration/create-next-app/package-manager/npm.test.ts:50:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/package-manager/npm.test.ts:28:5)

● create-next-app with package manager npm › should use npm when user-agent is npm

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at integration/create-next-app/package-manager/npm.test.ts:81:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/package-manager/npm.test.ts:59:5)

pnpm test test/integration/create-next-app/package-manager/bun.test.ts (turbopack) (job)

  • create-next-app with package manager bun > should use bun for --use-bun flag (DD)
  • create-next-app with package manager bun > should use bun when user-agent is bun (DD)
Expand output

● create-next-app with package manager bun › should use bun for --use-bun flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at integration/create-next-app/package-manager/bun.test.ts:61:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/package-manager/bun.test.ts:39:5)

● create-next-app with package manager bun › should use bun when user-agent is bun

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at integration/create-next-app/package-manager/bun.test.ts:92:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/package-manager/bun.test.ts:70:5)

pnpm test test/integration/create-next-app/templates/pages.test.ts (turbopack) (job)

  • create-next-app --no-app (Pages Router) > should create JavaScript project with --js flag (DD)
  • create-next-app --no-app (Pages Router) > should create TypeScript project with --ts flag (DD)
  • create-next-app --no-app (Pages Router) > should create project inside "src" directory with --src-dir flag (DD)
  • create-next-app --no-app (Pages Router) > should create TailwindCSS project with --tailwind flag (DD)
  • create-next-app --no-app (Pages Router) > should create an empty project with --empty flag (DD)
  • create-next-app --no-app (Pages Router) > should create an empty TailwindCSS project with --empty flag (DD)
Expand output

● create-next-app --no-app (Pages Router) › should create JavaScript project with --js flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/pages.test.ts:46:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/pages.test.ts:25:5)

● create-next-app --no-app (Pages Router) › should create TypeScript project with --ts flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/pages.test.ts:82:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/pages.test.ts:61:5)

● create-next-app --no-app (Pages Router) › should create project inside "src" directory with --src-dir flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/pages.test.ts:115:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/pages.test.ts:94:5)

● create-next-app --no-app (Pages Router) › should create TailwindCSS project with --tailwind flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/pages.test.ts:153:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/pages.test.ts:131:5)

● create-next-app --no-app (Pages Router) › should create an empty project with --empty flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/pages.test.ts:193:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/pages.test.ts:169:5)

● create-next-app --no-app (Pages Router) › should create an empty TailwindCSS project with --empty flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/templates/pages.test.ts:234:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/templates/pages.test.ts:210:5)

pnpm test test/integration/create-next-app/examples.test.ts (turbopack) (job)

  • create-next-app --example > should fall back to default template if failed to download (DD)
  • create-next-app --example > should create if --example value is default (DD)
Expand output

● create-next-app --example › should fall back to default template if failed to download

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/examples.test.ts:219:32
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/examples.test.ts:196:7)

● create-next-app --example › should create if --example value is default

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at projectFilesShouldExist (integration/create-next-app/lib/utils.ts:138:3)
  at integration/create-next-app/examples.test.ts:254:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/examples.test.ts:230:5)

pnpm test-dev test/e2e/app-dir/pnpm-workspace-root/pnpm-workspace-root.test.ts (job)

  • pnpm-workspace-root > should detect root directory from pnpm-workspace.yaml and allow imports from outside app dir (DD)
  • pnpm-workspace-root > should not have multiple lockfiles warning when pnpm-workspace.yaml is present (DD)
Expand output

● pnpm-workspace-root › should detect root directory from pnpm-workspace.yaml and allow imports from outside app dir

Command failed with exit code 1 (EPERM): pnpm install --strict-peer-dependencies=false --no-frozen-lockfile --config.cacheDir=/tmp --prefer-offline

  23 |   }
  24 |
> 25 |   await execa('pnpm', args, {
     |   ^
  26 |     cwd,
  27 |     stdio: ['ignore', 'inherit', 'inherit'],
  28 |     env: {

  at makeError (../node_modules/.pnpm/execa@2.0.3/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/execa@2.0.3/node_modules/execa/index.js:112:26)
  at installDependencies (lib/create-next-install.js:25:3)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at lib/create-next-install.js:214:9
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:65:10)
  at lib/next-modes/base.ts:326:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextDevInstance.createTestDir (lib/next-modes/base.ts:231:5)
  at NextDevInstance.setup (lib/next-modes/next-dev.ts:17:5)
  at lib/e2e-utils/index.ts:276:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:241:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:331:14)

● pnpm-workspace-root › should not have multiple lockfiles warning when pnpm-workspace.yaml is present

Command failed with exit code 1 (EPERM): pnpm install --strict-peer-dependencies=false --no-frozen-lockfile --config.cacheDir=/tmp --prefer-offline

  23 |   }
  24 |
> 25 |   await execa('pnpm', args, {
     |   ^
  26 |     cwd,
  27 |     stdio: ['ignore', 'inherit', 'inherit'],
  28 |     env: {

  at makeError (../node_modules/.pnpm/execa@2.0.3/node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/.pnpm/execa@2.0.3/node_modules/execa/index.js:112:26)
  at installDependencies (lib/create-next-install.js:25:3)
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at lib/create-next-install.js:214:9
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNextInstall (lib/create-next-install.js:65:10)
  at lib/next-modes/base.ts:326:13
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at NextDevInstance.createTestDir (lib/next-modes/base.ts:231:5)
  at NextDevInstance.setup (lib/next-modes/next-dev.ts:17:5)
  at lib/e2e-utils/index.ts:276:7
  at Span.traceAsyncFn (../packages/next/src/trace/trace.ts:146:14)
  at createNext (lib/e2e-utils/index.ts:241:12)
  at Object.<anonymous> (lib/e2e-utils/index.ts:331:14)

pnpm test test/integration/create-next-app/prompts.test.ts (turbopack) (job)

  • create-next-app prompts > should not prompt user for choice and use defaults if --yes is defined (DD)
  • create-next-app prompts > should use recommended defaults when user selects that option (DD)
Expand output

● create-next-app prompts › should not prompt user for choice and use defaults if --yes is defined

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at ChildProcess.<anonymous> (integration/create-next-app/prompts.test.ts:185:34)

● create-next-app prompts › should not prompt user for choice and use defaults if --yes is defined

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  169 |   })
  170 |
> 171 |   it('should not prompt user for choice and use defaults if --yes is defined', async () => {
      |   ^
  172 |     await useTempDir(async (cwd) => {
  173 |       const projectName = 'yes-we-can'
  174 |       const childProcess = createNextApp(

  at it (integration/create-next-app/prompts.test.ts:171:3)
  at Object.describe (integration/create-next-app/prompts.test.ts:5:1)

● create-next-app prompts › should use recommended defaults when user selects that option

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at ChildProcess.<anonymous> (integration/create-next-app/prompts.test.ts:228:34)

● create-next-app prompts › should use recommended defaults when user selects that option

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  212 |   })
  213 |
> 214 |   it('should use recommended defaults when user selects that option', async () => {
      |   ^
  215 |     await useTempDir(async (cwd) => {
  216 |       const projectName = 'recommended-defaults'
  217 |       const childProcess = createNextApp(

  at it (integration/create-next-app/prompts.test.ts:214:3)
  at Object.describe (integration/create-next-app/prompts.test.ts:5:1)

pnpm test test/integration/create-next-app/templates/matrix.test.ts (turbopack) (job)

  • CNA options matrix - app > --app --js --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --js --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - app > --app --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - app > --app --js --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --js --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - app > --app --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - app > --app --js --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --js --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - app > --app --js --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --js --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - app > --app --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - app > --app --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - app > --app --ts --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --ts --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - app > --app --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - app > --app --ts --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --ts --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - app > --app --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - app > --app --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --js --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --js --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --js --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --js --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --js --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --js --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --js --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --js --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --no-tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind (DD)
  • CNA options matrix - pages > --no-app --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind (DD)
Expand output

● CNA options matrix - app › --app --js --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --js --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --js --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --js --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --js --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --js --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --js --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --js --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - app › --app --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --js --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --import-alias=@acme/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --import-alias=@acme/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --import-alias=@/* --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --import-alias=@/* --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --no-import-alias --eslint --src-dir --react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

● CNA options matrix - pages › --no-app --ts --no-import-alias --eslint --no-src-dir --no-react-compiler --no-agents-md --no-tailwind

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

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7_encoding@0.1.13/node_modules/node-fetch/lib/index.js:1491:11)

pnpm test test/integration/create-next-app/package-manager/pnpm.test.ts (job)

  • create-next-app with package manager pnpm > should use pnpm for --use-pnpm flag (DD)
  • create-next-app with package manager pnpm > should use pnpm when user-agent is pnpm (DD)
Expand output

● create-next-app with package manager pnpm › should use pnpm for --use-pnpm flag

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at integration/create-next-app/package-manager/pnpm.test.ts:51:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/package-manager/pnpm.test.ts:29:5)

● create-next-app with package manager pnpm › should use pnpm when user-agent is pnpm

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

Expected: true
Received: false

  86 |   for (const file of files) {
  87 |     try {
> 88 |       expect(existsSync(resolve(projectRoot, file))).toBe(true)
     |                                                      ^
  89 |     } catch (err) {
  90 |       require('console').error(
  91 |         `missing expected file ${file}`,

  at toBe (integration/create-next-app/lib/utils.ts:88:54)
  at integration/create-next-app/package-manager/pnpm.test.ts:82:30
  at useTempDir (lib/use-temp-dir.ts:24:5)
  at Object.<anonymous> (integration/create-next-app/package-manager/pnpm.test.ts:60:5)

@mmastrac mmastrac merged commit 5db26f9 into canary Apr 14, 2026
146 of 185 checks passed
@mmastrac mmastrac deleted the mmastrac/fix-cache-disable branch April 14, 2026 19:11
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

created-by: Turbopack team PRs by the Turbopack team. locked

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants