Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Composer install/update fails with npm #174

Open
carlos-andres opened this issue Dec 5, 2019 · 4 comments
Open

Composer install/update fails with npm #174

carlos-andres opened this issue Dec 5, 2019 · 4 comments

Comments

@carlos-andres
Copy link

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.jparrowsec.cn-vibornoff-asmc
rypto.js/'

Cloning into bare repository '/Users/user/.composer/cache/vcs/git-https---github.jparrowsec.cn-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
Copy link

szabcsee commented Jan 22, 2020

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

@carlos-andres
Copy link
Author

@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
Copy link

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

@olariuromeo
Copy link

olariuromeo commented Oct 23, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants