Hi…i try to compile php maker project
but show error like this:Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Downloading firebase/php-jwt (v6.9.0)
- Downloading firebase/php-jwt (v6.9.0)
- Downloading firebase/php-jwt (v6.9.0)
- Downloading firebase/php-jwt (v6.9.0)
Failed to download firebase/php-jwt from dist: curl error 28 while downloading https://api.github.com/repos/firebase/php-jwt/zipball/f03270e63eaccf3019ef0f32849c497385774e11: Connection timed out after 10006 milliseconds
Now trying to download from source
In GitDownloader.php line 82:
git was not found in your PATH, skipping source download
update [–with WITH] [–prefer-source] [–prefer-dist] [–prefer-install PREFER-INSTALL] [–dry-run] [–dev] [–no-dev] [–lock] [–no-install] [–no-audit] [–audit-format AUDIT-FORMAT] [–no-autoloader] [–no-suggest] [–no-progress] [-w|–with-dependencies] [-W|–with-all-dependencies] [-v|vv|vvv|–verbose] [-o|–optimize-autoloader] [-a|–classmap-authoritative] [–apcu-autoloader] [–apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [–ignore-platform-req IGNORE-PLATFORM-REQ] [–ignore-platform-reqs] [–prefer-stable] [–prefer-lowest] [-i|–interactive] [–root-reqs] [–] […]
node:internal/errors:841
const err = new Error(message);
^
Error: Command failed: composer update -n --ignore-platform-req php
at checkExecSyncError (node:child_process:828:11)
at execSync (node:child_process:899:15)
at global.Exec (C:\Users\Hazna\AppData\Roaming\PHPMaker2023\node_modules@phpmaker\core\phpmaker.js:8:266955)
at global.RunComposerUpdate (C:\Users\Hazna\AppData\Roaming\PHPMaker2023\node_modules@phpmaker\core\phpmaker.js:8:272766)
at C:\Users\Hazna\AppData\Roaming\PHPMaker2023\node_modules@phpmaker\core\phpmaker.js:8:278571
at {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 5900,
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.
how to solve that problem…TIA