問題:html
項目能夠啓動沒有問題,訪問頁面白頁加載不到東西npm
BaseClient.js:23 Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'babel
解決辦法:spa
sudo cnpm install babel-plugin-transform-runtime --save
# 在.babelrc文件里加入代碼: [ "transform-runtime", { "helpers": false, "polyfill": false, "regenerator": true, "moduleName": "babel-runtime" } ]
完美解決code