J
J
JP_Cool2017-07-01 18:42:50
Yii
JP_Cool, 2017-07-01 18:42:50

How to solve problem when installing extension via composer in yii2?

I want to install the ElFinder extension for Yii2 via composer. Gives the following error:

Installation failed, reverting ./composer.json to its original content.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-07-02
@JP_Cool

Installation failed, reverting ./composer.json to its original content.

This is not a mistake, the mistake was written earlier, give its text. This line says that the composer returned everything in its place, since there was an error, but which one is not clear. Somewhere above it is described, give more data.
Of the frequent problems with the composer, I can name the absence of a mandatory plugin for it:
composer-asset-plugin
is installed like this:
composer global require "fxp/composer-asset-plugin:~1.3"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question