Uncaught ReferenceError: process is not defined error message appears when running the react project

Error message

insert image description here
insert image description here

Solution

The solution given on GitHub is to fix the react-error-overlay version at 6.0.9, but react-error-overlay and react-scripts are not used in my project, and finally install [email protected] under the project. After 3, restart the project to solve it.

npm i --save-exact [email protected]

If not, try the complete steps in this article.
https://blog.csdn.net/ligaoming_123/article/details/122995549

Guess you like

Origin blog.csdn.net/weixin_46353030/article/details/125526311
Recommended