using electron-packager to package the app file from the react project on mac is stuck in the login. There is still content in the background when the app login page comes out, but there is no content after clicking to log in. I don"t know why? Looking at the background shows that once you encounter the synchronous communication method sendSync () will be completely stuck there, will not continue to go down. If you change it to send, it is too slow to send messages because you are doing instant messaging. Ask everyone to give some suggestions, red packet reward after solving the problem