skip to Main Content

Currently, I am building the AI Image-Generator, but I couldn’t install axios after adding Tailwind CSS to project.

The attached image is as follows.
enter image description here

The command that I tried for axios is as follows.

yarn add axios

3

Answers


  1. Chosen as BEST ANSWER

    This issue occurred because of node version. I downgraded node version, and it works.


  2. It seems like your postcss dependency is corrupted somehow.
    Try removing then reinstalling tailwind dependencies.

    Login or Signup to reply.
  3. Try it using npm:

    npm install axios
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search