im using the clarifai face recognition Api and getting an error on my console saying: "TypeError: axios.post is not a function". anyone knows how do I solve it?
- i dont use Axios in my code, but i think the API uses it. thanks

I tried installing Axios and clarifai again and it did nothing
Background: The issue you are facing is due to the dependency of Clarifai JS on axios for requests. Throughout the development of the Clarifai, the library has accepted multiple versions of axios but haven't really configured compatibility on these versions. Ex. Clarifai is familiar with axios v1.1.2 but there is no compatibility for it to work in a good condition and perform well with the library.
To solve this issue:
(in 'package.json')