redrabbit / git.limo

A Git source code management tool powered by Elixir with easy installation & high extensibility.
https://git.limo
MIT License
497 stars 42 forks source link

npm install error fontawesome-pro #69

Closed ghost closed 4 years ago

ghost commented 4 years ago

Trying to run npm install inside gitgud_web/assets leads to the following error:

root@gitgud:/opt/gitgud/apps/gitgud_web/assets# npm install --loglevel=error                                       
npm ERR! code E404                                                                                                 
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@fortawesome%2ffontawesome-pro - Not found                 
npm ERR! 404                                                                                                       
npm ERR! 404  '@fortawesome/fontawesome-pro@5.10.2' 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                                                                                                       
npm ERR! 404 Note that you can also install from a                                                                 
npm ERR! 404 tarball, folder, http url, or git url.                                                                

npm ERR! A complete log of this run can be found in:                                                               
npm ERR!     /root/.npm/_logs/2020-01-20T18_29_35_054Z-debug.log         

Are there any reason why gitgud requires fontawesome-pro? The pro version requires a license and I'm unaware how anyone can simply install the package. I'd think that it makes more sense to use the free version as anyone can install it without any problems.

ghost commented 4 years ago

Alright, looks like git pull didn't correctly do its thing as it was stuck somewhere greatly behind. Cleaning up and pulling again from the github repository worked. Installing through npm worked without any issues. Apologizes for the noise.