problems with Homebridge on RPB 3+ (NodeJS)

Hi everybody!
everything is done according to this tutorial:

i have installed with dietpi-software next packages:
python (python pip package installer)

after this comand :
npm install -g --unsafe-perm homebridge hap-nodejs node-gyp

I recieve some error messges.

root@DietPi:~# npm install -g --unsafe-perm homebridge hap-nodejs node-gyp
/usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebridge
/usr/local/bin/node-gyp -> /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js

> curve25519-n@1.4.0 install /usr/local/lib/node_modules/hap-nodejs/node_modules/curve25519-n
> node-gyp rebuild

gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack     at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:158:21)
gyp ERR! System Linux 4.14.98-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/hap-nodejs/node_modules/curve25519-n
gyp ERR! node -v v11.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! errno 1
npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the curve25519-n@1.4.0 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!     /root/.npm/_logs/2019-03-25T22_48_00_395Z-debug.log

Could you please help me to solve this problem?

Error: not found: make

That is strange, since dietpi-software > build-essentials should install make.

Please check: which make
If it has no output, then do: apt install make
And retry the npm command.

Have tried again from the clean image - the same.

root@DietPi:~# which make

Details and log in pastebin