I am trying to install Font Awesome in my angular project. Installed using the following command in terminal
ng add @fortawesome/[email protected]
It installed successfully. Now it is giving dependency error.
The target entry-point "@fortawesome/angular-fontawesome" has missing dependencies: - @fortawesome/fontawesome-svg-core - @fortawesome/fontawesome-common-types
I checked package.json and both of these exist there.


What am i doing wrong?
As suggested by @Yaroslav, I deleted the node_modules folder and ran npm install. This fixed the issue.
I know I'm late but incase anybody struggling with the same issue I can suggest not to do anything but to restart the angular serve which will basically compile the new added packages and the reason why this issue happen is the angular cli doesn't compile the packages while the serve is running
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With