GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Global runtimeOnFail configuration fails with pnpm 12.11.2 · Issue #3071 · voidzero-dev/vite-plus

Global runtimeOnFail configuration fails with pnpm 12.11.2 #3071

New issue
Copy link
New issue
Copy link
Closed
#3077
Closed
Global runtimeOnFail configuration fails with pnpm 12.11.2#3071
#3077
Copy link
Assignees
liangmiQwQ
Labels
documentationImprovements or additions to documentation

Description

@314systems
314systems
opened on Oct 15, 2026
Issue body actions

Documentation is

  • Missing
  • Outdated
  • Confusing
  • Not sure

Explain in Detail

Description

The Vite+ Environment documentation recommends the following command to disable pnpm's automatic runtime management globally:

pnpm config set --global runtimeOnFail ignore

However, pnpm rejects this command because runtimeOnFail is not supported in the global config.yaml file.

Error: ERR_PNPM_CONFIG_SET_UNSUPPORTED_YAML_CONFIG_KEY

  × The key "runtimeOnFail" isn't supported by the global config.yaml file
  help: Try setting them instead to the local pnpm-workspace.yaml file

Expected behavior

The documentation should recommend a configuration method supported by pnpm, or clarify which pnpm versions support the global setting.

References

  • Vite+ Environment documentation
  • pnpm CLI & Node.js Settings
  • docs: clarify pnpm runtime management conflicts #2620
  • Inject PNPM_CONFIG_RUNTIME=false when vp env is managed #2468

Additional notes

  • Verified pnpm version: 12.11.2. The error above was observed when running the documented command with this version.
  • AI disclosure: This issue was authored by ChatGPT based on the reporter's findings and instructions.

Your Suggestion for Changes

Replace the unsupported global configuration command with the project-level configuration supported by pnpm:

pnpm config set --location=project runtimeOnFail ignore

Alternatively, document the equivalent configuration in pnpm-workspace.yaml:

runtimeOnFail: ignore

According to the pnpm config documentation, --location=global writes to the global config.yaml, whereas --location=project writes to the project's pnpm-workspace.yaml.

Since runtimeOnFail cannot be set in the global config.yaml in pnpm 12.11.2, the documentation should not recommend the global command without specifying a compatible version or a verified alternative.

Additionally, replace the outdated reference to managePackageManagerVersions with pmOnFail for pnpm 11+.

Relevant Page

No response

Reproduction (Optional)

No response

Steps to reproduce (Optional)

No response

Activity

  1. 314systems
    added
    documentationImprovements or additions to documentation
    on Oct 15, 2026
  2. liangmiQwQ
    self-assigned this
    on Oct 15, 2026
  3. liangmiQwQ commented on Oct 15, 2026

    @liangmiQwQ
    liangmiQwQ
    on Oct 15, 2026
    Collaborator
    More actions

    Thank you! I'll fix it in #3077

    Reacted by JongKyung Lee
  4. fengmk2
    closed this as completedin #3077on Oct 16, 2026
  5. jong-kyung
    added a commit that references this issue on Oct 16, 2026

    docs(env): recommend project-level pnpm management settings (voidzero…

    This issue will close once commit b7b7175 is merged into the 'main' branch.
    b7b7175
  6. fengmk2
    added 2 commits that reference this issue on Nov 16, 2026

    chore(deps): update rust crates (#3460)

    acfb16e

    chore(deps): update rust crates (#3541)

    ba6aefb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @liangmiQwQ
    liangmiQwQ

Labels

documentationImprovements or additions to documentation

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.