You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/crypto/hash.js:58
throw new ERR_INVALID_ARG_TYPE('data',
^
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be one of type string, TypedArray, or DataView. Received type undefined
at Hash.update (internal/crypto/hash.js:58:11)
at BulkUpdateDecorator.update (/local/GitHub/test/node_modules/webpack/lib/util/createHash.js:35:14)
at mainTemplate.hooks.hash.tap.hash (/local/GitHub/test/node_modules/webpack/lib/AmdMainTemplatePlugin.js:82:9)
at SyncHook.eval [as call] (eval at create (/local/GitHub/test/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:11:1)
at SyncHook.lazyCompileHook (/local/GitHub/test/node_modules/tapable/lib/Hook.js:154:20)
at MainTemplate.updateHash (/local/GitHub/test/node_modules/webpack/lib/MainTemplate.js:506:19)
at Compilation.createHash (/local/GitHub/test/node_modules/webpack/lib/Compilation.js:2218:21)
at hooks.optimizeTree.callAsync.err (/local/GitHub/test/node_modules/webpack/lib/Compilation.js:1259:9)
at AsyncSeriesHook.eval [as callAsync] (eval at create (/local/GitHub/test/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (/local/GitHub/test/node_modules/tapable/lib/Hook.js:154:20)
at Compilation.seal (/local/GitHub/test/node_modules/webpack/lib/Compilation.js:1215:27)
at hooks.make.callAsync.err (/local/GitHub/test/node_modules/webpack/lib/Compiler.js:541:17)
at _err0 (eval at create (/local/GitHub/test/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:11:1)
at _addModuleChain (/local/GitHub/test/node_modules/webpack/lib/Compilation.js:1066:12)
at processModuleDependencies.err (/local/GitHub/test/node_modules/webpack/lib/Compilation.js:982:9)
at process._tickCallback (internal/process/next_tick.js:61:11)
error Command failed with exit code 1.
Bug report
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
https://github.com/JounQin/test/tree/webpack
yarn && yarn build
If you downgrade webpack to
4.19.1
, it will work.What is the expected behavior?
No error
Other relevant information:
webpack version: 4.20.0
Node.js version: 10.11.0
Operating System: macOS Mojave
The text was updated successfully, but these errors were encountered: