mozilla / openbadges-badgekit

No Longer Maintained
https://badgekit.org
Mozilla Public License 2.0
123 stars 84 forks source link

Express is not working - TypeError: router.use is not a function #496

Open phillipdavies opened 6 years ago

phillipdavies commented 6 years ago

I'm trying to install it on a CENTOS, but this error is making me quit.

/var/www/html/openbadges-server/openbadges-badgekit/node_modules/express/lib/application.js:220 return router.use(path, fn); ^

TypeError: router.use is not a function at Function. (/var/www/html/openbadges-server/openbadges-badgekit/node_modules/express/lib/application.js:220:21) at Array.forEach () at Function.use (/var/www/html/openbadges-server/openbadges-badgekit/node_modules/express/lib/application.js:217:7) at new Router (/var/www/html/openbadges-server/openbadges-badgekit/node_modules/express-monkey-patch/index.js:11:7) at Router (/var/www/html/openbadges-server/openbadges-badgekit/node_modules/express-monkey-patch/index.js:6:12) at Object. (/var/www/html/openbadges-server/openbadges-badgekit/app/index.js:34:32) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12)

This project is still alive?