Welcome Guest, Not a member yet? Register   Sign In
CI 4 - installation with composer showing errors
#1

(This post was last modified: 03-30-2022, 05:24 AM by Ahmed Haroon.)

when installing CI 4 with below command from official user guide (Getting Up and Running), it is showing some errors as shown in screenshot below, please help to have a working environment. i have XAMPP version 3.3.0 (portable) on a Windows 10 machine, folder: D:\xampp 

Quote:
Quote:D:\xampp\htdocs>composer create-project codeigniter4/appstarter ci-news
Creating a "codeigniter4/appstarter" project at "./ci-news"
https://repo.packagist.org could not be fully loaded (curl error 6 while downloading https://repo.packagist.org/packages.json: Could not resolve host: repo.packagist.org), package information was loaded from the local cache and may be out of date
Installing codeigniter4/appstarter (v4.1.9)
  - Installing codeigniter4/appstarter (v4.1.9): Extracting archive
Created project in D:\xampp\htdocs\ci-news
Loading composer repositories with package information
https://repo.packagist.org could not be fully loaded (curl error 6 while downloading https://repo.packagist.org/packages.json: Could not resolve host: repo.packagist.org), package information was loaded from the local cache and may be out of date
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - codeigniter4/framework[4.0.0, ..., v4.1.9] require ext-intl * -> it is missing from your system. Install or enable PHP's intl extension.
    - Root composer.json requires codeigniter4/framework ^4 -> satisfiable by codeigniter4/framework[4.0.0, ..., v4.1.9].

To enable extensions, verify that they are enabled in your .ini files:
    - D:\xampp\php\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-intl` to temporarily ignore these required extensions.

D:\xampp\htdocs>
regards.


it seems installed now using 
Quote:composer --ignore-platform-req=ext-intl create-project codeigniter4/appstarter ci-news

but when trying to run in browser it is showing following:


Quote:                            Whoops!
We seem to have hit a snag. Please try again later...


what is missing now? or something went wrong?
please help.
regards
Reply


Messages In This Thread
CI 4 - installation with composer showing errors - by Ahmed Haroon - 03-30-2022, 05:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB