启动vue项目和热加载报错导致启动速度很慢,Could not freeze “xxx” Cannot read property ‘hash’ of undefined 问题 启动vue项目时,控制台报错信息如下: [hardsource:xxx] Could not freeze xxx: Cannot read property ‘hash’ of undefined 解决办法 webpack运行时会基于hash生成cache,问题可能发生在cache生成上,删除node_modules下的 .cache 文件夹后重新启动项目(如:npm run serve)能解决这个问题