Skip to content

Install failure on Mac M1 #49

@mmerry

Description

@mmerry

A fresh git pull from today for a first time install results in the installation plugin not loading (and not present in the plugins directory).

With the current version of composer.json, running composer update fails with:

composer update
Loading composer repositories with package information
Updating dependencies                                 
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires muffin/footprint dev-master -> satisfiable by muffin/footprint[dev-master].
    - muffin/footprint dev-master requires cakephp/cakephp ^5.0 -> found cakephp/cakephp[5.0.0-beta1, ..., 5.x-dev] but it conflicts with your root composer.json require (3.10.*).
  Problem 2
    - Root composer.json requires cakephp-app-installer/installer dev-master#de2ce42 -> satisfiable by cakephp-app-installer/installer[dev-master].
    - cakephp-app-installer/installer dev-master requires cakephp/cakephp ^4.3.0 -> found cakephp/cakephp[4.3.0-RC1, ..., 4.x-dev] but it conflicts with your root composer.json require (3.10.*).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

I updated composer.json to what I think are approximate correct verisons of the package given the hard requirement on cakepho 3.10.*. The updates I made to composer.json were:

...
"muffin/footprint": "^1.2",
...
"cakephp-app-installer/installer": "^3.0",
...

And after that I successfully ran composer install. Navigating to http://localhost/installer/install with debug=true in app.php results in an error:

Error: The application is trying to load a file from the Installer plugin. 

Make sure your plugin Installer is in the /Users/username/Zuluru3/plugins/ directory and was loaded.
<?php
// src/Application.php
public function bootstrap()
{
    parent::bootstrap();

    $this->addPlugin('Installer');
}

I'm not well versed in cake, so I'm not sure if Installer is indeed a plugin and if it is, why it's not present.

Also, would be good to mention in the readme that mod_rewrite should be enabled :) I had to dig through the Zuluru v1 GitHub project to figure that one out.

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