为了账号安全,请及时绑定邮箱和手机立即绑定

使用composer时候报错了,提示没有此远程composer

使用composer时候报错了,提示没有此远程composer

慕婉清6462132 2019-04-06 08:31:49
[rivsen@rivsen-dell-pcsymfony]$composerupdate-vLoadingcomposerrepositorieswithpackageinformationUpdatingdependencies-Updatingkriswallsmith/asseticdev-master(deed96b=>8ca1861)Checkingout8ca1861fbed58e2c6ffcca5c0a1726c40a10a77c[RuntimeException]Failedtoclonehttp://github.com/kriswallsmith/assetic.gitviagit,httpsandhttpprotocols,aborting.-git://github.com/kriswallsmith/assetic.gitfatal:没有此远程'composer'-https://github.com/kriswallsmith/assetic.gitfatal:没有此远程'composer'-http://github.com/kriswallsmith/assetic.gitfatal:没有此远程'composer'Exceptiontrace:()atphar:///usr/local/bin/composer/src/Composer/Downloader/GitDownloader.php:341Composer\Downloader\GitDownloader->throwException()atphar:///usr/local/bin/composer/src/Composer/Downloader/GitDownloader.php:291Composer\Downloader\GitDownloader->runCommand()atphar:///usr/local/bin/composer/src/Composer/Downloader/GitDownloader.php:67Composer\Downloader\GitDownloader->doUpdate()atphar:///usr/local/bin/composer/src/Composer/Downloader/VcsDownloader.php:91Composer\Downloader\VcsDownloader->update()atphar:///usr/local/bin/composer/src/Composer/Downloader/DownloadManager.php:212Composer\Downloader\DownloadManager->update()atphar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:158Composer\Installer\LibraryInstaller->updateCode()atphar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:105Composer\Installer\LibraryInstaller->update()atphar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:171Composer\Installer\InstallationManager->update()atphar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:138Composer\Installer\InstallationManager->execute()atphar:///usr/local/bin/composer/src/Composer/Installer.php:460Composer\Installer->doInstall()atphar:///usr/local/bin/composer/src/Composer/Installer.php:187Composer\Installer->run()atphar:///usr/local/bin/composer/src/Composer/Command/UpdateCommand.php:82Composer\Command\UpdateCommand->execute()atphar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:238Symfony\Component\Console\Command\Command->run()atphar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:193Symfony\Component\Console\Application->doRun()atphar:///usr/local/bin/composer/src/Composer/Console/Application.php:101Composer\Console\Application->doRun()atphar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:106Symfony\Component\Console\Application->run()atphar:///usr/local/bin/composer/src/Composer/Console/Application.php:74Composer\Console\Application->run()atphar:///usr/local/bin/composer/bin/composer:37require()at/usr/local/bin/composer:15但是我手动调用gitclone那几个地址都是可以clone的
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 422 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信