3 weeks ago
Hello All,
I am trying to build a base ADF application command
npm install -g generator-alfresco-adf-app@latest
getting the following error.
npm error path C:\Windows\System32\WindowsPowerShell\v1.0\node_modules\generator-alfresco-adf-app\node_modules\deasync npm error command failed npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node ./build.js npm error node:internal/child_process:421 npm error throw new ErrnoException(err, 'spawn'); npm error Error: spawn EINVAL npm error at ChildProcess.spawn (node:internal/child_process:421:11) npm error at Object.spawn (node:child_process:762:9) npm error at build (C:\Windows\System32\WindowsPowerShell\v1.0\node_modules\generator-alfresco-adf-app\node_modules\deasync\build.js:76:5) npm error at Object.<anonymous> (C:\Windows\System32\WindowsPowerShell\v1.0\node_modules\generator-alfresco-adf-app\node_modules\deasync\build.js:67:3) npm error at Module._compile (node:internal/modules/cjs/loader:1469:14) npm error at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) npm error at Module.load (node:internal/modules/cjs/loader:1288:32) npm error at Module._load (node:internal/modules/cjs/loader:1104:12) npm error at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) npm error at node:internal/main/run_main_module:28:49 { npm error errno: -4071, npm error code: 'EINVAL', npm error syscall: 'spawn'
npm error Node.js v20.17.0
I tried with multple version of Node js -
v20.17.0, node-v14.17.3-x64, node-v14.21.3-x64, v18.x
Explore our Alfresco products with the links below. Use labels to filter content by product module.