鍍金池/ 問答/HTML/ vue項(xiàng)目用webpack打包報(bào)錯(cuò),想知道怎么解決?

vue項(xiàng)目用webpack打包報(bào)錯(cuò),想知道怎么解決?

i ?webpack?: Starting Build
(node:10512) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
(node:10512) DeprecationWarning: Tapable.apply is deprecated. Call apply on the plugin directly instead
× ?command?: A webpack error occured while building: use --log-level=debug for more error detail
× ?command?: dep.getResourceIdentifier is not a function
C:\Users\guanx\AppData\Roaming\npm\node_modules\webpack\node_modules\neo-async\async.js:14
    throw new Error('Callback was already called.');
    ^

Error: Callback was already called.
    at throwError (C:\Users\guanx\AppData\Roaming\npm\node_modules\webpack\node_modules\neo-async\async.js:14:11
)
回答
編輯回答
空白格

vuedraggable的問題。 你項(xiàng)目用了這個(gè)庫(kù)吧?去vuedraggable的issue翻翻吧

2018年5月28日 22:10
編輯回答
初念

應(yīng)該是你使用async.js不當(dāng)造成的,你給的這些信息只能看出來(lái)這么多問題。

2018年1月17日 02:49
編輯回答
墻頭草

有兩個(gè)問題

  1. webpack配置代碼貼一下
  2. package.json代碼貼一下
2017年4月9日 12:48