Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

214
Vistas
Can't start metro server "attachToServer is not a function"

Looking at the original docs, I ran npx react-native init AwesomeProject and didn't change anything.

I get attachToServer is not a function error when I run npx react-native start or yarn start. Both don't work. I didn't have this issue before I don't know what might be causing it. Using expo I can start metro so this is probably react-native cli issue.

Here are the package versions.

"dependencies": {
  "react": "17.0.2",
  "react-native": "0.67.2"
},
  "devDependencies": {
  "@babel/core": "^7.12.9",
  "@babel/runtime": "^7.12.5",
  "@react-native-community/eslint-config": "^2.0.0",
  "babel-jest": "^26.6.3",
  "eslint": "7.14.0",
  "jest": "^26.6.3",
  "metro-react-native-babel-preset": "^0.66.2",
  "react-test-renderer": "17.0.2"
},

The error screenshot

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda