Search code examples
javascriptbuildparceljs

Parcel.js. Error EPERM: operation not permitted, rename Cache


I'm using Parcel.js. When I'm trying to run Parcel and build my project via yarn parcel ./src/index.html the EPERM error happens regarding parcel cache.

The error

Error: EPERM: operation not permitted, rename 
'E:webproject-landing.parcel-cache65ca36a4b4620013e0950eda4009b3b2.blob.22060.1.6'
 -> 'E:webproject-landing.parcel-cache65ca36a4b4620013e0950eda4009b3b2.blob'

OS: Windows 10
Execution ENV: Bash terminal/VSCode terminal

Could someone, please, give to me some advice? Thanks for any help.

P.S. Also, I don't understand why the Path of the project, etc. is so strange, without any separators. Is this the Parcel specific?


Solution

  • I just solved it, I uninstall parcel, npm uninstall pacel, then installed it again, npm install parcel-bundler --save-dev