Open
Description
Hello, my new friends.
I get an error while running node build --all:
Fetching EspoCRM repository...
Downloading EspoCRM archive from Github...
Unzipping...
Installing EspoCRM instance...
Creating config...
Npm install...
Building...
node:internal/errors:984
const err = new Error(message);
^
Error: Command failed: grunt
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at checkExecSyncError (node:child_process:890:11)
at Object.execSync (node:child_process:962:15)
at buildEspo (file:///D:/work/FORT/extentions/fort2/node_modules/espo-extension-tools/build.js:284:8)
at file:///D:/work/FORT/extentions/fort2/node_modules/espo-extension-tools/build.js:205:9
at new Promise (<anonymous>)
at install (file:///D:/work/FORT/extentions/fort2/node_modules/espo-extension-tools/build.js:199:12)
at file:///D:/work/FORT/extentions/fort2/node_modules/espo-extension-tools/build.js:28:25 {
status: 3,
signal: null,
output: [ null, null, Buffer(0) [Uint8Array] [] ],
pid: 21700,
stdout: null,
stderr: Buffer(0) [Uint8Array] []
}
Node.js v20.14.0
Steps to recreate:
- git clone https://github.com/espocrm/ext-template
- Create config.json by copying config-default.json
- Create config.php with text
<?php return [ 'useCacheInDeveloperMode' => true, ];
- Run node build -all
I run Win11, grunt is installed (double checked).
Any ideas where I should look at?
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels