Skip to content
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

Fail to install #163

Open
ArthurKors opened this issue Aug 13, 2021 · 1 comment
Open

Fail to install #163

ArthurKors opened this issue Aug 13, 2021 · 1 comment

Comments

@ArthurKors
Copy link

Hi,

I follow those steps (on linux) :

it ends up with :

Loading "mouf/mouf-installer" which is a legacy composer-installer built for Composer 1.x, it is likely to cause issues as you are running Composer 2.x.
Loading "mouf/mouf-installer" which is a legacy composer-installer built for Composer 1.x, it is likely to cause issues as you are running Composer 2.x.
  - Installing mouf/mouf-validators-interface (v2.0.0): Extracting archive
  - Installing mouf/classname-mapper (v1.0.2): Extracting archive
  - Installing psr/container (1.1.1): Extracting archive
  - Installing container-interop/container-interop (1.2.0): Extracting archive
  - Installing mouf/mouf (v2.0.33): Extracting archive
    Install of mouf/mouf failed
 5/5 [============================] 100%

  [InvalidArgumentException]
  Composer could not find the config file: composer-mouf.json
  To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage

So,I install composer 1
It seems to work, but after clicking on 'install' in the UI, it sends me to "/install" which obviously doesn't exists

Please helpe me !

@WizMik
Copy link

WizMik commented Jan 3, 2023

I don't know if it's the same error, but Mouf 2.0.42 fails to install with this error :

  - Downloading mouf/mouf-installer (v2.0.3)
  - Downloading mouf/mouf-validators-interface (v2.0.0)
  - Downloading mouf/classname-mapper (v1.0.2)
  - Downloading psr/container (1.1.2)
  - Downloading container-interop/container-interop (1.2.0)
  - Downloading mouf/mouf (v2.0.42)
  - Installing mouf/mouf-installer (v2.0.3): Extracting archive
  - Installing mouf/mouf-validators-interface (v2.0.0): Extracting archive
  - Installing mouf/classname-mapper (v1.0.2): Extracting archive
  - Installing psr/container (1.1.2): Extracting archive
  - Installing container-interop/container-interop (1.2.0): Extracting archive
  - Installing mouf/mouf (v2.0.42): Extracting archive
    Install of mouf/mouf failed
 5/5 [============================] 100%
In Process.php line 349:
                                       
  The provided cwd "" does not exist.

Experienced on a PHP 8.1 env, using the thecodingmachine/php:8.1-v4-apache docker image.

I tried to follow the error and it seems to be triggered while executing mouf-install, especially before execu:ting line Mouf\Installer\MoufFrameworkInstaller:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants