Help me pleaseRunning composer update -n --ignore-platform-req php…
‘composer’ is not recognized as an internal or external command,
operable program or batch file.
node:child_process:828
err = new Error(msg);
^
Error: Command failed: composer update -n --ignore-platform-req php
at checkExecSyncError (node:child_process:828:11)
at execSync (node:child_process:902:15)
at global.Exec (C:\Users\IT\AppData\Roaming\PHPMaker2022\node_modules@phpmaker\core\phpmaker.js:8:260687)
at global.RunComposerUpdate (C:\Users\IT\AppData\Roaming\PHPMaker2022\node_modules@phpmaker\core\phpmaker.js:8:266216)
at C:\Users\IT\AppData\Roaming\PHPMaker2022\node_modules@phpmaker\core\phpmaker.js:8:271764
at {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 1328,
stdout: null,
stderr: null
}
Error(s) occurred. Compilation of .scss files skipped.
Generation completed with error(s), please scroll up (if necessary) to check error(s) highlighted in red.
As the error message said:
Generation completed with error(s), please scroll up (if necessary) to check error(s) highlighted in red.
Have you already installed Composer?
Yes.I forgot to read the help on the phpmaker application, so when I found a solution on this forum I also used the following link:https://discourse.hkvstore.com/t/migrating-to-v2022/655/1
https://phpmaker.dev/docs/#/composer.html
https://phpmaker.dev/docs/#/urlrewrite.htmlUntil finally I managed to generate perfectly.Thanks