steveilyo
steveilyo
I solved this issue by adding the fallback to my webpack.config.js file; module.exports = { resolve: { fallback: { assert: require.resolve('assert'), crypto: require.resolve('crypto-browserify'), http: require.resolve('stream-http'), https: require.resolve('https-browserify'), os: require.resolve('os-browserify/browser'), stream:...
You can create this in the src folder and react should pick it up. [image: Screenshot 2021-12-21 at 17.55.15.png] the .env file is in the root. On Tue, 21 Dec...
> `Compiled with problems: > > ERROR in ./node_modules/cipher-base/index.js 3:16-43 > > Module not found: Error: Can't resolve 'stream' in 'C:\Blockchain\lottery-React\node_modules\cipher-base' > > BREAKING CHANGE: webpack < 5 used to...
It sounds like it’s not picking up the config. > On 21 Dec 2021, at 18:30, Ankit Kumar ***@***.***> wrote: > > > I have tried by creating a...
Looks like you are on windows, I'm on OSX so a bit different. If you want to find webpack files and configurations go to your package.json file and look for...
Arrhhh taking a second look I have my webpack in the src folder. On Wed, 22 Dec 2021 at 10:50, Ankit Kumar ***@***.***> wrote: > … > > maybe yeah...
Try here: lottery-react/node_modules/react-scripts/config/webpack.config.js or use react app rewired; A great tutorial by Egghead.io using react-app-rewired here On Wed, 22 Dec 2021 at 11:13, Ankit Kumar ***@***.***> wrote: > Arrhhh taking...