在你package.json里添加
"resolutions": {
"//": "See https://github.com/facebook/create-react-app/issues/11773",
"react-error-overlay": "6.0.9"
}
删除yarn.lock文件
删除node_modules依赖
重新 yarn 搞定
https://stackoverflow.com/questions/70368760/react-uncaught-referenceerror-process-is-not-defined