Skip to content

ERR_PNPM_NO_OFFLINE_META when using pnpm deploy --offline #5315

@fapspirit

Description

@fapspirit

After fresh install of dependencies with pnpm install, pnpm deploy --offline --prod fails with ERR_PNPM_NO_OFFLINE_META error.

pnpm version:

7.11.0

Code to reproduce the issue:

Repo with setup for reproduction: https://github.com/fapspirit/pnpm-deploy-offline-error

Expected behavior:

pnpm creates folder with all the dependencies from local store.

Actual behavior:

fails with ERR_PNPM_NO_OFFLINE_META error.

Additional information:

  • node -v prints: v16.15.1
  • Windows, macOS, or Linux?: macOS/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions