- Operating System: MacOS
- Node Version: 22
- NPM Version: N/A
- webpack Version: 5.99.5
- ${package} Version: 2.26.1
Expected Behavior
It should not raise any exception.
Actual Behavior
When we use html-entities 2.6.0, it raises the exception below:
ERROR in ./node_modules/webpack-hot-middleware/client-overlay.js 38:19-43
Module not found: Error: Package path . is not exported from package ./node_modules/html-entities (see exports field in ./node_modules/html-entities/package.json)
Explicitly installed html-entities 2.1.0 makes it work again. Not sure why.