Skip to content

Cannot execute assets:install after installing Symfony 4.3-dev #29707

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jlslew opened this issue Dec 28, 2018 · 0 comments
Closed

Cannot execute assets:install after installing Symfony 4.3-dev #29707

jlslew opened this issue Dec 28, 2018 · 0 comments

Comments

@jlslew
Copy link

jlslew commented Dec 28, 2018

Symfony version(s) affected: 4.3-dev

Description

In AssetsInstallCommand.php line 99:

Attempted to call an undefined method named "getContainer" of class "Symfony\Bundle\FrameworkBundle\Command\AssetsInstallCommand".

assets:install [--symlink] [--relative] [--no-cleanup] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] []

How to reproduce

  • composer create-project symfony/website-skeleton test -s dev
  • php bin/console assets:install
@fabpot fabpot closed this as completed Jan 2, 2019
fabpot added a commit that referenced this issue Jan 2, 2019
… kernel (xabbuh)

This PR was submitted for the master branch but it was merged into the 4.1 branch instead (closes #29708).

Discussion
----------

[FrameworkBundle] access the container getting it from the kernel

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #29707
| License       | MIT
| Doc PR        |

Commits
-------

68ea3f1 access the container getting it from the kernel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants