Describe the bug
Hello team,
I've created a latest vue project using below command,
npm init vue@latest
and project was created, in the latest code vite version installed as
"vite": "^2.9.5".
I tried all the versions from 2.9.0 to 2.9.6, but didn't worked. When run the below command,
npm run dev
I'm getting bellow error,

I tried all the below versions. I got the same above error,

But when I build the application it is working fine. like,
npm run build
Finally I downgraded the vite version to ("vite": "2.8.6"), the app is working properly like,

Reproduction
https://github.com/sadashivm/vue3-latest
System Info
OS - Windows 10,
Node - v16.14.2
npm - 8.7.2
Used Package Manager
npm
Logs
12:58:28 pm [vite] error while updating dependencies:
Error: EPERM: operation not permitted, rename 'D:/Vue/vue3-latest/node_modules/.vite/processing' -> 'D:/Vue/vue3-latest/node_modules/.vite/deps'
at Object.renameSync (node:fs:980:3)
at commitProcessingDepsCacheSync (D:\Vue\vue3-latest\node_modules\vite\dist\node\chunks\dep-8db0e223.js:37269:21)
at Object.commit (D:\Vue\vue3-latest\node_modules\vite\dist\node\chunks\dep-8db0e223.js:37261:13)
at commitProcessing (D:\Vue\vue3-latest\node_modules\vite\dist\node\chunks\dep-8db0e223.js:58587:34)
at runOptimizer (D:\Vue\vue3-latest\node_modules\vite\dist\node\chunks\dep-8db0e223.js:58625:17)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Validations
Describe the bug
Hello team,
I've created a latest vue project using below command,
npm init vue@latestand project was created, in the latest code vite version installed as
"vite": "^2.9.5".
I tried all the versions from 2.9.0 to 2.9.6, but didn't worked. When run the below command,
npm run devI'm getting bellow error,
I tried all the below versions. I got the same above error,
But when I build the application it is working fine. like,
npm run buildFinally I downgraded the vite version to ("vite": "2.8.6"), the app is working properly like,
Reproduction
https://github.com/sadashivm/vue3-latest
System Info
Used Package Manager
npm
Logs
Validations