asmcrypto / asmcrypto.js

JavaScript Cryptographic Library with performance in mind.
MIT License
659 stars 182 forks source link

Composer install/update fails with npm #174

Open carlos-andres opened 4 years ago

carlos-andres commented 4 years ago

Good day i try to run composer update / install on a mac but i got next error, i can appreciate any help. thanks.

`Adding VCS repository npm-asset/asmcrypto.js

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

[RuntimeException] Failed to execute git clone --mirror 'git+https://github.com/vibornoff/asmcrypto.js' '/Users/user/.composer/cache/vcs/git-https---github.com-vibornoff-asmc rypto.js/'

Cloning into bare repository '/Users/user/.composer/cache/vcs/git-https---github.com-vibornoff-asmcrypto.js'... fatal: unable to find remote helper for 'git+https'

Exception trace: () at phar:///usr/local/Cellar/composer/1.9.1/bin/composer/src/Composer/Util/Git.php:379 Composer\Util\Git->throwException() at phar:///usr/local/Cellar/composer/1.9.1/bin/composer/src/Composer/Util/Git.php:233 Composer\Util\Git->runCommand() at phar:///usr/local/Cellar/composer/1.9.1/bin/composer/src/Composer/Util/Git.php:262 Composer\Util\Git->syncMirror() at /Users/user/.composer/vendor/fxp/composer-asset-plugin/Repository/Vcs/GitDriver.php:107 Fxp\Composer\AssetPlugin\Repository\Vcs\GitDriver->initializeRemotePath() at /Users/user/.composer/vendor/fxp/composer-asset-plugin/Repository/Vcs/GitDriver.php:62 Fxp\Composer\AssetPlugin\Repository\Vcs\GitDriver->initialize() at phar:///usr/local/Cellar/composer/1.9.1/bin/composer/src/Composer/Repository/VcsRepository.php:102 Composer\Repository\VcsRepository->getDriver() at /Users/user/.composer/vendor/fxp/composer-asset-plugin/Repository/AbstractAssetVcsRepository.php:134 Fxp\Composer\AssetPlugin\Repository\AbstractAssetVcsRepository->initDriver() at /Users/user/.composer/vendor/fxp/composer-asset-plugin/Repository/AssetVcsRepository.php:59 Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository->initFullDriver() at /Users/user/.composer/vendor/fxp/composer-asset-plugin/Repository/AssetVcsRepository.php:44 Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository->initialize() at phar:///usr/local/Cellar/composer/1.9.1/bin/composer/src/Composer/Repository/ArrayRepository.php:185 Composer\Repository\ArrayRepository->getPackages() at phar:///usr/local/Cellar/composer/1.9.1/bin/composer/src/Composer/DependencyResolver/Pool.php:104 Composer\DependencyResolver\Pool->addRepository() at /Users/user/.composer/vendor/fxp/composer-asset-plugin/Repository/Util.php:71`

szabcsee commented 4 years ago

@carlos-andres have you found any solution for this? I ran into the same problem.

carlos-andres commented 4 years ago

@szabcsee Good day.

the option that i use is

  1. brew with nvm and using node stable 12 and npm ^6

  2. Clone script, and install using node, (and i need to use npm audit fix) then copy the file manually to the project..

I know it is not sustainable but it is a temporary solution, because the package is not available in packagist to composer

Screen Shot 2020-01-22 at 7 45 09 AM
AlexanderAndria commented 4 years ago

Problem in the package meganz/jodid25519 https://github.com/meganz/jodid25519/blob/master/package.json string 41

olariuromeo commented 1 year ago

i have the some error, run composer update / install npn