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

233
Views
Uncaught TypeError is raised for axios.create with axios version 0.22.0

Uncaught TypeError is raised for axios.create with axios version 0.22.0

Exception is raised while creating axios instance with below sample code.

const service  = axios.create({
     baseURL: "host",
     timeout: 3000
})

Exception raised

axios.js:1308 Uncaught TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at mergeConfig (axios.js:1308)
    at Function.create (axios.js:1712)
    at request.js:32
    

Same works with axios version 0.21.4

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

This was an issue with axios https://github.com/axios/axios/issues/4153. Fix should be available from 0.23.0 onwards

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