yhirose / react-typescript-electron-sample-with-create-react-app-and-electron-builder

React-TypeScript-Electron sample with Create React App and Electron Builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error occurs after hot reload

memetea opened this issue · comments

When I modify something, the hot reload works. But there're errors in development tools.

Uncaught ReferenceError: process is not defined
at Object.4043 (:2:13168)
at r (:2:306599)
at Object.8048 (:2:9496)
at r (:2:306599)
at Object.8641 (:2:1379)
at r (:2:306599)
at :2:315627
at :2:324225
at :2:324229
at HTMLIFrameElement.e.onload (index.js:1)

Any update I have same error too...

maybe you should try to update 'react-script' to v5

facebook/create-react-app#11773

The code now uses react-script 5.0.0.