I am a regsiterd user and want to uopdate PHPmaker
After downloading a aniew version 2021, inslataltion and generation the code , teh following error accoured through the generation process ia ared color.
Error: Command failed: composer update -n --no-suggest
at checkExecSyncError (child_process.js:630:11)
at execSync (child_process.js:666:15)
at global.Exec (C:\Program Files (x86)\PHPMaker 2021\node\node_modules\phpmaker\phpmaker.js:7:354114)
at global.RunComposerUpdate (C:\Program Files (x86)\PHPMaker 2021\node\node_modules\phpmaker\phpmaker.js:7:353941)
at C:\Program Files (x86)\PHPMaker 2021\node\node_modules\phpmaker\phpmaker.js:7:358660
I have checed the internet connection , no problem.
Could zou help please<
Are you sure you have installed and set up Composer properly? Read: https://phpmaker.dev/doc/sysreq.htm#composer. (Normally running PHPMaker as administrator should not be required, but you can try.)
The requirements for Composer has not been changed from v2020 to v2021. However, since v2021 requires PHP >= 7.2, you might have updated PHP, and Composer uses PHP. Your Composer might be still trying to find the old PHP according to the old path from the PATH environment variable. You can try reinstall Composer. The Composer-Setup.exe is shipped with PHPMaker and you can find it under C:\Program Files (x86)\PHPMaker 2021. Also check the PATH environment variable and make sure the path to the PHP installed folder is correct.