Jfrog cli hangs indefinitely on pnpm install when there are configDependencies
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 595
- Forks
- 307
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 17
Description
Describe the bug
When a pnpm-workspace.yaml contains configDependencies, running jf pnpm i with no node_modules will hang indefinitely.
Current behavior
$ JFROG_CLI_LOG_LEVEL="DEBUG" jf pnpm i --frozen-lockfile
16:18:47 [Debug] JFrog CLI version: 2.103.0
16:18:47 [Debug] OS/Arch: darwin/arm64
16:18:47 [Debug] Trace ID for JFrog Platform logs: 7b1af9d9dcb35475
The command hangs at this step. Running pnpm i on its own installs normally.
Reproduction steps
Create a repo using pnpm, add a config dependency. For example:
pnpm add --config @pnpm/plugin-better-defaults
# refresh lockfile
pnpm i
# remove installed deps
rm -r node_modules
Then install dependencies:
jf pnpm i
Expected behavior
jf pnpm i should complete normally.
JFrog CLI version
2.103.0
Operating system type and version
Darwin Kernel Version 23.6.0
JFrog Artifactory version
No response
JFrog Xray version
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the hang with a pnpm-workspace.yaml containing configDependencies by removing node_modules and running jf pnpm i --frozen-lockfile. Start by tracing the JFrog CLI pnpm command entry point and how it invokes pnpm. Done means the command completes normally in this reproduction without hanging, with coverage for the reported case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, node.js
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100