vite: Won't run on Windows in folder 'drag&drop'

Describe the bug

Vite won’t run on Win10 in the folder with the name drag&drop (both dev/build) Probably since Vite 1.x - https://github.com/vitejs/vite/issues/582

Logs

2021-03-17_221633

Translation: "drop\node_modules.bin" - is not internal or external command, executable program, or batch file.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

It seems that the issue only occurs on npm, and does not occur on yarn nor pnpm, though the latter outputs some strange warnings.

Yeah, was doing the same testing. Projects created with yarn work fine. (npm run dev, yarn dev both work) Projects created with npm won’t run on both npm/yarn.

It seems that the issue only occurs on npm, and does not occur on yarn nor pnpm, though the latter outputs some strange warnings.