سلام
وقت بخیر
ظاهرا شما در این ویدیو روی پوشه middleware کار کردید اما در ویدیو وجود ندارد من تا دقیقه ۳۱:۴۸ طبق ویدیو میرم جلو اما این ارور رو دریافت میکنم :
(node:11993) UnhandledPromiseRejectionWarning: TypeError: Cannot read property ‘Symbol(express-validator#contexts)’ of undefined
at /Users/saeidaalizade/Desktop/meydan/node_modules/express-validator/src/validation-result.js:46:29
at validationRecaptcha.then.result (/Users/saeidaalizade/Desktop/meydan/app/http/controllers/auth/registerController.js:16:25)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:11993) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11993) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.