[NPM] - Installing Axios Library on Terminal with Errors - | SheCodes

[NPM] - Installing Axios Library on Terminal with Errors

Learn how to fix terminal installation errors when trying to install Axios with NPM. Make sure you have correct permissions, Node.js and NPM installed.

👩‍💻 Technical question

Asked 2 years ago in NPM by Christina

Terminal is not letting me install axios, it says error every time

🤖 SheCodes Athena says:

Answered in 6.38 seconds

It looks like you're trying to install the Axios library from the NPM registry. One possible reason for this error is that you don't have permissions to install the library. Try doing a sudo npm install axios in your terminal, which should allow npm to install with root privileges. Additionally, make sure you have Node.js and NPM installed onto your machine. You can verify this by running npm version in your terminal.