Welcome Guest, Not a member yet? Register   Sign In
[split] Installer didn't
#1

Good evening

I tried to install via Composer CodeIgniter 4 on Debian 9.6 and this is the message

[InvalidArgumentException]
Could not find package codeigniter4/framework with stability stable.

is there an other method to install?

Thank You in advance

Emilio Franco
Reply
#2

Until CI4 is stable, you will need to tell composer that you are willing to install the alpha ...
Code:
composer create-project codeigniter4/framework PROJECT_ROOT -s alpha

I realize that the post-install script only runs on Linux (and references the wrong file), and that needs fixing too.

I will update the docs, sorry!
Reply
#3

(12-22-2018, 09:18 PM)ciadmin Wrote: Until CI4 is stable, you will need to tell composer that you are willing to install the alpha ...
Code:
composer create-project codeigniter4/framework PROJECT_ROOT -s alpha

I realize that the post-install script only runs on Linux (and references the wrong file), and that needs fixing too.

I will update the docs, sorry!

Thank You very much, and have a great X-MAS
Reply
#4

(12-24-2018, 05:43 PM)emilio Wrote:
(12-22-2018, 09:18 PM)ciadmin Wrote: Until CI4 is stable, you will need to tell composer that you are willing to install the alpha ...
Code:
composer create-project codeigniter4/framework PROJECT_ROOT -s alpha

I realize that the post-install script only runs on Linux (and references the wrong file), and that needs fixing too.

I will update the docs, sorry!

Thank You very much, and have a great X-MAS
Yes it runs on Linux (Debian 9.6) but now this is the result

[InvalidArgumentException]                                                   
  Could not find package codeigniter4/framework with stability alpha in a ver  
  sion installable using your PHP version 7.0.33.
Reply
#5

(12-24-2018, 05:47 PM)emilio Wrote: Yes it runs on Linux (Debian 9.6) but now this is the result

[InvalidArgumentException]                                                   
  Could not find package codeigniter4/framework with stability alpha in a ver  
  sion installable using your PHP version 7.0.33.

You need PHP 7.1 or higher. This is clear on both the user guide and the composer package page.

https://codeigniter4.github.io/CodeIgnit...ments.html
https://packagist.org/packages/codeigniter4/framework
Reply
#6

(12-24-2018, 06:19 PM)ciadmin Wrote:
(12-24-2018, 05:47 PM)emilio Wrote: Yes it runs on Linux (Debian 9.6) but now this is the result

[InvalidArgumentException]                                                   
  Could not find package codeigniter4/framework with stability alpha in a ver  
  sion installable using your PHP version 7.0.33.

You need PHP 7.1 or higher. This is clear on both the user guide and the composer package page.

https://codeigniter4.github.io/CodeIgnit...ments.html
https://packagist.org/packages/codeigniter4/framework

Thank You, I updated PHP to 7.2 version and at the end of installation by Composer i receive this message

Script bash admin/setup.sh handling the post-update-cmd event returned with error code 127
Reply




Theme © iAndrew 2016 - Forum software by © MyBB