美文网首页
Could not freeze .file name..: C

Could not freeze .file name..: C

作者: ToddLee | 来源:发表于2019-01-08 20:21 被阅读0次

之前用了nvm 和本地的 node 有点冲突,后来卸载了自带的 node,全部用 nvm,其他也正常,但是突然间 ant d pro 出现了一堆神奇的控制台报错,每一句都这样,只是文件名会换换:
Could not freeze ...: Cannot read property 'hash' of undefined
说实话没搞懂,搜了一圈没明白,最后还是这个链接搞定的:

https://github.com/mzgoddard/hard-source-webpack-plugin/issues/416

最靠谱的就是删掉目录下:
node_modules/.cache/hard-source 这个目录
删了之后就好了.还是什么缓存导致的错误.

相关文章

网友评论

      本文标题:Could not freeze .file name..: C

      本文链接:https://www.haomeiwen.com/subject/nbobrqtx.html