-
Notifications
You must be signed in to change notification settings - Fork 366
fix the bug “TypeError: Cannot read property 'substr' of undefined” #257
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
Conversation
|
could this be merged please? it fixes quite common issue #247 (also see ionic-team/ionic-app-scripts#796 and angular/angular-cli#5476) in the meantime, one can apply this patch to their project using: |
|
@IgorMinar this looks good to me. Can you include a test that would have failed without the fix? |
|
Plz resolve confict and merge it. |
|
Hi, could you please resolve the conflicts and merge. I really need this fix! |
|
Please do! |
|
Hey @fitzgen, I suppose you're in charge here, so I'll talk to you directly. Sorry for bothering you, but I hope it'll be more effective. We have an emergency here. Notice that I've spent quite a lot of time on debugging it to add a test and accelerate the work, without much success though. I did want to share what I've (not) found, but after writing screen-long comment on GitHub my browser crashed and I've lost everything. Shit happens. So the only thing I want to say: please consider to accept this quick, dirty, untested and "I don't really know why it works" fix, as it just resolves serious bug while not breaking any existing test, and try to find proper solution after that. People counts on you. Thank you in advance. |
|
I don't maintain this repository anymore, that would be @tromey. |
|
Any updates on this? |
|
Please merge this! Without this fix, webpack is totally broken. @tromey do you have an ETA? |
|
I think this is interesting: #247 (comment) |
|
We had the same issue when used as dependency of webpack-sources package. Resolution was to point to this PR explicitly in package.json to override the version webpack-sources uses. Thanks a lot for this!! |
|
Going to merge this in #288 - same basic patch, just no merge conflict. |
* webpack: disable source-map This changes disables source-map support because it blocks us for doing builds. Due to known bug, PR still to be merged: mozilla/source-map#257 * dist-builds * 1.0.0
fix the bug “TypeError: Cannot read property 'substr' of undefined”