Star Hype News.

Premium celebrity moments with standout appeal.

updates

Why does the problem "npm WARN deprecated request@2.88.2: request has been deprecated" occur?

By Sebastian Wright

I have istalled latest version of node and npm. When I'm trying to install a global package (npm install -g firebase-tools), the terminal show me some errors. How can I solve the problem? Thanks.enter image description here

3

1 Answer

There is a bug in the latest version of firebase-tools, you can try using a slightly older version.

First, remove the installed version of firebase-tools

sudo npm uninstall -g firebase-tools

Now, install npm i firebase-tools@7.13.0

npm install -g firebase-tools@7.13.0

To confirm, type '' node in terminal and try to import the package using require, you should have a similar output as below

terminal

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy