DEV Community

Discussion on: Making API calls in React using Redux-Thunk

Collapse
 
muhammadawaisshaikh profile image
Muhammad Awais

hey, we use axios to make http request from our react/angular app, so i think this error is raised because you haven't install axios npm. try this command on your terminal/cmd of your project destination

C:/projects/react-redux-app> npm install axios

Collapse
 
falikyakov profile image
falikyakov

If you've already installed axios and are still getting this error,
you probably forgot to import - import axios from 'axios'