-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'substring' of undefined #296
Comments
+1, this has been the bane of my existence the past two or three weeks. Very intermittent, but unfortunately it always seems to rear its head during automated build tests (less often during local development.) |
PR welcome |
Disabling sourcemaps seems to avoid this altogether. |
I believe this is actually an issue with less itself: less/less.js#3360 |
Thanks for link |
Please upgrade |
Thanks. Upgrading |
hi ERROR in Module build failed (from ./node_modules/less-loader/dist/cjs.js): Cannot read property 'substring' of undefined |
@ronmi-tr please create reproducible test repo |
Expected Behavior
Compile without problems
Actual Behavior
Magic error that disappears when recompiling:
Code
How Do We Reproduce?
it happens half the time, probably a race condition because, if I save any file (so webpack recompiles), it will recompile fine, in a larger project I have happens everytime and I have to force webpack to recompile
related:
webpack-contrib/mini-css-extract-plugin#421
The text was updated successfully, but these errors were encountered: