skip to Main Content

I use npx-create-react-app years, but now i can’t build with run npm run build.

Today still is work.

I update node and npm. Clear the cahce with: npm cache clean –force

None of the projects work. neither with the old nor with the brand new.

Thank you

I not want public sensitive infromation for my pc but the essence can’t load file. I’ts staring with App.css but i comment out come to next one.

HookWebpackError: Cannot read properties of undefined (reading 'e')
-- inner error --
TypeError: Cannot read properties of undefined (reading 'e')
Generated code for D:xxxxxxxxxxnode_modulescss-loaderdistcjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!D:xxxxxxxxxxxxzxxxxxnode_modulespostcss-loaderdistcjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!D:xxxxxxxxxxxxxxxxxxxxxnode_modulessource-map-loaderdistcjs.js!D:xxxxxxxxxxxxxxxxxxxxxxsrcApp.css

2

Answers


  1. Current workaround is to downgrade webpack from 5.83.0 to 5.82.0:

    npm i [email protected]
    
    Login or Signup to reply.
  2. This has been fixed in Webpack 5.83.1.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search