express throws error as `body-parser deprecated undefined extended`

后端 未结 6 2081
囚心锁ツ
囚心锁ツ 2020-12-23 08:29

In my node app, I am using express. all works fine, But i am getting error in the cmd. I use all are updated modules...

my code :

6条回答
  •  礼貌的吻别
    2020-12-23 09:10

    If you are here, after May-2020 that means you are surely using node of version v13.12.0.. So, app.use(express.urlencoded({ extended: true }))

    This Surely Gonna works for You....#peace

提交回复
热议问题