Error NPM Install

What version are you coming from? 6.2.11

What version are you going to? 6.4.5

What deployment method did you use to deploy? Manual

Did you follow a particular doc? Which one? Yes install rocketchat on centos 7

What issues are you running into upgrading? I got error when i try to run npm install after download .tar.gz file like what i attache below

IMPORTANT: Failed to load the native module for matrix-sdk-crypto-nodejs. Matrix functionality depending on this will not work
gyp ERR! stack Error: EACCES: permission denied, unlink ‘build/Makefile’
gyp ERR! System Linux 3.10.0-1160.102.1.el7.x86_64
gyp ERR! command “/home/centos/.nvm/versions/node/v14.21.3/bin/node” “/home/centos/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “clean”
gyp ERR! cwd /tmp/bundle/programs/server/npm/node_modules/gc-stats
gyp ERR! node -v v14.21.3
gyp ERR! node-gyp -v v5.1.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute ‘/home/centos/.nvm/versions/node/v14.21.3/bin/node /home/centos/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean’ (1)
node-pre-gyp ERR! stack at ChildProcess. (/tmp/bundle/programs/server/npm/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:400:28)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1088:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5)
node-pre-gyp ERR! System Linux 3.10.0-1160.102.1.el7.x86_64
node-pre-gyp ERR! command “/home/centos/.nvm/versions/node/v14.21.3/bin/node” “/tmp/bundle/programs/server/npm/node_modules/.bin/node-pre-gyp” “install” “–fallback-to-build”
node-pre-gyp ERR! cwd /tmp/bundle/programs/server/npm/node_modules/gc-stats
node-pre-gyp ERR! node -v v14.21.3
node-pre-gyp ERR! node-pre-gyp -v v1.0.9
node-pre-gyp ERR! not ok
Failed to execute ‘/home/centos/.nvm/versions/node/v14.21.3/bin/node /home/centos/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean’ (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gc-stats@1.4.0 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gc-stats@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! /home/centos/.npm/_logs/2023-11-22T05_45_40_469Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! meteor-dev-bundle@ install: node npm-rebuild.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the meteor-dev-bundle@ 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! /home/centos/.npm/_logs/2023-11-22T05_45_40_543Z-debug.log