Answer the question
In order to leave comments, you need to log in
Why can't I install plugins via composer in Windows?
I installed composer in Windows, in the process I specified the path to the php.exe file, which is located in D:\OpenServer\modules\php\PHP-7-x64\php.exe
Now I try to install the composer-asset-plugin and an error pops up
composer global require "fxp/composer-asset-plugin:~1.0.3"
Changed current directory to C:/Users/nicu/AppData/Roaming/Composer
./composer.json has been updated
Loading composer repositories with package information
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: failed load
ing cafile stream: `d:/openserver/modules/php/PHP-7-x64/cacert.pem'
Failed to enable crypto
failed to open stream: operation failed
Answer the question
In order to leave comments, you need to log in
composer is in OpenServer out of the box. Why did you install it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question