# Installation modbus palette

**URL:** <https://discourse.nodered.org/t/installation-modbus-palette/11350>\
**Category:** General\
**Created:** [21 May 2019 08:05 UTC](https://discourse.nodered.org/t/installation-modbus-palette/11350 "2019-05-21T08:05:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdul](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@abdul](https://discourse.nodered.org/u/abdul)\
**Post date:** [21 May 2019 08:05 UTC](https://discourse.nodered.org/t/installation-modbus-palette/11350/1 "2019-05-21T08:05:08Z")

</div>

Hi, i want to make my computer as modbus server using node-red but when install modbus palette we get error like this :

2019-05-21T07:57:03.954Z Install : node-red-contrib-modbus 4.1.3

2019-05-21T07:56:25.999Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-modbus@4.1.3  
2019-05-21T07:56:38.809Z [out]  
2019-05-21T07:56:38.809Z [out] \> @serialport/bindings@2.0.8 install /root/.node-red/node\_modules/@serialport/bindings  
2019-05-21T07:56:38.809Z [out] \> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild  
2019-05-21T07:56:38.809Z [out]  
2019-05-21T07:56:38.827Z [err] sh: 1:  
2019-05-21T07:56:38.827Z [err] prebuild-install: Permission denied  
2019-05-21T07:56:38.827Z [err]  
2019-05-21T07:56:39.450Z [err] gyp  
2019-05-21T07:56:39.451Z [err]  
2019-05-21T07:56:39.451Z [err] WARN  
2019-05-21T07:56:39.451Z [err]  
2019-05-21T07:56:39.451Z [err] EACCES  
2019-05-21T07:56:39.451Z [err] user "root" does not have permission to access the dev dir "/root/.node-gyp/8.16.0"  
2019-05-21T07:56:39.451Z [err] gyp  
2019-05-21T07:56:39.452Z [err]  
2019-05-21T07:56:39.452Z [err] WARN  
2019-05-21T07:56:39.452Z [err]  
2019-05-21T07:56:39.452Z [err] EACCES  
2019-05-21T07:56:39.452Z [err] attempting to reinstall using temporary dev dir "/root/.node-red/node\_modules/@serialport/bindings/.node-gyp"  
2019-05-21T07:56:39.453Z [err] gyp  
2019-05-21T07:56:39.453Z [err]  
2019-05-21T07:56:39.454Z [err] WARN  
2019-05-21T07:56:39.454Z [err]  
2019-05-21T07:56:39.454Z [err] install  
2019-05-21T07:56:39.454Z [err] got an error, rolling back install  
2019-05-21T07:56:39.455Z [err] gyp  
2019-05-21T07:56:39.455Z [err]  
2019-05-21T07:56:39.455Z [err] WARN  
2019-05-21T07:56:39.455Z [err]  
2019-05-21T07:56:39.455Z [err] install  
2019-05-21T07:56:39.455Z [err] got an error, rolling back install  
2019-05-21T07:56:39.456Z [err] gyp  
2019-05-21T07:56:39.456Z [err]  
2019-05-21T07:56:39.456Z [err] ERR!  
2019-05-21T07:56:39.456Z [err]  
2019-05-21T07:56:39.456Z [err] configure error  
2019-05-21T07:56:39.456Z [err]  
2019-05-21T07:56:39.456Z [err] gyp  
2019-05-21T07:56:39.456Z [err]  
2019-05-21T07:56:39.456Z [err] ERR!  
2019-05-21T07:56:39.456Z [err]  
2019-05-21T07:56:39.457Z [err] stack  
2019-05-21T07:56:39.457Z [err] Error: EACCES: permission denied, stat '/root/.node-red/node\_modules/@serialport/bindings/.node-gyp/8.16.0'  
2019-05-21T07:56:39.457Z [err] gyp  
2019-05-21T07:56:39.457Z [err]  
2019-05-21T07:56:39.457Z [err] ERR!  
2019-05-21T07:56:39.457Z [err]  
2019-05-21T07:56:39.457Z [err] System  
2019-05-21T07:56:39.457Z [err] Linux 4.15.0-50-generic  
2019-05-21T07:56:39.457Z [err] gyp  
2019-05-21T07:56:39.458Z [err]  
2019-05-21T07:56:39.458Z [err] ERR!  
2019-05-21T07:56:39.458Z [err]  
2019-05-21T07:56:39.458Z [err] command  
2019-05-21T07:56:39.458Z [err] "/usr/bin/node" "/usr/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js" "rebuild"  
2019-05-21T07:56:39.458Z [err] gyp  
2019-05-21T07:56:39.458Z [err]  
2019-05-21T07:56:39.458Z [err] ERR!  
2019-05-21T07:56:39.458Z [err]  
2019-05-21T07:56:39.458Z [err] cwd  
2019-05-21T07:56:39.458Z [err] /root/.node-red/node\_modules/@serialport/bindings  
2019-05-21T07:56:39.459Z [err] gyp  
2019-05-21T07:56:39.459Z [err]  
2019-05-21T07:56:39.459Z [err] ERR!  
2019-05-21T07:56:39.459Z [err]  
2019-05-21T07:56:39.459Z [err] node -v  
2019-05-21T07:56:39.459Z [err] v8.16.0  
2019-05-21T07:56:39.459Z [err] gyp  
2019-05-21T07:56:39.459Z [err]  
2019-05-21T07:56:39.459Z [err] ERR!  
2019-05-21T07:56:39.459Z [err]  
2019-05-21T07:56:39.459Z [err] node-gyp -v  
2019-05-21T07:56:39.459Z [err] v3.8.0  
2019-05-21T07:56:39.460Z [err] gyp  
2019-05-21T07:56:39.460Z [err]  
2019-05-21T07:56:39.460Z [err] ERR!  
2019-05-21T07:56:39.460Z [err]  
2019-05-21T07:56:39.460Z [err] not ok  
2019-05-21T07:56:39.460Z [err]  
2019-05-21T07:56:40.125Z [err] npm  
2019-05-21T07:56:40.126Z [err]  
2019-05-21T07:56:40.126Z [err] ERR!  
2019-05-21T07:56:40.126Z [err]  
2019-05-21T07:56:40.126Z [err] code  
2019-05-21T07:56:40.126Z [err] ELIFECYCLE  
2019-05-21T07:56:40.127Z [err] npm  
2019-05-21T07:56:40.127Z [err]  
2019-05-21T07:56:40.127Z [err] ERR!  
2019-05-21T07:56:40.127Z [err]  
2019-05-21T07:56:40.128Z [err] errno  
2019-05-21T07:56:40.128Z [err] 1  
2019-05-21T07:56:40.129Z [err] npm  
2019-05-21T07:56:40.130Z [err]  
2019-05-21T07:56:40.130Z [err] ERR!  
2019-05-21T07:56:40.130Z [err] @serialport/bindings@2.0.8 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`  
2019-05-21T07:56:40.130Z [err] npm  
2019-05-21T07:56:40.130Z [err]  
2019-05-21T07:56:40.130Z [err] ERR!  
2019-05-21T07:56:40.130Z [err] Exit status 1  
2019-05-21T07:56:40.131Z [err] npm  
2019-05-21T07:56:40.131Z [err]  
2019-05-21T07:56:40.131Z [err] ERR!  
2019-05-21T07:56:40.131Z [err]  
2019-05-21T07:56:40.131Z [err] npm  
2019-05-21T07:56:40.131Z [err]  
2019-05-21T07:56:40.131Z [err] ERR!  
2019-05-21T07:56:40.132Z [err] Failed at the @serialport/bindings@2.0.8 install script.  
2019-05-21T07:56:40.132Z [err] npm  
2019-05-21T07:56:40.132Z [err]  
2019-05-21T07:56:40.132Z [err] ERR!  
2019-05-21T07:56:40.132Z [err] This is probably not a problem with npm. There is likely additional logging output above.  
2019-05-21T07:56:40.347Z [err]  
2019-05-21T07:56:40.348Z [err] npm  
2019-05-21T07:56:40.348Z [err]  
2019-05-21T07:56:40.348Z [err] ERR!  
2019-05-21T07:56:40.350Z [err] A complete log of this run can be found in:  
2019-05-21T07:56:40.350Z [err] npm ERR! /root/.npm/\_logs/2019-05-21T07\_56\_40\_146Z-debug.log  
2019-05-21T07:56:40.368Z rc=1

What should i do?  
thanks
