utubun/orange

webpack crash

Opened this issue · 0 comments

Issue

After migration to react-scripts@5.0.1, webpack@4 to webpack@5 update, webpack crashes.

Solution

Add following lines to webpack.config.js

//./node_modules/react-scripts/config/webpack.config.js
//resolve: {
    ...
    fallback: {
        "path": false,
        "os": false,
        "fs": false
    }
    ...
//}

This solution does not work thought.

Currently

Downgraded to the react-scripts@4.0.3.