Failed to install: node-red-contrib-modbus

Good Morning. Thanks for your interest. I think I know where the problems are. I uninstalled node-red. But then I have realized that ubuntu has it integrated. With node-red uninstalled it works the same on localhost
http://localhost:1880/#flow/41328911.f504f8

That is why it gave me the error of the port has occupied. Nodes can be installed here but it does not allow modbus nodes, which is where I detected the problem initially.

I paste the error log again when trying to install node-red-contribution-modbus

36:59.728Z Install : node-red-contrib-modbus 5.14.0

2021-05-22T09:36:59.799Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-modbus@5.14.0
2021-05-22T09:37:11.636Z [out]
2021-05-22T09:37:11.636Z [out] > @serialport/bindings@9.0.7 install /root/snap/node-red/675/node_modules/@serialport/bindings
2021-05-22T09:37:11.636Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2021-05-22T09:37:11.636Z [out]
2021-05-22T09:37:11.929Z [err] prebuild-install
2021-05-22T09:37:11.929Z [err] WARN install EPERM: operation not permitted, lchown '/root/snap/node-red/675/node_modules/@serialport/bindings/build/Release'
2021-05-22T09:37:13.373Z [err] gyp
2021-05-22T09:37:13.373Z [err]
2021-05-22T09:37:13.373Z [err] ERR!
2021-05-22T09:37:13.373Z [err] build error
2021-05-22T09:37:13.373Z [err] gyp ERR!
2021-05-22T09:37:13.373Z [err] stack Error: not found: make
2021-05-22T09:37:13.373Z [err] gyp
2021-05-22T09:37:13.373Z [err] ERR! stack
2021-05-22T09:37:13.373Z [err] at getNotFoundError (/snap/node-red/675/lib/node_modules/npm/node_modules/which/which.js:13:12)
2021-05-22T09:37:13.373Z [err] gyp
2021-05-22T09:37:13.373Z [err] ERR! stack at F (/snap/node-red/675/lib/node_modules/npm/node_modules/which/which.js:68:19)
2021-05-22T09:37:13.373Z [err] gyp ERR! stack
2021-05-22T09:37:13.373Z [err] at E (/snap/node-red/675/lib/node_modules/npm/node_modules/which/which.js:80:29)
2021-05-22T09:37:13.373Z [err] gyp
2021-05-22T09:37:13.374Z [err] ERR! stack
2021-05-22T09:37:13.374Z [err] at /snap/node-red/675/lib/node_modules/npm/node_modules/which/which.js:89:16
2021-05-22T09:37:13.374Z [err] gyp
2021-05-22T09:37:13.374Z [err] ERR! stack
2021-05-22T09:37:13.374Z [err] at /snap/node-red/675/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2021-05-22T09:37:13.374Z [err] gyp
2021-05-22T09:37:13.374Z [err] ERR!
2021-05-22T09:37:13.374Z [err] stack at /snap/node-red/675/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2021-05-22T09:37:13.374Z [err] gyp
2021-05-22T09:37:13.374Z [err] ERR! stack
2021-05-22T09:37:13.374Z [err] at FSReqWrap.oncomplete (fs.js:153:21)
2021-05-22T09:37:13.374Z [err] gyp
2021-05-22T09:37:13.374Z [err] ERR! System Linux 5.8.0-53-generic
2021-05-22T09:37:13.374Z [err] gyp
2021-05-22T09:37:13.374Z [err] ERR! command
2021-05-22T09:37:13.374Z [err] "/snap/node-red/675/bin/node" "/snap/node-red/675/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2021-05-22T09:37:13.374Z [err] gyp ERR!
2021-05-22T09:37:13.374Z [err] cwd /root/snap/node-red/675/node_modules/@serialport/bindings
2021-05-22T09:37:13.374Z [err] gyp
2021-05-22T09:37:13.374Z [err] ERR! node -v
2021-05-22T09:37:13.374Z [err] v10.23.3
2021-05-22T09:37:13.374Z [err] gyp
2021-05-22T09:37:13.374Z [err] ERR! node-gyp -v
2021-05-22T09:37:13.374Z [err] v5.1.0
2021-05-22T09:37:13.374Z [err] gyp
2021-05-22T09:37:13.374Z [err] ERR!
2021-05-22T09:37:13.375Z [err] not ok
2021-05-22T09:37:13.701Z [err] npm
2021-05-22T09:37:13.701Z [err] ERR! code ELIFECYCLE
2021-05-22T09:37:13.703Z [err] npm
2021-05-22T09:37:13.703Z [err] ERR!
2021-05-22T09:37:13.703Z [err] errno 1
2021-05-22T09:37:13.712Z [err] npm ERR!
2021-05-22T09:37:13.712Z [err] @serialport/bindings@9.0.7 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2021-05-22T09:37:13.712Z [err] npm ERR! Exit status 1
2021-05-22T09:37:13.712Z [err] npm ERR!
2021-05-22T09:37:13.712Z [err]
2021-05-22T09:37:13.712Z [err] npm ERR!
2021-05-22T09:37:13.712Z [err] Failed at the @serialport/bindings@9.0.7 install script.
2021-05-22T09:37:13.712Z [err] npm ERR!
2021-05-22T09:37:13.712Z [err] This is probably not a problem with npm. There is likely additional logging output above.
2021-05-22T09:37:13.782Z [err]
2021-05-22T09:37:13.783Z [err] npm ERR! A complete log of this run can be found in:
2021-05-22T09:37:13.783Z [err] npm ERR!
2021-05-22T09:37:13.783Z [err] /root/snap/node-red/675/.npm/_logs/2021-05-22T09_37_13_723Z-debug.log
2021-05-22T09:37:13.797Z rc=1


