While using version 6, you will encounter the following error: TypeError: expressValidator is not a function To avoid this issue you can use the previous version which is 5.3.1