The "request" library is not installed automatically anymore

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;

    ^

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

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.

1 Like