问题描述
我正在开发一个React应用,现在我试图在Chrome以外的其他浏览器上运行它,但是失败了。 仅在chrome上运行。 This is the error I get in Firefox This is the error in IE
这是我的package.json:
{
"name": "react-dashboard","version": "0.1.0","private": true,"dependencies": {
"@material-ui/core": "^4.11.0","@material-ui/icons": "^4.9.1","@material-ui/lab": "^4.0.0-alpha.56","@material-ui/styles": "^4.10.0","@testing-library/jest-dom": "^4.2.4","@testing-library/react": "^9.5.0","@testing-library/user-event": "^7.2.1","axios": "^0.19.2","formik": "^2.1.5","formik-material-ui": "^2.0.1","gh-pages": "^3.1.0","react": "^16.13.1","react-diff-viewer": "^3.1.1","react-dom": "^16.13.1","react-router-dom": "^5.2.0","react-scripts": "3.4.1","tubular-common": "^4.0.18","tubular-react": "^4.2.5"
},"scripts": {
"start": "react-scripts start","build": "react-scripts build","test": "react-scripts test","eject": "react-scripts eject"
},"eslintConfig": {
"extends": "react-app"
},"browserslist": {
"production": [
">0.2%","not dead","not op_mini all"
],"development": [
"last 1 chrome version","last 1 firefox version","last 1 safari version"
]
}
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)