Skip to content

env variables not replaced to value when install deps #5604

Closed
@DudaGod

Description

@DudaGod

pnpm version: 7.14.2

Code to reproduce the issue:

https://github.com/DudaGod/pnpm-env-issue

Expected behavior:

Env variables replaced to value when run pnpm i with shared-workspace-lockfile = false and created pnpm-workspace.yaml but it doesn't happen.

Actual behavior:

Env variables doesn't replaced and store dir or virtual store dir created with a path containing env variable name. Example - ${HOME}/foo/pnpm-store.

Additional information:

  • node -v prints: 16.16.0
  • Windows, macOS, or Linux?: tested on macOS and Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions