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 — Using 'loadEnv' in 'vite. config. ts' will result in errors when running' vp lint 'and' vp fmt ' · Issue #1150 · voidzero-dev/vite-plus

Using 'loadEnv' in 'vite. config. ts' will result in errors when running' vp lint 'and' vp fmt ' #1150

New issue
Copy link
New issue
Copy link
Closed as duplicate
Bug
Closed as duplicate
Using 'loadEnv' in 'vite. config. ts' will result in errors when running' vp lint 'and' vp fmt '#1150
Bug
Copy link
Labels
pending triage

Description

@ywenhao
ywenhao
opened on Mar 26, 2026
Issue body actions

Describe the bug

Image Image

Reproduction

https://github.com/ywenhao/loadEnv-error-demo

Steps to reproduce

vp lint

vp fmt

System Info

Environment:
  Version       24.14.1
  Source        engines.node
  Source Path   /home/actions/code/loadEnv-error-demo/package.json
  Project Root  /home/actions/code/loadEnv-error-demo

Tool Paths:
  node  /home/actions/.vite-plus/js_runtime/node/24.14.1/bin/node
  npm   /home/actions/.vite-plus/js_runtime/node/24.14.1/bin/npm
  npx   /home/actions/.vite-plus/js_runtime/node/24.14.1/bin/npx




vp v0.1.14

Local vite-plus:
  vite-plus  v0.1.14

Tools:
  vite             v8.0.2
  rolldown         v1.0.0-rc.11
  vitest           v4.1.1
  oxfmt            v0.42.0
  oxlint           v1.57.0
  oxlint-tsgolint  v0.17.3
  tsdown           v0.21.4

Environment:
  Package manager  pnpm v10.33.0
  Node.js          v24.14.1 (engines.node)

Used Package Manager

pnpm

Logs

Validations

  • Read the Contributing Guidelines.
  • Check that there isn't already an issue for the same bug.
  • Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
  • The provided reproduction is a minimal reproducible example.

Activity

  1. ywenhao
    added
    pending triage
    on Mar 26, 2026
  2. ywenhao
    added the
    Bug
    issue type on Mar 26, 2026
  3. fengmk2
    assigned
    Boshen
    on Mar 26, 2026
  4. fengmk2
    closed this as a duplicateof lint,fmt: Known vite.config.ts releated issues #930 on Mar 26, 2026
  5. claude commented on Mar 26, 2026

    @claude
    claudeBot
    on Mar 26, 2026 – with Claude · Hidden as resolved
    show commentMore actions
  6. github-actions
    unassigned
    Boshen
    on Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending triage

    Type

    Bug

    Fields

    Priority

    None yet

    Effort

    None yet

    Target date

    None yet

    Start date

    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.