日本免费高清视频-国产福利视频导航-黄色在线播放国产-天天操天天操天天操天天操|www.shdianci.com

學(xué)無先后,達(dá)者為師

網(wǎng)站首頁 編程語言 正文

運(yùn)行react項(xiàng)目時(shí)出現(xiàn)Uncaught ReferenceError: process is not defined錯(cuò)誤提示

作者:Krlin_ 更新時(shí)間: 2022-07-02 編程語言

報(bào)錯(cuò)提示信息

在這里插入圖片描述
在這里插入圖片描述

解決辦法

GitHub上面給出的解決方案是將react-error-overlay版本固定在6.0.9,但是我的項(xiàng)目里面沒有用到react-error-overlay 和react-scripts,最后在項(xiàng)目下安裝react- scripts@4.0.3后重啟項(xiàng)目解決的,

npm i --save-exact react-scripts@4.0.3

不行的話試一下這篇文章的完整步驟。
https://blog.csdn.net/ligaoming_123/article/details/122995549

原文鏈接:https://blog.csdn.net/weixin_46353030/article/details/125526311

欄目分類
最近更新