Skip to content

Vite 2.1.0 dev server regression: Internal server error with blanks in paths #2524

@gunters63

Description

@gunters63

Describe the bug

I upgraded my project to Vite 2.1.0. The next time I started the dev server, it failed with internal error:

08:53:26 [vite] Internal server error: ENOENT: no such file or directory, open 'd:\proj\AtlasCopco\EnsoUi\src\screens\legacy\metering_unit\Purge%20Meter1.tsx'

Reproduction

Should be easy, just put some blanks in file names or directories of unbundled dependencies.

System Info

  • vite version: 2.1.0
  • Operating System: Windows 10
  • Node version: 14.16
  • Package manager (npm/yarn/pnpm) and version: pnpm 5.18.7

Logs (Optional if provided reproduction)

  1. Run vite or vite build with the --debug flag.
  2. Provide the error log here.
    log.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions