0

I am getting the following errors on my browser concerning webpack5.

enter image description here

I have located answers in here but the authors are directing to a file called 'webpack.config.js' which apparently exists in the root folder of my app. The problem is, I cannot find such a file in the root folder of my app. Please can someone advise?

johnDoe
  • 709
  • 11
  • 29

1 Answers1

0

You likely can't see the config file because you built your app using create-react-app so configuration is managed for you. Try installing stream-browserify npm install stream-browserify

You could also use something like https://www.npmjs.com/package/@craco/craco which allows you to keep react bundled up but also gives you access to change webpack configuration.

The last option would be to downgrade.