Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot find module '@fortawesome/angular-fontawesome'

I am trying to install fontawesome<0.4.x> in Angular8, but it gives me an error and say :

npm ERR! code E404

npm ERR! 404 Not Found - GET https://registry.npmjs.org/0.4.x - Not found

npm ERR! 404 

npm ERR! 404  '0.4.x@latest' is not in the npm registry.

npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

npm ERR! 404 

I followed the process based on this page

But after executing the last line ($ npm install @fortawesome/angular-fontawesome@<version>) it gives me ERR 404 !! I will appreciate your help ... Thanx

like image 281
sahar mohammadi Avatar asked Oct 20 '25 13:10

sahar mohammadi


1 Answers

When you use @ at the end you need to set the version like the following command.

$ npm install @fortawesome/[email protected]

The official forawesome npm page has a full description of which version to use for each angular version.

like image 75
danywalls Avatar answered Oct 23 '25 04:10

danywalls