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

[rivsen@rivsen-dell-pcsymfony]$composerupdate-v
Loadingcomposerrepositorieswithpackageinformation
Updatingdependencies
-Updatingkriswallsmith/asseticdev-master(deed96b=>8ca1861)
Checkingout8ca1861fbed58e2c6ffcca5c0a1726c40a10a77c
[RuntimeException]
Failedtoclonehttp://github.com/kriswallsmith/assetic.gitviagit,httpsandhttpprotocols,aborting.
-git://github.com/kriswallsmith/assetic.git
fatal:没有此远程'composer'
-https://github.com/kriswallsmith/assetic.git
fatal:没有此远程'composer'
-http://github.com/kriswallsmith/assetic.git
fatal:没有此远程'composer'
Exceptiontrace:
()atphar:///usr/local/bin/composer/src/Composer/Downloader/GitDownloader.php:341
Composer\Downloader\GitDownloader->throwException()atphar:///usr/local/bin/composer/src/Composer/Downloader/GitDownloader.php:291
Composer\Downloader\GitDownloader->runCommand()atphar:///usr/local/bin/composer/src/Composer/Downloader/GitDownloader.php:67
Composer\Downloader\GitDownloader->doUpdate()atphar:///usr/local/bin/composer/src/Composer/Downloader/VcsDownloader.php:91
Composer\Downloader\VcsDownloader->update()atphar:///usr/local/bin/composer/src/Composer/Downloader/DownloadManager.php:212
Composer\Downloader\DownloadManager->update()atphar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:158
Composer\Installer\LibraryInstaller->updateCode()atphar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:105
Composer\Installer\LibraryInstaller->update()atphar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:171
Composer\Installer\InstallationManager->update()atphar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:138
Composer\Installer\InstallationManager->execute()atphar:///usr/local/bin/composer/src/Composer/Installer.php:460
Composer\Installer->doInstall()atphar:///usr/local/bin/composer/src/Composer/Installer.php:187
Composer\Installer->run()atphar:///usr/local/bin/composer/src/Composer/Command/UpdateCommand.php:82
Composer\Command\UpdateCommand->execute()atphar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:238
Symfony\Component\Console\Command\Command->run()atphar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:193
Symfony\Component\Console\Application->doRun()atphar:///usr/local/bin/composer/src/Composer/Console/Application.php:101
Composer\Console\Application->doRun()atphar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:106
Symfony\Component\Console\Application->run()atphar:///usr/local/bin/composer/src/Composer/Console/Application.php:74
Composer\Console\Application->run()atphar:///usr/local/bin/composer/bin/composer:37
require()at/usr/local/bin/composer:15但是我手动调用gitclone那几个地址都是可以clone的
慕婉清6462132
浏览 423回答 2
2回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript