aerni / statamic-font-awesome

A Statamic addon to easily add Font Awesome icons
https://statamic.com/addons/aerni/font-awesome
MIT License
3 stars 3 forks source link

Error during install #2

Closed stvnthomas closed 2 years ago

stvnthomas commented 2 years ago

Thanks for this addon!

Ran into a small issue when installing the package. The following error is thrown during composer install/package discovery:

Aerni\FontAwesome\FontAwesome::authToken(): Return value must be of type string, null returned
at vendor/aerni/font-awesome/src/FontAwesome.php:88

It looks like it's trying to authenticate with Font Awesome before the package has been configured with the tokens. Works perfect if they're set up in .env and config/font-awesome.php before running composer require.

aerni commented 2 years ago

Thanks for the hint. Just fixed it with v1.0.1.