Can't start RocketChat (RHEL6), node-gyp not found


I can’t start RocketChat service, got an error.

## There is an issue with node-fibers ##
Try running this to fix the issue: /usr/local/bin/node /opt/Rocket.Chat/programs/server/node_modules/fibers/build

When I tried to run this command, got an error

node-gyp not found! Please ensure node-gyp is in your PATH–
Try running: sudo npm install -g node-gyp

When I install node-gyp

sudo npm install -g node-gyp

I got it, but command

Which node-gyp


/usr/bin/which: no node-gyp in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/USER/.local/bin:/home/USER/bin)

Please, help to resolve this issue.

Server Setup Information

  • Version of Rocket.Chat Server: latest
  • Operating System: RHEL 6
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.16.3
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information