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
{{ message }}
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
The tutorials and this template app do not build or start with the latest redoc and react-scripts versions due to many errors about polyfills for node.js core modules, all coming from redoc code
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.
Keeping everything the same, but downgrading react-scripts, makes it work again.
"devDependencies": {
"react-scripts": "4.0.3"
}
react-scripts hides webpack configurations, so we cannot provide fallbacks as suggested. This was previously mentioned as being fixed a couple months ago, but I have been stuck on this error for 2 days until I figured out the downgrade workaround.
The text was updated successfully, but these errors were encountered:
The tutorials and this template app do not
build
orstart
with the latestredoc
andreact-scripts
versions due to many errors about polyfills for node.js core modules, all coming fromredoc
codeThis does not work:
Keeping everything the same, but downgrading react-scripts, makes it work again.
react-scripts
hideswebpack
configurations, so we cannot provide fallbacks as suggested. This was previously mentioned as being fixed a couple months ago, but I have been stuck on this error for 2 days until I figured out the downgrade workaround.The text was updated successfully, but these errors were encountered: