Closed mnurulhuda closed 7 years ago
Try:
$ composer self-update
$ composer global remove fxp/composer-asset-plugin --no-plugins
$ composer global require fxp/composer-asset-plugin:^1.3.0 --prefer-dist
The result is same.
I have a doubt that the problem comes from my plugin. The file_get_contents
function cannot read your composer.json
file. What is your version of Composer?
Composer version 1.4.1 2017-03-10 09:29:45
I just installed the composer
The problem does not come from the plugin. Create an issue in the Composer project.
I have tried to install composer-asset-plugin and i run :
composer global require "fxp/composer-asset-plugin:^1.2.0"
but the installation is failed. I get:
Installation failed, reverting ./composer.json to its original content. [Composer\Downloader\TransportException] Content-Length mismatch
How to solve my problem