Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

920
Views
¿Cómo puedo resolver el error del compilador de TypeScript "El espacio de nombres 'NodeJS' no tiene un miembro exportado 'Global'"?

PREGUNTA : ¿Cómo puedo resolver el error del compilador TypeScript ( tsc ) " El espacio de nombres 'NodeJS' no tiene un miembro exportado 'Global' "?

Mientras tsc , de repente veo el siguiente error en un proyecto "heredado" (no nuevo):

 node_modules/expect/node_modules/@jest/types/build/Global.d.ts:85:62 - error TS2694: Namespace 'NodeJS' has no exported member 'Global'. 85 export interface Global extends GlobalAdditions, Omit<NodeJS.Global, keyof GlobalAdditions> { ~~~~~~

Intenté agregar la instalación de @types/node y agregar "types": ["node"] a mi tsconfig (como se sugiere en esta publicación SO ), pero eso no ayudó.

Versión del nodo : 12.18.4
Versión de broma : 26.5.3

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Este es un error conocido: https://github.com/facebook/jest/issues/11640

La degradación a @types/node v15.14.0 parece solucionar el error para mí.

over 4 years ago · Santiago Trujillo Report

0

Pude resolver este problema agregando "skipLibCheck": true a mi tsconfig .

TFM: https://www.typescriptlang.org/tsconfig#skipLibCheck

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!