8000 [Bug] Error when installing "form" package · Issue #26 · symfony/flex · GitHub
[go: up one dir, main page]

Skip to content
[Bug] Error when installing "form" package #26
@javiereguiluz

Description

@javiereguiluz

In a fresh Symfony app, I install form without problems:

$ composer require form

Using version ^3.3@dev for symfony/form
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 6 installs, 0 updates, 0 removals
  - Installing symfony/inflector (dev-master 3b19c08): Loading from cache
  - Installing symfony/property-access (dev-master 65b1197): Loading from cache
  - Installing symfony/options-resolver (dev-master 5edcb71): Loading from cache
  - Installing symfony/intl (dev-master dc7b5a5): Loading from cache
  - Installing symfony/polyfill-intl-icu (dev-master 2d6e2b2): Loading from cache
  - Installing symfony/form (dev-master 38a1f33): Downloading (100%)
Writing lock file
Generating autoload files
Executing script make cache-warmup [OK]
Skipping "assets:install --symlink --relative web" (needs symfony/console to run).

However, if I install cli afterwards, I see this error (I made no change in the app between the installation of "form" and "cli"):

$ composer req cli

Using version ^3.3@dev for symfony/console
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing symfony/console (dev-master 1030e32): Loading from cache
    Detected auto-configuration settings for "symfony/console"
    Setting configuration and copying files
Writing lock file
Generating autoload files
Executing script make cache-warmup [OK]
Executing script assets:install --symlink --relative %WEB_DIR% [KO]
 [KO]
Script assets:install --symlink --relative %WEB_DIR% returned with error code 1
!!
!!
!!    [Symfony\Component\DependencyInjection\Exception\LogicException]
!!    Form support cannot be enabled as the Translation component is not installe
!!    d.
!!
!!
!!
!!

Installation failed, reverting ./composer.json to its original content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0