Skip to content
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 build failed (from ./node_modules/css-loader/dist/cjs.js): #1243

Closed
Talent30 opened this issue Jan 2, 2021 · 2 comments
Closed

Module build failed (from ./node_modules/css-loader/dist/cjs.js): #1243

Talent30 opened this issue Jan 2, 2021 · 2 comments

Comments

@Talent30
Copy link

Talent30 commented Jan 2, 2021

  • Operating System: Alpine Linux
  • Node Version: 12.18
  • NPM Version: 6.14.6
  • webpack Version: 5.11.1
  • css-loader Version: 5.0.1

Expected Behavior

DevServer should successfully recompile.

Actual Behavior

Start DevServer
DevServer

Save any src file to trigger recompilation
Error

Code

Webpack config

How Do We Reproduce?

You can download this project and run
npm i
npm run dev
https://github.com/Talent30/Test

@cap-Bernardito
Copy link
Member

The problem is in webpack.AutomaticPrefetchPlugin.
To prevent the error from occurring, you can remove it from the configuration.

@alexander-akait, here's(webpack/webpack#9485) a similar problem

@alexander-akait
Copy link
Member

Close in favor webpack/webpack#9485 (comment), we can't fix it on our side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants