Page 1 of 1

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

Posted: Sat Nov 26, 2022 1:49 pm
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


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

Posted: Sat Nov 26, 2022 4:39 pm
by mobhar

Which Composer version are you using?


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

Posted: Sun Nov 27, 2022 9:32 am
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.