2021-05-22T09:52:14.345Z Install : node-red-contrib-modbus 5.14.0

2021-05-22T09:52:14.361Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-modbus@5.14.0
2021-05-22T09:52:18.644Z [out]
2021-05-22T09:52:18.644Z [out] > @serialport/bindings@9.0.7 install /root/snap/node-red/675/node_modules/@serialport/bindings
2021-05-22T09:52:18.644Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2021-05-22T09:52:18.644Z [out]
2021-05-22T09:52:18.867Z [err] prebuild-install
2021-05-22T09:52:18.867Z [err] WARN
2021-05-22T09:52:18.867Z [err] install EPERM: operation not permitted, lchown '/root/snap/node-red/675/node_modules/@serialport/bindings/build/Release'
2021-05-22T09:52:19.688Z [err] gyp
2021-05-22T09:52:19.688Z [err]
2021-05-22T09:52:19.688Z [err] ERR! build error
2021-05-22T09:52:19.689Z [err] gyp
2021-05-22T09:52:19.689Z [err] ERR! stack Error: not found: make
2021-05-22T09:52:19.689Z [err] gyp ERR!
2021-05-22T09:52:19.689Z [err] stack at getNotFoundError (/snap/node-red/675/lib/node_modules/npm/node_modules/which/which.js:13:12)
2021-05-22T09:52:19.689Z [err] gyp ERR!
2021-05-22T09:52:19.689Z [err] stack at F (/snap/node-red/675/lib/node_modules/npm/node_modules/which/which.js:68:19)
2021-05-22T09:52:19.689Z [err] gyp
2021-05-22T09:52:19.689Z [err] ERR! stack
2021-05-22T09:52:19.689Z [err] at E (/snap/node-red/675/lib/node_modules/npm/node_modules/which/which.js:80:29)
2021-05-22T09:52:19.689Z [err] gyp
2021-05-22T09:52:19.689Z [err] ERR! stack
2021-05-22T09:52:19.689Z [err] at /snap/node-red/675/lib/node_modules/npm/node_modules/which/which.js:89:16
2021-05-22T09:52:19.689Z [err] gyp
2021-05-22T09:52:19.690Z [err] ERR! stack
2021-05-22T09:52:19.690Z [err] at /snap/node-red/675/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2021-05-22T09:52:19.690Z [err] gyp
2021-05-22T09:52:19.690Z [err] ERR! stack
2021-05-22T09:52:19.690Z [err] at /snap/node-red/675/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2021-05-22T09:52:19.690Z [err] gyp
2021-05-22T09:52:19.690Z [err] ERR! stack
2021-05-22T09:52:19.690Z [err] at FSReqWrap.oncomplete (fs.js:153:21)
2021-05-22T09:52:19.690Z [err] gyp
2021-05-22T09:52:19.690Z [err] ERR! System
2021-05-22T09:52:19.690Z [err] Linux 5.8.0-53-generic
2021-05-22T09:52:19.690Z [err] gyp
2021-05-22T09:52:19.690Z [err] ERR!
2021-05-22T09:52:19.690Z [err] command
2021-05-22T09:52:19.690Z [err] "/snap/node-red/675/bin/node" "/snap/node-red/675/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2021-05-22T09:52:19.690Z [err] gyp
2021-05-22T09:52:19.690Z [err] ERR!
2021-05-22T09:52:19.690Z [err] cwd
2021-05-22T09:52:19.691Z [err] /root/snap/node-red/675/node_modules/@serialport/bindings
2021-05-22T09:52:19.691Z [err] gyp
2021-05-22T09:52:19.691Z [err] ERR!
2021-05-22T09:52:19.691Z [err] node -v
2021-05-22T09:52:19.691Z [err] v10.23.3
2021-05-22T09:52:19.691Z [err] gyp
2021-05-22T09:52:19.691Z [err] ERR!
2021-05-22T09:52:19.691Z [err] node-gyp -v v5.1.0
2021-05-22T09:52:19.691Z [err] gyp
2021-05-22T09:52:19.691Z [err] ERR!
2021-05-22T09:52:19.691Z [err] not ok
2021-05-22T09:52:19.691Z [err]
2021-05-22T09:52:19.947Z [err] npm
2021-05-22T09:52:19.947Z [err] ERR! code ELIFECYCLE
2021-05-22T09:52:19.947Z [err] npm ERR!
2021-05-22T09:52:19.947Z [err] errno 1
2021-05-22T09:52:19.949Z [err] npm
2021-05-22T09:52:19.949Z [err] ERR! @serialport/bindings@9.0.7 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2021-05-22T09:52:19.949Z [err] npm
2021-05-22T09:52:19.950Z [err] ERR! Exit status 1
2021-05-22T09:52:19.950Z [err] npm ERR!
2021-05-22T09:52:19.950Z [err]
2021-05-22T09:52:19.950Z [err] npm ERR!
2021-05-22T09:52:19.950Z [err] Failed at the @serialport/bindings@9.0.7 install script.
2021-05-22T09:52:19.950Z [err] npm
2021-05-22T09:52:19.950Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-05-22T09:52:19.999Z [err]
2021-05-22T09:52:19.999Z [err] npm ERR! A complete log of this run can be found in:
2021-05-22T09:52:19.999Z [err] npm ERR!
2021-05-22T09:52:19.999Z [err] /root/snap/node-red/675/.npm/_logs/2021-05-22T09_52_19_957Z-debug.log
2021-05-22T09:52:20.010Z rc=1