This repository was archived by the owner on Jul 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
Cannot read property 'some' of undefined #113
Copy link
Copy link
Open
Description
| .some(stackframe => stackframe.fileName && stackframe.fileName.indexOf('eslint-loader') > 0); |
TypeError: Cannot read property 'some' of undefined
at isEslintError (/srv/www/node_modules/friendly-errors-webpack-plugin/src/transformers/esLintError.js:5:6)
at transform (/srv/www/node_modules/friendly-errors-webpack-plugin/src/transformers/esLintError.js:9:7)
at transform (/srv/www/node_modules/friendly-errors-webpack-plugin/src/core/transformErrors.js:28:45)
at Array.reduce (<anonymous>)
at applyTransformations (/srv/www/node_modules/friendly-errors-webpack-plugin/src/core/transformErrors.js:29:56)
at Array.map (<anonymous>)
at processErrors (/srv/www/node_modules/friendly-errors-webpack-plugin/src/core/transformErrors.js:31:35)
at FriendlyErrorsWebpackPlugin.displayErrors (/srv/www/node_modules/friendly-errors-webpack-plugin/src/friendly-errors-plugin.js:97:29)
at doneFn (/srv/www/node_modules/friendly-errors-webpack-plugin/src/friendly-errors-plugin.js:52:14)
at AsyncSeriesHook.eval [as callAsync] (eval at create (/srv/www/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:7:1)
at AsyncSeriesHook.lazyCompileHook (/srv/www/node_modules/tapable/lib/Hook.js:154:20)
at /srv/www/node_modules/webpack/lib/Compiler.js:304:22
at Compiler.emitRecords (/srv/www/node_modules/webpack/lib/Compiler.js:499:39)
at /srv/www/node_modules/webpack/lib/Compiler.js:298:10
at /srv/www/node_modules/webpack/lib/Compiler.js:485:14
at _next0 (eval at create (/srv/www/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:14:1)
at eval (eval at create (/srv/www/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:22:1)
at /srv/www/node_modules/assets-webpack-plugin/dist/index.js:156:9
at /srv/www/node_modules/assets-webpack-plugin/dist/lib/output/createQueuedWriter.js:16:7
at /srv/www/node_modules/assets-webpack-plugin/dist/lib/output/createOutputWriter.js:74:13
at /srv/www/node_modules/graceful-fs/graceful-fs.js:57:14
at FSReqCallback.oncomplete (fs.js:154:23)
error Command failed with exit code 1.
It would be great to handle this :)
Thanks.
I had already solved the issue hacky way, this is just report.
Metadata
Metadata
Assignees
Labels
No labels