首页 > 解决方案 > 一些用户在进行 React 部署时会遇到白屏,但苹果用户不会

问题描述

任何人都知道为什么有些用户,特别是那些使用微软产品的用户,在我的 React 部署中看到白屏?我的部署在我的设备、移动设备和标准设备上运行良好并且渲染良好。我在 package.json 中指定了主页 URL ..

遇到白屏的错误代码如下

at Module.<anonymous>(index.js:13)
at l ((index):1)
at Object.(anonymous>(main.2a705d2.chunk.js:1)
at l ((index):1)
2:22
at t ((index):1)
at Array.r[as push]((index:1)
at main.2a705d2.chunk.js:1```

MY GITHUB REPO: 
https://github.com/dreamingofcode/Travelly

deployment:
https://nervous-lovelace-0d5b8e.netlify.app/

标签: reactjsdeploymenttypeerror

解决方案


它指向您的错误,index.js:13任何没有安装 redux devtools 的人都会失败。这不是添加开发工具的正确方法。https://github.com/zalmoxisus/redux-devtools-extension


推荐阅读