Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

173
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda