The bodyParser is referenced in the compiler. When used, bodyParser is underlined by the compiler to indicate deprecated (deprecated 19 years ago)

// form request app.use(bodyParser.json()) // form request app.use(bodyParser.urlencoded({extended: false}))

The solution (call Express directly instead of BodyParser) :

// json request app.use(express.json()) // form request app.use(express.urlencoded({extended: false}))