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

160
Vistas
Unhandled JS Exception: undefined is not an object(evaluating 'global.performance.now') is in react-native-tvOS

I'm creating a React-Native-tvOs app and while running that default template app it shows this error. I followed all the script from react-native-tvOs GitHub page but still, when I tried running it on the Xcode Apple TV simulator, it always throws this error.
This is the script I'm running is from GitHub react-native-tvOS page:-

npm install -g @react-native-community/cli
react-native init FinalPOC --template=react-native-tvos@latest
cd FinalPOC && react-native run-ios  --simulator "Apple TV" --scheme "FinalPOC-tvOS"

Screeshot of the Error:
enter image description here

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

I got the same error,

  1. Remove node_modules with rm -rf rm -rf node_modules

  2. Then do npm install

    It works for me

about 4 years ago · Juan Pablo Isaza Denunciar

0

same error,

Modify this file react-native/Libraries/Utilities/createPerformanceLogger.js maybe work.

modify

export const getCurrentTimestamp: () => number =
 global.nativeQPLTimestamp ?? global.performance.now.bind(global.performance);

to

export const getCurrentTimestamp: () => number = Date.now

New Version React Native has not set nativeQPLTimestamp to variable nativeQPLTimestamp in global.

about 4 years ago · Juan Pablo Isaza Denunciar
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