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文件
相關文章
相關標籤/搜索