I'm trying to create a custom extension using this guide: https://github.com/espocrm/ext-template
I'm following the steps, but when I get to `node build --all` I get the following error:
I'm not really clear what this error means (I even asked ChatGPT ;-)) or how to start troubleshooting it. I'm on MacOS 13, M1 Silicon, using PHP 8.2.0, Node 16.9, and NPM 8.19.2. I'm running latest MAMP (6.8). I don't mind debugging, but I'm not even sure where to start...or if there's a configuration somewhere I might need to revisit that isn't documented or obvious.
I'm following the steps, but when I get to `node build --all` I get the following error:
Code:
Fetching EspoCRM repository... Downloading EspoCRM archive from Github... Unzipping... Installing EspoCRM instance... Creating config... Npm install... Building... Install: step1... Install: setupConfirmation... Install: checkPermission... Install: saveSettings... Install: buildDatabase... Install: createUser... Install: finish... Merge configs... node:child_process:826 err = new Error(msg); ^ Error: Command failed: php merge_configs.php at checkExecSyncError (node:child_process:826:11) at Object.execSync (node:child_process:900:15) at /Applications/MAMP/htdocs/ext-procore/build.js:175:12 at new Promise (<anonymous>) at install (/Applications/MAMP/htdocs/ext-procore/build.js:118:12) at /Applications/MAMP/htdocs/ext-procore/build.js:16:17 { status: 255, signal: null, output: [ null, Buffer(0) [Uint8Array] [], Buffer(0) [Uint8Array] [] ], pid: 72775, stdout: Buffer(0) [Uint8Array] [], stderr: Buffer(0) [Uint8Array] [] }
Comment