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
Webpack 3 issue - ExternalModuleFactoryPlugin - 'request' of undefined #705
Comments
Sorry for this useless comment that does not contribute to this issue whatsoever, but just wanted to confirm that I too have this exact same issue with Webpack 3 (just in case this issue is deemed a one-off configuration error on OP's end). |
Did you already had time to take a look for the reason? |
No sorry, would like to help, but not at all sure where to start. |
Having the same issue. Seems html-webpack-plugin is not ready yet for webpack 3 |
@hulkish @yuffiy @yveskaufmann Do you think you can help here as it sounds like you managed to make webpack@3 working with |
Do you think any of you can provide a repo to reproduce it? On my project I only get a warning on |
@mastilver ❤️ Change dir to Or use my forked repo until the PR merged. {
"html-webpack-plugin": "https://github.com/Re-Rabbit/html-webpack-plugin.git"
} |
I'm getting this as well, it seems to be a bug with yarn whereby a dependency (
The only solution I've found so far is to switch from yarn to npm5 |
I can confirm this, I also switched temporarily from yarn to npm, sorry, don't have the time to investigate further right now. |
@mattlewis92 @joseds To clarify myself, the warning I got from npm/yarn is expected. (as the peerDependency doesn't allow webpack@3 yet) About the issue @mcrawshaw raises: I can't reproduce it on my project |
@mastilver I was referring to how to reproduce the error with tl;dr it's an issue with yarn, updating the peer dependency to allow webpack v3 might fix the issue. |
Yep, I can confirm, it's a packaging issue. Using npm 5.0.3 resolves my issue. My npm list looks similar to you @mattlewis92. Mark. |
is a fix coming any soon? looks like a trivial change right? thanks guys! |
I had the same issue after upgrading to Webpack 3. And I too can confirm using npm 5.0.3 instead of yarn fixes the issue. |
@damianobarbati I think are going to hold off until Until that is done you can use directly either: #706 or #707 @jantimon Can you confirm this is the right approach and I'm not saying BS? ;) |
@mastilver do you think this is going to happen any soon? |
Can confirm as resolved. |
Unfortunately, the same issue, after updating to:
Output (
Node modules reinstall didn't help. |
@AlexeySmolyakov Did you check: #683 (comment) |
@mastilver thank you so much! |
I can confirm that updating |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Upgrading to webpack 3 generates an error when used with this plugin.
Degrading to webpack 2.x or removing the plugin from config resolves the error.
Note a simular issue here:
#596
Note webpack 3 compatibility issue & PR:
#699
#704
Plugin version:
Webpack version:
Summarised webpack.config (i've tried a blank plugin config - no change):
Full stack dump:
The text was updated successfully, but these errors were encountered: