-
Notifications
You must be signed in to change notification settings - Fork 422

Description
Here, It's my error...
.
.
.
npm start
expressfirstapp@0.0.0 start C:\Users\JEET\Desktop\NodeJs\nodeProjects\ValidationSession
node ./bin/www
C:\Users\JEET\Desktop\NodeJs\nodeProjects\ValidationSession\app.js:24
app.use(expressValidator());
### ^
TypeError: expressValidator is not a function
at Object. (C:\Users\JEET\Desktop\NodeJs\nodeProjects\ValidationSession\app.js:24:9)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:643:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:683:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (C:\Users\JEET\Desktop\NodeJs\nodeProjects\ValidationSession\bin\www:7:11)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! expressfirstapp@0.0.0 start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the expressfirstapp@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.