vue 报错 Uncaught TypeError: Cannot assign to read only property ‘exports‘ of object ‘#<Object>‘

Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'     at Module...... 原因:webpack版本过高,通常出现在拉了别人的代码跑不起来的情况, 解决办法: 1.删除node_moudules,安装指定版本的webpack 2.根目录找到.babelrc文件
相关文章
相关标签/搜索