lonnieezell / Bonfire2

CodeIgniter 4-based application skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation error

breneo1 opened this issue · comments

commented

These are the steps I performed:

composer create-project codeigniter4/appstarter my-app --dev
add "minimum-stability": "dev" in to composer.json:
composer update
composer require lonnieezell/bonfire --dev

installation failed

In that order :

  1. composer create-project codeigniter4/appstarter my-app --dev
  2. add "minimum-stability": "dev" in to composer.json:
  3. composer update
  4. php builds development
  5. composer update
  6. composer require lonnieezell/bonfire --dev

Bonfire are add to project but still have problem with :

  • php spark bf:install

PS C:\Users\buraw\Git\ci4pack> php spark bf:install

Fatal error: Uncaught TypeError: Argument 1 passed to CodeIgniter\CLI\Console::__construct() must be an instance of CodeIgniter\CodeIgniter, int given, called in C:\Users\buraw\Git\ci4pack\spark on line 48 and defined in C:\Users\buraw\Git\ci4pack\vendor\codeigniter4\codeigniter4\system\CLI\Console.php:29
Stack trace:
#0 C:\Users\buraw\Git\ci4pack\spark(48): CodeIgniter\CLI\Console->__construct(1)
#1 {main}
thrown in C:\Users\buraw\Git\ci4pack\vendor\codeigniter4\codeigniter4\system\CLI\Console.php on line 29

In browser error
image

before installing Bonfire, the start page of CodeIgniter was displayed correctly