-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yii2 composer error exception #74
Labels
Comments
Use the |
Thank you francois for your response, is the dev version for composer or for fxp/composer-asset-plugin . thanks again David |
For Composer and the plugin. |
@davidndunoon It's OK for you now? |
Hi Francois, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have been using Yii2 and installing extensions with composer but now I'm am getting an error exception, I have reinstalled xampp and composer but still getting error, below is details of exception that happens when installing any template or extention, any help would be appreciated.
c:\xampp\php>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Nothing to install or update
Writing lock file
Generating autoload files
c:\xampp\php>composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
Changed current directory to C:/Users/mcdermottd/AppData/Roaming/Composer
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Downloading: 100%
Writing lock file
Generating autoload files
c:\xampp\php>composer create-project --prefer-dist yiisoft/yii2-app-advanced yii
-application
Installing yiisoft/yii2-app-advanced (2.0.0)
Downloading: 100%
Created project in yii-application
Loading composer repositories with package information
Installing dependencies (including require-dev)
[ErrorException]
Argument 1 passed to Fxp\Composer\AssetPlugin\Repository\BowerRepository::c
reateVcsRepositoryConfig() must be of the type array, null given, called in
C:\Users\mcdermottd\AppData\Roaming\Composer\vendor\fxp\composer-asset-plu
gin\Repository\AbstractAssetsRepository.php on line 136 and defined
create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repos
itory-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--n
o-scripts] [--no-progress] [--keep-vcs] [--no-install] [package] [directory] [ve
rsion]
c:\xampp\php>
The text was updated successfully, but these errors were encountered: