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

311
Views
¿Axios está lanzando un error abortSignal durante la compilación?

Estoy tratando de usar axios en el proyecto mecanografiado de nodejs y durante la compilación arroja un error abortSignal cualquier solución para este problema agradezco la ayuda

índice.ts

 export async function getAccessToken(apiConfig: any) { const req = { grant_type: apiConfig.authOptions.body.grant_type, client_id: apiConfig.authOptions.credentials.clientId, client_secret: apiConfig.authOptions.credentials.clientSecret, scope: apiConfig.authOptions.body.scope }; const headers = { "Content-Type": "application/x-www-form-urlencoded", "appName": "Blink" }; try { const resp: AxiosResponse = await axios.post('https://test.com//auth/oauth2/token', req, { headers }); console.log(resp.data); } catch (err) { // Handle Error Here console.error(err); } }

Error

 node_modules/axios/index.d.ts(93,12): error TS2304: Cannot find name 'AbortSignal'.

Paquete.json

 "axios": "^0.24.0",
over 4 years ago · Santiago Trujillo
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!