-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
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/dBianchii/turbo-ignore-pnpm-catalog-issue
Which canary version will you have in your reproduction?
2.4.3-canary.4
Enviroment information
CLI:
Version: 2.4.3-canary.4
Path to executable: /Users/gabrielbianchi/Documents/Github/turbo-ignore-pnpm-catalog-issue/node_modules/.pnpm/turbo-darwin-arm64@2.4.3-canary.4/node_modules/turbo-darwin-arm64/bin/turbo
Daemon status: Not running
Package manager: pnpm9
Platform:
Architecture: aarch64
Operating system: macos
WSL: false
Available memory (MB): 10303
Available CPU cores: 12
Environment:
CI: None
Terminal (TERM): xterm-256color
Terminal program (TERM_PROGRAM): vscode
Terminal program version (TERM_PROGRAM_VERSION): 1.97.2
Shell (SHELL): /bin/zsh
stdin: false
Expected behavior
It should not error when I run pnpx turbo-ignore
, npx turbo-ignore
, or pnpm turbo-ignore` while having a catalog: setting for my turbo package in my turborepo repository.
Actual behavior
When I run turbo-ignore from any package, I get this:
➜ turbo-ignore-pnpm-catalog-issue git:(main) ✗ pnpx turbo-ignore
≫ Using Turborepo to determine if this project is affected by the commit...
≫ Inferred "turbo-ignore-pnpm-catalog-issue" as workspace from "package.json"
≫ Inferred turbo version "catalog:" from "package.json"
≫ Using "build" as the task from the arguments
≫ Analyzing results of `npx -y turbo@catalog: run "build" --filter="turbo-ignore-pnpm-catalog-issue...[HEAD^]" --dry=json`
≫ UNKNOWN_ERROR: Command failed: npx -y turbo@catalog: run "build" --filter="turbo-ignore-pnpm-catalog-issue...[HEAD^]" --dry=json
npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "catalog:": catalog:
npm error A complete log of this run can be found in: /Users/gabrielbianchi/.npm/_logs/2025-02-26T19_10_48_563Z-debug-0.log
✓ Proceeding with deployment
➜ turbo-ignore-pnpm-catalog-issue git:(main) ✗
To Reproduce
Clone repo, install deps with pnpm i
, then run either pnpx turbo-ignore
or npx turbo-ignore
.
Additional context
No response
tyleralbee
Metadata
Metadata
Assignees
Labels
No labels