react 保存更新 报错 process is not defined

在你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

你可能感兴趣的:(react 保存更新 报错 process is not defined)