Skip to content

Error when installing doctrine/annotations on next #17

@carsonbot-test

Description

@carsonbot-test

Symfony version(s) affected: next

Description
This code has previously been running fine. Today I got an unexpected error.

  (running /usr/local/bin/composer create-project symfony/skeleton /Users/tobias/Workspace/PHPStorm/symfony-integration-tests/tests/doctrine-annotations/tmp 5.3.x@dev --no-interaction)

Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(
Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(
Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(
Using version 1.13.x-dev for doctrine/annotations
./composer.json has been updated
Running composer update doctrine/annotations
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
  - Locking doctrine/annotations (1.13.x-dev c66f06b)
  - Locking doctrine/lexer (1.3.x-dev 59bfb3b)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
    0 [>---------------------------]    0 [>---------------------------]    0 [>---------------------------]  - Installing doctrine/lexer (1.3.x-dev 59bfb3b): Extracting archive
  - Installing doctrine/annotations (1.13.x-dev c66f06b): Extracting archive
 0/2 [>---------------------------]   0%
 2/2 [============================] 100%Generating optimized autoload files
29 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Symfony operations: 1 recipe (79cd841503dfab71b665a4f988e2f1c5)
  - Configuring doctrine/annotations (>=1.0): From github.com/symfony/recipes:master
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(
!!  
!!   // Clearing the cache for the dev environment with debug                       
!!   // true                                                                        
!!  
!!  
!!  In ClassExistenceResource.php line 181:
!!                                                                             
!!    Class "Doctrine\Common\Cache\CacheProvider" not found while loading "".  
!!                                                                             
!!  
!!  cache:clear [--no-warmup] [--no-optional-warmers]
!!  
!!  
Script @auto-scripts was called via post-update-cmd

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

How to reproduce

#!/bin/bash

set -e

symfony new tmp --version next
cd tmp
composer config prefer-stable false
composer update --quiet
composer require doctrine/annotations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions