vue项目用webpack打包报错,想知道怎么解决?

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
)
阅读 8.8k
3 个回答

vuedraggable的问题。 你项目用了这个库吧?去vuedraggable的issue翻翻吧

有两个问题

  1. webpack配置代码贴一下
  2. package.json代码贴一下

应该是你使用async.js不当造成的,你给的这些信息只能看出来这么多问题。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题