Closed GowthamThangamani closed 8 years ago
its a problem on your composer run
composer global require "fxp/composer-asset-plugin:@dev"
then you be able to install this package
When I trying install this package got an error. How to fix it?
[ErrorException]
Illegal offset type in isset or empty
P.S. before installing I run composer global require "fxp/composer-asset-plugin:@dev"
C:\wamp_new\www\yii2advance>php composer.phar require 2amigos/yii2-date-picker-w idget:~1.0 You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug The "yiisoft/yii2-composer" plugin requires composer-plugin-api 1.0.0, this WIL L break in the future and it should be fixed ASAP (require ^1.0 for example). ./composer.json has been updated The "yiisoft/yii2-composer" plugin requires composer-plugin-api 1.0.0, this WIL L break in the future and it should be fixed ASAP (require ^1.0 for example). Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further commo n problems.
Installation failed, reverting ./composer.json to its original content.