Error: Command failed: composer update -n --no-audit --ansi
at genericNodeError (node:internal/errors:956:15)
at wrappedFn (node:internal/errors:510:14)
at checkExecSyncError (node:child_process:890:11)
at execSync (node:child_process:962:15)
You need to post the complete error message. Check the actual errors shown in red.
1 Like
Your requirements could not be resolved to an installable set of packages.
Problem 1
* Root composer.json requires phpoffice/phpspreadsheet ^2.1.0 → satisfiable by phpoffice/phpspreadsheet\[2.1.0, …, 2.4.0\].
* phpoffice/phpspreadsheet\[2.1.0, …, 2.4.0\] require ext-zip \* → it is missing from your system. Install or enable PHP’s zip extension.
Alternatively you can require one of these packages that provide the extension (or parts of it):
Keep in mind that the suggestions are automated and may not be valid or safe to use
* badpixxel/paddock Just The Paddock Project
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-zip` to temporarily ignore these required extensions.
node:internal/errors:956
const err = new Error(message);
^
Error: Command failed: composer update -n --no-audit --ansi
...
As the error message says:
ext-zip is missing from your system. Install or enable PHP’s zip extension.
1 Like