Cannot assign to read only property ‘exports’ of object ‘#’解决方案
vue运行报错error:Cannot assign to read only property ‘exports’ of object '#'
用weex做项目的时候,npm start 之后一直报错error:Cannot assign to read only property ‘exports’ of object ‘#’ ,查了好多资料好像是export和import共用了导致不兼容引起的
试了好多方法都不行,最后找到个办法,试了一下可以用,特此记录:
npm install babel-plug
转载
2020-05-29 10:03:42 ·
1162 阅读 ·
0 评论