【发布时间】:2019-06-20 06:45:40
【问题描述】:
我在 npm run build 期间遇到错误
这是错误
Compiling client
E:\ui\sheraspace_ui\node_modules\webpack\lib\ProgressPlugin.js:223
compilation.hooks.addEntry.tap("ProgressPlugin", entryAdd);
TypeError: Cannot read property 'tap' of undefined
我尝试删除 package.lock.json 和 node 模块,然后重新安装 npm。我还尝试安装 webpack。我的项目是在 next.js 上构建的,但我仍然收到此错误。有什么办法可以解决此错误?
【问题讨论】:
标签: javascript reactjs webpack next.js