微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

除Chrome浏览器

如何解决除Chrome浏览器

我正在开发一个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 举报,一经查实,本站将立刻删除。