Skip to content

Instantly share code, notes, and snippets.

@matheus1lva
Last active November 1, 2018 19:09
Show Gist options
  • Save matheus1lva/f5df2d9f478ca14bae16a5485b23883d to your computer and use it in GitHub Desktop.
Save matheus1lva/f5df2d9f478ca14bae16a5485b23883d to your computer and use it in GitHub Desktop.
register override
register override
/home/matheus/forks/GrCartuchos/frontend/node_modules/tapable/lib/HookCodeFactory.js:73
instance._x = options.taps.map(t => t.fn);
^
TypeError: Cannot read property 'fn' of undefined
at instance._x.options.taps.map.t (/home/matheus/forks/GrCartuchos/frontend/node_modules/tapable/lib/HookCodeFactory.js:73:41)
at Array.map (<anonymous>)
at SyncHookCodeFactory.setup (/home/matheus/forks/GrCartuchos/frontend/node_modules/tapable/lib/HookCodeFactory.js:73:30)
at SyncHook.compile (/home/matheus/forks/GrCartuchos/frontend/node_modules/tapable/lib/SyncHook.js:32:11)
at SyncHook._createCall (/home/matheus/forks/GrCartuchos/frontend/node_modules/tapable/lib/Hook.js:24:15)
at SyncHook.lazyCompileHook [as call] (/home/matheus/forks/GrCartuchos/frontend/node_modules/tapable/lib/Hook.js:153:21)
at hooks.optimizeTree.callAsync.err (/home/matheus/forks/GrCartuchos/frontend/node_modules/webpack/lib/Compilation.js:1288:37)
at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/matheus/forks/GrCartuchos/frontend/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (/home/matheus/forks/GrCartuchos/frontend/node_modules/tapable/lib/Hook.js:154:20)
at Compilation.seal (/home/matheus/forks/GrCartuchos/frontend/node_modules/webpack/lib/Compilation.js:1231:27)
at hooks.make.callAsync.err (/home/matheus/forks/GrCartuchos/frontend/node_modules/webpack/lib/Compiler.js:546:17)
at _err0 (eval at create (/home/matheus/forks/GrCartuchos/frontend/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:11:1)
at _addModuleChain (/home/matheus/forks/GrCartuchos/frontend/node_modules/webpack/lib/Compilation.js:1082:12)
at processModuleDependencies.err (/home/matheus/forks/GrCartuchos/frontend/node_modules/webpack/lib/Compilation.js:998:9)
at process._tickCallback (internal/process/next_tick.js:61:11)
error Command failed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment