编辑器需要或更新错误



尝试在Windows 10中更新作曲家时(今天之前很好(。但是今天我得到了这样的错误

    Reading C:/Users/Wilson/AppData/Local/Composer/repo/https---packagist.org/p-provider-2013.json from cache
Content-Length mismatch
http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Downloading http://packagist.org/p/provider-2017-01%24464ecabe7bed9235d9c8eab9973bf43265f6c91cf94ba8c49425d34dcb54b34e.json

  [ComposerDownloaderTransportException]
  The "http://packagist.org/p/provider-2017-01%24464ecabe7bed9235d9c8eab9973bf43265f6c91cf94ba8c49425d34dcb54b34e.jso
  n" file could not be downloaded (HTTP/1.1 302 Found)

Exception trace:
 () at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Util/RemoteFilesystem.php:373
 ComposerUtilRemoteFilesystem->get() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Util/RemoteFilesystem.php:101
 ComposerUtilRemoteFilesystem->getContents() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ComposerRepository.php:665
 ComposerRepositoryComposerRepository->fetchFile() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ComposerRepository.php:577
 ComposerRepositoryComposerRepository->loadProviderListings() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ComposerRepository.php:296
 ComposerRepositoryComposerRepository->whatProvides() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Pool.php:204
 ComposerDependencyResolverPool->computeWhatProvides() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Pool.php:193
 ComposerDependencyResolverPool->whatProvides() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Installer.php:987
 ComposerInstaller->processDevPackages() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Installer.php:466
 ComposerInstaller->doInstall() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Installer.php:223
 ComposerInstaller->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Command/UpdateCommand.php:158
 ComposerCommandUpdateCommand->execute() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Command/Command.php:257
 SymfonyComponentConsoleCommandCommand->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:850
 SymfonyComponentConsoleApplication->doRunCommand() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:193
 SymfonyComponentConsoleApplication->doRun() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:227
 ComposerConsoleApplication->doRun() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Application.php:124
 SymfonyComponentConsoleApplication->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:100
 ComposerConsoleApplication->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:54
 require() at C:ProgramDataComposerSetupbincomposer.phar:24

请帮忙。谢谢。

实际上我添加了两个名称不同的相同插件,例如

"kartik-v/yii2-widgets": "*", and "kartik-v/yii2-widget-select2": "@dev"

所以作曲家给出结果(HTTP/1.1 302 找到(。再次感谢Bizley评论我的问题。

相关内容

  • 没有找到相关文章

最新更新