Hi,
I have errors in progress of generation (v2020)Checking PHP CLI…
Running composer update -n --no-suggest…
(node:4616) UnhandledPromiseRejectionWarning: Error: Command failed: composer update -n --no-suggest
at checkExecSyncError (child_process.js:621:11)
at execSync (child_process.js:657:15)
at global.Exec (C:\Program Files (x86)\PHPMaker 2020\node\node_modules\phpmaker\phpmaker.js:7:364819)
at global.RunComposerUpdate (C:\Program Files (x86)\PHPMaker 2020\node\node_modules\phpmaker\phpmaker.js:7:364644)
at C:\Program Files (x86)\PHPMaker 2020\node\node_modules\phpmaker\phpmaker.js:7:369045
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:4616) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:4616) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.And a result:Composer generated autoload.php does not exist. Make sure you have run “composer update” at the destionation folder on your development computer and uploaded the “vendor” subfolder.
- Make sure you have installed Composer properly:
https://discourse.hkvstore.com/t/migrating-to-v2022/655/1 - If you have old Nodejs, install the latest LTS:
https://nodejs.org/en/download/