-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
After haul upgrade can't compile with TypeError: compilation.getAsset is not a function #652
Comments
@TNorth22 I'll take a lot at this tomorrow. In the meantime, if it's possible for you, could you create a repro repository, which I could use for testing? |
@TNorth22 I cannot reproduce your issue. The config looks file apart from duplicated |
Hey @zamotany thanks for the response. Just getting back from vacation today. Unfortunately I couldn't repro on a fresh rn project :-/.
I'll see if I can dig a little deeper and get some more info in the meantime. |
@TNorth22 setting
|
I'm also experiencing the same error, Also used |
@rebirthtobi Can you post your |
@TNorth22 @rebirthtobi Can you add |
@zamotany i believe that fixes it but i'm faced with a new error pointing to |
@rebirthtobi Can you post your Babel config file?? |
Just as a note – taking the note from @zamotany above worked for us. There was a small typo, however, and it is:
Noting that the key recommended above was Thanks! |
Ok, so this issue looks like it's caused by duplicated
|
@rebirthtobi I believe the issue with |
|
any updates? I have the same issue |
@EugenePisotsky There's no update. I cannot reproduce the issue. It seams it's connected with specific |
Future googlers - FWIW - I had this error and was able to resolve it by uninstalling webpack and webpack-cli, then installing the latest version of those two. |
This issue was solved for me by upgrading webpack from 4.33 to 4.46 version. It looks like |
Environment
Config:
Description
After upgrading to the new haul bundle from a working legacy instance and starting with a fresh config I seemingly can't exclude things from Typescript checks and compilation terminates. Not sure what I'm missing or am I looking at an outdated config?
Reproducible Demo
The text was updated successfully, but these errors were encountered: