thecodingmachine / mouf

The Mouf PHP framework: an open-source PHP framework providing an easy way to download, install, use and reuse components, with a graphical user interface.
MIT License
54 stars 28 forks source link

Fail to install #163

Open ArthurKors opened 3 years ago

ArthurKors commented 3 years ago

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 commented 1 year ago

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