这是indexloc提供的服务,不要输入任何密码
Skip to content

Leading ./ on pnpm-workspaces.yaml causes deployment to be failed on vercel CI/CD #10944

@nivekithan

Description

@nivekithan

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

https://github.com/teamEPYC/vercel-turborepo-react-router-package-configuration

Which canary version will you have in your reproduction?

2.5.9-canary.5

Environment information

This happens on vercel CI/CD environment

Expected behavior

Deployment to be successful

Actual behavior

Unable to deploy due to the error

To Reproduce

The main branch in https://github.com/teamEPYC/vercel-turborepo-react-router-package-configuration get's deployed successfully

packages:
  - apps/**
  - packages/**

onlyBuiltDependencies:
  - "@tailwindcss/oxide"
  - esbuild
  - protobufjs
  - supabase

whereas bug branch in https://github.com/teamEPYC/vercel-turborepo-react-router-package-configuration/tree/bug is not getting deployed because it's configuration is

packages:
  - ./apps/**
  - ./packages/**

onlyBuiltDependencies:
  - "@tailwindcss/oxide"
  - esbuild
  - protobufjs
  - supabase

You can verify only this is the difference by checking the diff between bug and main branch

https://github.com/teamEPYC/vercel-turborepo-react-router-package-configuration/pull/1/files

Additional context

The log for failing deployment

12:02:23.118 Running build in Washington, D.C., USA (East) – iad1
12:02:23.119 Build machine configuration: 4 cores, 8 GB
12:02:23.133 Cloning github.com/teamEPYC/vercel-turborepo-react-router-package-configuration (Branch: bug, Commit: 6e8f23b)
12:02:23.139 VERCEL_FORCE_NO_BUILD_CACHE is set so skipping build cache step
12:02:23.402 Cloning completed: 268.000ms
12:02:26.490 Running "vercel build"
12:02:26.925 Vercel CLI 48.2.4
12:02:27.063 Detected OpenTelemetry dependency: @opentelemetry/sdk-trace-node@2.1.0, which meets the minimum version requirement of 1.19.0
12:02:27.084 > Detected Turbo. Adjusting default settings...
12:02:27.598 Detected `pnpm-lock.yaml` version 9 generated by pnpm@10.x with package.json#packageManager pnpm@10.17.0
12:02:27.598 Running "install" command: `pnpm install`...
12:02:29.756 Scope: all 3 workspace projects
12:02:29.890 ../..                                    | Progress: resolved 1, reused 0, downloaded 0, added 0
12:02:29.979 ../..                                    | +501 ++++++++++++++++++++++++++++++++
12:02:30.891 ../..                                    | Progress: resolved 501, reused 0, downloaded 120, added 49
12:02:31.892 ../..                                    | Progress: resolved 501, reused 0, downloaded 282, added 124
12:02:32.891 ../..                                    | Progress: resolved 501, reused 0, downloaded 493, added 238
12:02:33.732 ../..                                    | Progress: resolved 501, reused 0, downloaded 501, added 501, done
12:02:33.826  WARN  Failed to create bin at /vercel/path0/node_modules/.pnpm/node_modules/.bin/supabase. ENOENT: no such file or directory, open '/vercel/path0/node_modules/.pnpm/node_modules/supabase/bin/supabase'
12:02:33.964  WARN  Failed to create bin at /vercel/path0/node_modules/.pnpm/supabase@2.48.3/node_modules/supabase/node_modules/.bin/supabase. ENOENT: no such file or directory, open '/vercel/path0/node_modules/.pnpm/supabase@2.48.3/node_modules/supabase/bin/supabase'
12:02:33.965 .../node_modules/protobufjs postinstall$ node scripts/postinstall
12:02:33.966 .../node_modules/@tailwindcss/oxide postinstall$ node ./scripts/install.js
12:02:33.984 .../node_modules/supabase postinstall$ node scripts/postinstall.js
12:02:33.999 .../esbuild@0.25.10/node_modules/esbuild postinstall$ node install.js
12:02:34.003 .../esbuild@0.14.47/node_modules/esbuild postinstall$ node install.js
12:02:34.033 .../node_modules/protobufjs postinstall: Done
12:02:34.142 .../esbuild@0.14.47/node_modules/esbuild postinstall: Done
12:02:34.150 .../esbuild@0.25.10/node_modules/esbuild postinstall: Done
12:02:34.159 .../node_modules/@tailwindcss/oxide postinstall: Done
12:02:34.235 .../node_modules/supabase postinstall: Downloading https://github.com/supabase/cli/releases/download/v2.48.3/supabase_2.48.3_checksums.txt
12:02:34.288 .../node_modules/supabase postinstall: Downloading https://github.com/supabase/cli/releases/download/v2.48.3/supabase_linux_amd64.tar.gz
12:02:34.738 .../node_modules/supabase postinstall: Checksum verified.
12:02:34.741 .../node_modules/supabase postinstall: Installed Supabase CLI successfully
12:02:34.747 .../node_modules/supabase postinstall: Done
12:02:35.420 
12:02:35.420 dependencies:
12:02:35.420 + @langfuse/client 4.2.0
12:02:35.420 + @langfuse/otel 4.2.0
12:02:35.420 + @langfuse/tracing 4.2.0
12:02:35.420 + @opentelemetry/api 1.9.0
12:02:35.420 + @opentelemetry/sdk-trace-node 2.1.0
12:02:35.420 + @react-router/node 7.9.3
12:02:35.421 + @react-router/serve 7.9.3
12:02:35.421 + @vercel/functions 3.1.2
12:02:35.421 + isbot 5.1.31
12:02:35.421 + react 19.2.0
12:02:35.421 + react-dom 19.2.0
12:02:35.421 + react-router 7.9.3
12:02:35.421 + shared 1.0.0 <- ../../packages/shared
12:02:35.421 
12:02:35.421 devDependencies:
12:02:35.421 + @react-router/dev 7.9.3
12:02:35.421 + @tailwindcss/vite 4.1.14
12:02:35.421 + @types/node 22.18.8
12:02:35.421 + @types/react 19.2.2
12:02:35.421 + @types/react-dom 19.2.1
12:02:35.421 + @vercel/react-router 1.2.3
12:02:35.422 + supabase 2.48.3
12:02:35.422 + tailwindcss 4.1.14
12:02:35.422 + typescript 5.9.3
12:02:35.422 + vite 7.1.9
12:02:35.422 + vite-tsconfig-paths 5.1.4
12:02:35.422 
12:02:35.865 Done in 6.5s using pnpm v10.17.0
12:02:35.984  WARNING  No locally installed `turbo` found in your repository. Using globally installed version (2.5.8). Using a specified version in your repository will result in more predictable behavior.
12:02:35.992 
12:02:35.992 Attention:
12:02:35.992 Turborepo now collects completely anonymous telemetry regarding usage.
12:02:35.992 This information is used to shape the Turborepo roadmap and prioritize features.
12:02:35.993 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
12:02:35.993 https://turborepo.com/docs/telemetry
12:02:35.993 
12:02:35.996 turbo_json_parse_error
12:02:35.996 
12:02:35.996   x Failed to parse turbo.json.
12:02:35.997   `->   x Found an unknown key `extends`.
12:02:35.997          ,-[turbo.json:3:3]
12:02:35.997        2 |   "$schema": "https://turbo.build/schema.json",
12:02:35.997        3 |   "extends": ["//"],
12:02:35.997          :   ^^^^^^^^^
12:02:35.997        4 |   "tasks": {
12:02:35.997          `----
12:02:35.997 
12:02:36.004 Error: Command "turbo run build" exited with 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions