Skip to content

The dedupe command hangs after upgrade to 9.7.1 from 8.15.9 #8446

Description

@lfloyd117

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

9.7.1

Which area(s) of pnpm are affected? (leave empty if unsure)

Lockfile

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

Run pnpm dedupe

Describe the Bug

I upgraded my PNPM version from 8.15.9 to 9.7.1 and ran pnpm install in our monorepo root folder to update the lockfile to the new lockfile format. That worked without issue and subsequent pnpm install commands work.

However running pnpm dedupe hangs. It starts to show progress, then hits:

Progress: resolved 2742, reused 1239, downloaded 1473, added 0

and just hangs there. I have left it as long as 30 minutes to no change. I have tried removing all node_modules folders in the repo, as well as pruning the cache via rm -rfing the store path, yet the issue continues.

Expected Behavior

That pnpm dedupe does not hang and the process exits successfully

Which Node.js version are you using?

18.19.1

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

Ubuntu (via WSL)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions