{"action":"created","issue":{"url":"https://api.github.com/repos/dvajs/dva/issues/387","repository_url":"https://api.github.com/repos/dvajs/dva","labels_url":"https://api.github.com/repos/dvajs/dva/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/dvajs/dva/issues/387/comments","events_url":"https://api.github.com/repos/dvajs/dva/issues/387/events","html_url":"https://github.com/dvajs/dva/issues/387","id":194942267,"number":387,"title":"构建失败, 看不出什么问题啊!","user":{"login":"ityao","id":832215,"avatar_url":"https://avatars.githubusercontent.com/u/832215?v=3","gravatar_id":"","url":"https://api.github.com/users/ityao","html_url":"https://github.com/ityao","followers_url":"https://api.github.com/users/ityao/followers","following_url":"https://api.github.com/users/ityao/following{/other_user}","gists_url":"https://api.github.com/users/ityao/gists{/gist_id}","starred_url":"https://api.github.com/users/ityao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ityao/subscriptions","organizations_url":"https://api.github.com/users/ityao/orgs","repos_url":"https://api.github.com/users/ityao/repos","events_url":"https://api.github.com/users/ityao/events{/privacy}","received_events_url":"https://api.github.com/users/ityao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-12T10:45:13Z","updated_at":"2016-12-12T10:59:00Z","closed_at":null,"body":"bogon:admin silver$ npm start\r\n\r\n> @ start /Users/silver/program/grandhope/admin\r\n> dora --plugins \"proxy,webpack,webpack-hmr\"\r\n\r\n          proxy: load rule from proxy.config.js\r\n(node:43886) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'\r\n          proxy: listened on 8989\r\n📦  2/3 build modulesYou are using prebuilt antd,\r\nplease use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.\r\n📦  15/16 build modules\r\nwebpack: bundle build is now finished.\r\nHash: 7c803b01a360be7eb727\r\nVersion: webpack 1.12.15\r\nTime: 1469ms\r\n    Asset     Size  Chunks             Chunk Names\r\ncommon.js  24.3 kB       0  [emitted]  common\r\n index.js  84.2 kB    1, 0  [emitted]  index\r\nchunk    {0} common.js (common) 0 bytes [rendered]\r\nchunk    {1} index.js (index) 78.4 kB {0} [rendered]\r\n    [0] multi index 40 bytes {1} [built] [1 error]\r\n    [1] ./~/.1.2.0@html-entities/lib/html5-entities.js 49 kB {1} [built]\r\n    [2] ./~/.0.0.6@ansi-html/index.js 4.26 kB {1} [built]\r\n    [3] ./~/.0.2.0@querystring/decode.js 2.4 kB {1} [built]\r\n    [4] ./~/.0.2.0@querystring/encode.js 2.09 kB {1} [built]\r\n    [5] ./~/.0.2.0@querystring/index.js 127 bytes {1} [built]\r\n    [6] (webpack)/buildin/module.js 251 bytes {1} [built]\r\n    [7] ./~/.1.2.0@html-entities/index.js 231 bytes {1} [built]\r\n    [8] ./~/.1.2.0@html-entities/lib/html4-entities.js 6.57 kB {1} [built]\r\n    [9] ./~/.1.2.0@html-entities/lib/xml-entities.js 2.98 kB {1} [built]\r\n   [10] ./~/.2.0.0@ansi-regex/index.js 135 bytes {1} [built]\r\n   [11] ./~/.2.13.2@webpack-hot-middleware/client-overlay.js 1.74 kB {1} [built]\r\n   [12] ./~/.2.13.2@webpack-hot-middleware/client.js?path=http%3A%2F%2F127.0.0.1%3A8000%2F__webpack_hmr&reload=true 4.6 kB {1} [built]\r\n   [13] ./~/.2.13.2@webpack-hot-middleware/process-update.js 3.88 kB {1} [built]\r\n   [14] ./~/.3.0.1@strip-ansi/index.js 161 bytes {1} [built]\r\n\r\nERROR in ./src/index.js\r\nModule build failed: TypeError: Plugin 3 specified in \"base\" was expected to return a function but returned \"undefined\"\r\n    at Function.normalisePlugin (/Users/silver/program/grandhope/admin/node_modules/.6.20.0@babel-core/lib/transformation/file/options/option-manager.js:144:15)\r\n    at /Users/silver/program/grandhope/admin/node_modules/.6.20.0@babel-core/lib/transformation/file/options/option-manager.js:180:30\r\n    at Array.map (native)\r\n    at Function.normalisePlugins (/Users/silver/program/grandhope/admin/node_modules/.6.20.0@babel-core/lib/transformation/file/options/option-manager.js:154:20)\r\n    at OptionManager.mergeOptions (/Users/silver/program/grandhope/admin/node_modules/.6.20.0@babel-core/lib/transformation/file/options/option-manager.js:229:36)\r\n    at OptionManager.init (/Users/silver/program/grandhope/admin/node_modules/.6.20.0@babel-core/lib/transformation/file/options/option-manager.js:374:12)\r\n    at File.initOptions (/Users/silver/program/grandhope/admin/node_modules/.6.20.0@babel-core/lib/transformation/file/index.js:216:65)\r\n    at new File (/Users/silver/program/grandhope/admin/node_modules/.6.20.0@babel-core/lib/transformation/file/index.js:139:24)\r\n    at Pipeline.transform (/Users/silver/program/grandhope/admin/node_modules/.6.20.0@babel-core/lib/transformation/pipeline.js:46:16)\r\n    at transpile (/Users/silver/program/grandhope/admin/node_modules/.6.2.9@babel-loader/lib/index.js:41:20)\r\n @ multi index\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dvajs/dva/issues/comments/266399717","html_url":"https://github.com/dvajs/dva/issues/387#issuecomment-266399717","issue_url":"https://api.github.com/repos/dvajs/dva/issues/387","id":266399717,"user":{"login":"ityao","id":832215,"avatar_url":"https://avatars.githubusercontent.com/u/832215?v=3","gravatar_id":"","url":"https://api.github.com/users/ityao","html_url":"https://github.com/ityao","followers_url":"https://api.github.com/users/ityao/followers","following_url":"https://api.github.com/users/ityao/following{/other_user}","gists_url":"https://api.github.com/users/ityao/gists{/gist_id}","starred_url":"https://api.github.com/users/ityao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ityao/subscriptions","organizations_url":"https://api.github.com/users/ityao/orgs","repos_url":"https://api.github.com/users/ityao/repos","events_url":"https://api.github.com/users/ityao/events{/privacy}","received_events_url":"https://api.github.com/users/ityao/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T10:58:59Z","updated_at":"2016-12-12T10:58:59Z","body":"把webpack.config.js里面的\r\n//webpackConfig.babel.plugins.push(['antd', {style: 'css'}]);\r\n注释掉就好了, 可出现了奇怪的warning\r\n(node:44911) DeprecationWarning: Calling an asynchronous function without callback is deprecated."}}
{"actor":{"display_login":"ityao"}}