UCP is not installed

For clarity, I made the installation from the console
fwconsole ma install ucp
and got errors

make: *** [sqlclient.target.mk:138: Release/obj.target/sqlclient/src/binding.o] Error 1
make: Leaving directory '/var/www/admin/modules/ucp/node/node_modules/mariasql/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! System Linux 4.19.0-22-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/admin/modules/ucp/node/node_modules/mariasql
gyp ERR! node -v v14.21.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/lib/asterisk/.npm/_logs/2022-12-18T07_01_33_572Z-debug.log
[npm-cache] [ERROR] [npm] error running npm install
[npm-cache] [ERROR] error installing dependencies

Failed updating libraries!
Stopping old running processes...Done
Refreshing all UCP Assets, this could take a while...
Generating Module Scripts...Done
Generating Module CSS...Done
Generating Main Scripts...Done
Generating Main CSS...Done
Done!
Generating CSS...Done
Module ucp version 16.0.28 successfully installed
Updating Hooks...Done
Chowning directories...Done

installed using the documentation
https://wiki.freepbx.org/display/FOP/Installing+FreePBX+16+on+Debian+10.9

please tell me what I missed?

probably FreePBX 16 does not support nodejs 14

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.