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
Module not found: Error: Can't resolve 'module' in '...' #5423
Comments
As suggested by Michael McLaughlin @mmclau14 on webpack gitter. This could be worked around by replacing the require with
however i still believe this should be solved not worked around, as it causes unexpected issues. |
webpack doesn't support the module module. |
@sokra can you elaborate on the reason? |
This issue had no activity for at least half a year. It's subject to automatic issue closing if there is no activity in the next 15 days. |
Any updates here? Getting this error: Module not found: Can't resolve 'module' in 'project_root\node_modules\load-grunt-tasks\node_modules\resolve-from' |
@ThatBrianDude please recrea new issue using issue template. This problem is very old and don't related to your. Thanks! |
@ThatBrianDude's problem is actually the exact same issue. Any development here? |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
This line of code throws on error even in "node" target
If the current behavior is a bug, please provide the steps to reproduce.
just requiring the
module
module will cause the issue.What is the expected behavior?
module
is a native module in node, just likefs
orhttp
, webpack should not throw when its required.If this is a feature request, what is motivation or use case for changing the behavior?
I need to use the
module
module!Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
latest webpack version, nodeJS 8.1.3, mac OSX
The text was updated successfully, but these errors were encountered: