Skip to content

Jfrog cli hangs indefinitely on pnpm install when there are configDependencies #3476

@eblocha

Description

@eblocha

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions