# Centos 7.6 npm request has been deprecated, unable to install on fresh server

**URL:** <https://forums.rocket.chat/t/centos-7-6-npm-request-has-been-deprecated-unable-to-install-on-fresh-server/6654>\
**Category:** Community Support\
**Created:** [April 21, 2020, 7:43pm UTC](https://forums.rocket.chat/t/centos-7-6-npm-request-has-been-deprecated-unable-to-install-on-fresh-server/6654 "2020-04-21T19:43:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Support\_KM](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Support\_KM](https://forums.rocket.chat/u/Support_KM)\
**Post date:** [April 21, 2020, 7:43pm UTC](https://forums.rocket.chat/t/centos-7-6-npm-request-has-been-deprecated-unable-to-install-on-fresh-server/6654/1 "2020-04-21T19:43:30Z")

</div>

Hi Community,

I am exeriencing some problems following the good documentation how to install rocket chat on a fresh Centos 7.6  
First I tried it on 8.1 with the same erros.

all is running smooth till the rocket chat install itself:  
cd /tmp/bundle/programs/server && npm install

[root@rocketchat server]# npm install  
npm WARN deprecated request@2.88.2: request has been deprecated, see [https://github.com/request/request/issues/3142](https://github.com/request/request/issues/3142)

> fibers@4.0.3 install /opt/rocket/Rocket.Chat/programs/server/node\_modules/fibers  
> node build.js || nodejs build.js

`linux-x64-72-glibc` exists; testing  
Problem with the binary; manual build incoming  
gyp WARN EACCES current user (“chef”) does not have permission to access the dev dir “/root/.cache/node-gyp/12.16.2”  
gyp WARN EACCES attempting to reinstall using temporary dev dir “/opt/rocket/Rocket.Chat/programs/server/node\_modules/fibers/.node-gyp”  
gyp WARN install got an error, rolling back install  
gyp WARN install got an error, rolling back install  
gyp ERR! configure error  
gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/opt/rocket/Rocket.Chat/programs/server/node\_modules/fibers/.node-gyp’  
gyp ERR! System Linux 3.10.0-1062.18.1.el7.x86\_64  
gyp ERR! command “/usr/bin/node” “/usr/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js” “rebuild” “–release”  
gyp ERR! cwd /opt/rocket/Rocket.Chat/programs/server/node\_modules/fibers  
gyp ERR! node -v v12.16.2  
gyp ERR! node-gyp -v v5.1.0  
gyp ERR! not ok  
node-gyp exited with code: 1  
Please make sure you are using a supported platform and node version. If you  
would like to compile fibers on this machine please make sure you have setup your

the suggestet nodejs version is different on my system:  
suggested: NodeJS 12.14.0

# node -v v12.16.2

but the documentation tells to install all updates at first:

```auto
sudo yum -y check-update

```

help appreciated.

I would also change the os if centos is not a good start for rocket chat.

regarding to the documentation of the deprecated command, there are a lot of discussions about it and they decided the best thing is to do is switch it off. But I did not found a fix and I did not found other people having these issues with rocket chat.

Any help appreciated.

Greetings  
/WK

---

<div class="post-metadata">

**Author:** ![Support\_KM](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Support\_KM](https://forums.rocket.chat/u/Support_KM)\
**Post date:** [April 21, 2020, 9:37pm UTC](https://forums.rocket.chat/t/centos-7-6-npm-request-has-been-deprecated-unable-to-install-on-fresh-server/6654/2 "2020-04-21T21:37:47Z")

</div>

Hi community,  
I need to add that my original problem was not a rocket chat problem, it was a sudo problem during the installation scripts.  
It looks like a real root session is getting to a different problem which seems only like a warning and not a warning:

[root@rocketchat ~]# tar -xzf /tmp/rocket.chat.tgz -C /tmp  
[root@rocketchat ~]# cd /tmp/bundle/programs/server && npm install  
npm WARN deprecated request@2.88.2: request has been deprecated, see [https://git](https://git)[hub.com/request/request/issues/3142](http://hub.com/request/request/issues/3142)

> fibers@4.0.3 install /tmp/bundle/programs/server/node\_modules/fibers  
> node build.js || nodejs build.js

`linux-x64-72-glibc` exists; testing  
Problem with the binary; manual build incoming  
make: Entering directory `/tmp/bundle/programs/server/node_modules/fibers/build' CXX(target) Release/obj.target/fibers/src/fibers.o CXX(target) Release/obj.target/fibers/src/coroutine.o CC(target) Release/obj.target/fibers/src/libcoro/coro.o SOLINK_MODULE(target) Release/obj.target/fibers.node COPY Release/fibers.node make: Leaving directory `/tmp/bundle/programs/server/node\_modules/fibers/build’  
Installed in `/tmp/bundle/programs/server/node_modules/fibers/bin/linux-x64-72-g libc/fibers.node`  
npm WARN lifecycle meteor-dev-bundle@~install: cannot run in wd meteor-dev-bundl e@ node npm-rebuild.js (wd=/tmp/bundle/programs/server)  
added 146 packages from 122 contributors and audited 305 packages in 9.632s

1 package is looking for funding  
run `npm fund` for details

found 1 moderate severity vulnerability  
run `npm audit fix` to fix them, or `npm audit` for details  
[root@rocketchat server]# npm audit fix  
updated 1 package in 1.304s

1 package is looking for funding  
run `npm fund` for details

fixed 1 of 1 vulnerability in 305 scanned packages  
[root@rocketchat server]# cd /tmp/bundle/programs/server && npm install  
npm WARN lifecycle meteor-dev-bundle@~install: cannot run in wd meteor-dev-bundle@ node npm-rebuild.js (wd=/tmp/bundle/programs/server)  
audited 305 packages in 1.552s

1 package is looking for funding  
run `npm fund` for details

found 0 vulnerabilities

I am not quite sure if I need to fix the npm fund message

Greetings

WK

---

<div class="post-metadata">

**Author:** ![Support\_KM](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Support\_KM](https://forums.rocket.chat/u/Support_KM)\
**Post date:** [April 23, 2020, 3:29pm UTC](https://forums.rocket.chat/t/centos-7-6-npm-request-has-been-deprecated-unable-to-install-on-fresh-server/6654/3 "2020-04-23T15:29:13Z")

</div>

wanted to add the the server with 7.6 is up and running. no Problem here.  
Tried my first setup again with Centos 8.1, also working like a charm.  
last Problem seems to be the android app, because the ssl ciphers are too old.  
IOS and Web Browser is working.

Greetings

WK

---

<div class="post-metadata">

**Author:** ![Watto](https://avatars.discourse-cdn.com/v4/letter/w/848f3c/32.png) [@Watto](https://forums.rocket.chat/u/Watto)\
**Post date:** [July 7, 2020, 6:58am UTC](https://forums.rocket.chat/t/centos-7-6-npm-request-has-been-deprecated-unable-to-install-on-fresh-server/6654/4 "2020-07-07T06:58:31Z")

</div>

I have the same issue on Cent os 7.7. How did you resolved the problem?
