Home > database >  ReferenceError: Can't find variable: require problem
ReferenceError: Can't find variable: require problem

Time:03-02

const { default: axios } = require("axios");

i have problem with gettin data. how can I fix this?

CodePudding user response:

you have to import axios library

import axios from 'axios';
  • Related