Parcel.js。错误EPERM:不允许操作,请重命名缓存

时间:2020-04-23 07:08:01

标签: javascript build parcel

我正在使用Parcel.js。当我尝试运行Parcel并通过yarn parcel ./src/index.html构建项目时 关于包裹缓存发生EPERM错误。

错误

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

操作系统:Windows 10
执行ENV :Bash终端/ VSCode终端

有人可以给我一些建议吗? 感谢您的帮助。

P.S。另外,我不明白为什么项目路径等如此奇怪,没有任何分隔符。这是包裹专用的吗?

1 个答案:

答案 0 :(得分:0)

我刚刚解决了,我卸载parcel,npm卸载pacel,然后重新安装,npm installparcel-bundler --save-dev