-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Closed
Labels
Description
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.2Used 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
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.


