Skip to content

Conversation

435012357
Copy link

Description

Fix issue where rmSync fails to remove files and folders with Chinese names when using create-vite on Node.js 24.

Changes

  • Replace fs.rmSync() with fsp.rm() promise variant
  • Ensure proper handling of Unicode file names

Fixes #20724

@435012357 435012357 closed this Sep 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create-vite [email protected] 已经存在对应目录的时候如果里面包含中文文件和文件夹使用fs.rmsync 会删除不掉
1 participant