Error: Command failed: composer update -n --ignore-platform-req php

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
twolsey
User
Posts: 1

Error: Command failed: composer update -n --ignore-platform-req php

Post by twolsey »

Hello

Very new to PHPMaker 2023. When I am generating the project, I am receiving the following errors. Any help would be much appreciated

Error: Command failed: composer update -n --ignore-platform-req php
at checkExecSyncError (node:child_process:871:11)
at execSync (node:child_process:943:15)
at global.Exec (C:\Users\tony\AppData\Roaming\PHPMaker2023\node_modules\@phpmaker\core\phpmaker.js:8:266880)
at global.RunComposerUpdate (C:\Users\tony\AppData\Roaming\PHPMaker2023\node_modules\@phpmaker\core\phpmaker.js:8:272551)
at C:\Users\tony\AppData\Roaming\PHPMaker2023\node_modules\@phpmaker\core\phpmaker.js:8:278356

thanks
Tony


mobhar
User
Posts: 11660

Post by mobhar »

Which Composer version are you using?


arbei
User
Posts: 9284

Post by arbei »

You need to scroll up to see the actual error message, usually in red, you may also search "Command failed: composer update" in the forum.


Post Reply