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.
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-toolsNow, install npm i firebase-tools@7.13.0
npm install -g firebase-tools@7.13.0To confirm, type '' node in terminal and try to import the package using require, you should have a similar output as below