Error: Command failed: composer update -n

during the generate process in php an error message appears like this;Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1

  • Root composer.json requires PHP extension ext-intl * but it is missing from your system. Install or enable PHP’s intl extension.
    To enable extensions, verify that they are enabled in your .ini files:
  • C:\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.

achmad wrote:

Root composer.json requires > PHP extension ext-intl * but it is missing from your system. Install or enable PHP’s intl extension.
To enable extensions, verify that they are enabled in your .ini files: C:\xampp\php\php.ini
You can also run > php --ini > in a terminal to see which files are used by PHP in CLI mode.

You may also read Composer.