Error: Cannot find module 'loader-utils'
See original GitHub issueCurrent behaviour 💣
Error: Cannot find module ‘loader-utils’
Expected behaviour ☀️
It should work properly
Reproduction Example 👾
Environment 🖥
"html-webpack-plugin": "5.3.0",
"typescript": "^4.2.3",
"webpack": "^5.24.3"
here
but
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Webpack Cannot find module 'loader-utils'? - Stack Overflow
style-loader and webpack already have loader-utils package under their node_modules folder but it still cant find this module? ERROR in ...
Read more >Cannot find module 'loader-utils' even though it is ... - GitHub
I am using razzle with yarn PlugNPlay for my project, and after yarn install I had to add/modify some packages and configuration in...
Read more >loader-utils - npm
Converts some resource URL to a webpack module request. i Before call urlToRequest you need call isUrlRequest to ensure it is requestable url....
Read more >Cannot find module 'internal/modules/cjs/loader.js' | bobbyhadz
To solve the error Cannot find module 'internal/modules/cjs/loader.js', make sure you are pointing the node command to a file that exists on your...
Read more >loader-utils - npm Package Health Analysis - Snyk
We found a way for you to contribute to the project! Looks like loader-utils is missing a security policy. You can connect your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Published as html-webpack-plugin@5.3.1
Oh I am very sorry I thought you would like to build that into the child compiler…
You are right your code would work too 👍