-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to the run vue app with vite version 2.9.0 and above #5823
Comments
Hello @yxw007 node version - v16.14.2 I aslo tried removing the node_modules folder and package-lock.json file. Still I'm getting the same issue |
Error: EPERM: operation not permitted, Follow this tip to check your project directory permissions |
Version
3.2.33
Reproduction link
github.com
Steps to reproduce
npm run dev
What is expected?
App should work
What is actually happening?
Getting an bellow error,
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)
Please check the issue in above link (vue3-latest).
I tried all the vite versions from 2.9.0 to 2.9.6, it's thorwing an error. But build is happen successfully (npm run build).
Finally I downgraded the vite version to ("vite": "2.8.6"), the app is working properly,
I'm getting below error when vite version 2.9.0 and above,
After downgrading vite version to 2.8.6,
The text was updated successfully, but these errors were encountered: