Could not load package rmrevin/yii2-fontawesome

Hi I have installed composer and it was working fine for yii2 but now i have to install a package composer require fedemotta/yii2-aws-sdk but it is showing error.

./composer.json has been updated

Loading composer repositories with package information

Updating dependencies (including require-dev)

[RuntimeException]

Could not load package rmrevin/yii2-fontawesome

[UnexpectedValueException] Could not parse version constraint v4.1.

: Invalid version string "v4.1."

[UnexpectedValueException]

Could not parse version constraint v4.1.: Invalid version string "v4.1."

I have googled it and got many thinks and i have tried everything as

composer require rmrevin/yii2-fontawesome --prefer-dist

composer require dmstr/yii2-adminlte-asset "2.*"

but i am unable to resolve this issue.Neither it is getting updated nor installing anything new.

I don’t want to use :

composer create-project --prefer-dist --stability=dev writesdown/app-cms writesdown

as it install new directory and i don’t want it.Please help.