TransWikia.com

TypeError: Cannot read property 'forEach' of undefined

Stack Overflow en español Asked by Junior Flores Alcantara on January 6, 2021

**Actualice el react-script a la version 3.0.1 por que vi era evitaba creo este problema pero persiste y es algo respecto al React-dom me parece pero no se si tengo que actulizarlo o bajar la version **

Este es el Error que me muestra cuando entro a mi APP que subi a un servidor

Me sale este problema cuando lo subi a un servidor y hago que corrar el build, pero no se como poder resolverlo , si me pudieran ayudar por favor

package.json

{
  "name": "client",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@apollo/react-hooks": "^4.0.0",
    "@testing-library/jest-dom": "^4.2.4",
    "@testing-library/react": "^9.3.2",
    "@testing-library/user-event": "^7.1.2",
    "apollo-cache-inmemory": "^1.6.6",
    "apollo-client": "^2.6.10",
    "apollo-link-context": "^1.0.20",
    "apollo-link-http": "^1.5.17",
    "graphql": "14.3.1",
    "graphql-tag": "2.10.1",
    "jwt-decode": "^3.0.0-beta.2",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-router-dom": "^5.2.0",
    "react-scripts": "^3.0.1",
    "react-share": "^4.3.0",
    "semantic-ui-css": "^2.4.1",
    "swiper": "^6.3.2"
  },
  "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"
    ]
  }
}

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP