Skip to content

v11 - unable to install tarball package #11407

@kaidjohnson

Description

@kaidjohnson

Verify latest release

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

pnpm version

11.0.1

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

No response

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

https://github.com/kaidjohnson/pnpm11-bug/tree/pnpm%4011

Reproduction steps

Steps to Reproduce

  1. pnpm i --frozen-lockfile

Describe the Bug

When attempting to install from a lockfile that points to a file:./package.tgz, the resolver appears to attempt to find that package on the registry rather than using the local file tarball as instructed. This functionality worked in pnpm@10, but has regressed in pnpm@11

Expected Behavior

  • The installation should succeed without any errors.

Actual

  • The installation fails with the following error:
ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/test-package/-/test-package-1.0.0.tgz: Not Found - 404

Note: This error is not reproducible using the pnpm@10 branch https://github.com/kaidjohnson/pnpm11-bug/tree/pnpm%4010

Which Node.js version are you using?

24.14.0

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)

Debian

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions