Remove project dependencies


Is there a way of removing dependencies from a project? Previously, I added body-parser to my package.json, and I required it in a js file. However, I have now removed it from package.json, and there are no references to it anywhere in my code, but this error message appears in the console every time my project resets:

body-parser deprecated undefined extended: provide extended option at http.js:6:17

The line of code that it is referring to is this:


That middleware is based on bodyparser, so it could have been removed, it’s just the error message still references bodyparser. Try providing the extended option value.


Thank you, that worked :slight_smile: