The "request" library is not installed automatically anymore


#1

Does anybody know how to fix this?.. I installed “request-promise” in package.json but I can’t figure it out…

### The "request" library is not installed automatically anymore.

### But required by "request-promise".

###

### npm install request --save

###


/app/node_modules/request-promise/lib/rp.js:23

    throw err;

    ^

#2

Run npm i request in your project console before installing the request-promise


#3

In a local dev environment, NikoBotDev’s answer would be correct. In Glitch, what this means is that you need to add the request library to your package.json. request-promise used to pull it in automatically, but it doesn’t anymore.