You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
First of all, thanks for creating this amazing boilerplate.
I tried adding a few libraries to the project, but I'm getting a lot of errors like this:
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }'
- install 'stream-http'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "http": false }
this happens for multiple libraries. Do you know which webpack config do I need to change to add these fallbacks? Or if there's any other way to fix this issue?
Edit:
After isolating the problem a little bit, this happens if I install aws-amplify package and import it in the renderer process.
The text was updated successfully, but these errors were encountered:
Hi,
First of all, thanks for creating this amazing boilerplate.
I tried adding a few libraries to the project, but I'm getting a lot of errors like this:
this happens for multiple libraries. Do you know which webpack config do I need to change to add these fallbacks? Or if there's any other way to fix this issue?
Edit:
After isolating the problem a little bit, this happens if I install
aws-amplify
package and import it in the renderer process.The text was updated successfully, but these errors were encountered: