I’ve been going through this course on YouTube - Learn Bootstrap 5 and SASS by Building a Portfolio Website 5 hour course 9
I get the following error code when I try to install Fontawesome
$ npm install --save @fontawesome/fontawesome-free
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/@fontawesome%2Ffontawesome-free failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\USER\AppData\Roaming\npm-cache_logs\2021-06-27T19_12_57_378Z-debug.log
I’ll try to use the CDN as you’ve suggested. However for the purpose of learning I really wish to understand why I’m not being able to install it so as to know how to go about that in the future.
Thanks again. I’ve done that severally. I still doubt it has something to do with my connectivity as I was able to install the other dependencies without issues.