K
K
Konstantin Bozhkov2017-01-13 21:37:19
Node.js
Konstantin Bozhkov, 2017-01-13 21:37:19

Why doesn't the cookieParser middleware work in express?

Recently moved to this platform. I'm trying to do app.use(express.cookieParser()) as in the video, but I get an error saying that such middleware was not found, the same thing happens with app.use(express.bodyParser()). I have node 4.2.6

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2017-01-13
@ybiks

expressjs.com/en/guide/migrating-4.html
Read paragraph

Changes to the Express core and middleware system

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question