yehya / rmp-api

RateMyProfessor API for browsers & Node.js servers
MIT License
2 stars 0 forks source link

Error causing failure. #6

Closed kennethgoodman closed 8 years ago

kennethgoodman commented 8 years ago

node_modules/rmp-api/dist/rmp-api.js:3737 out.last = names[1].trim().toLowerCase(); ^ TypeError: Cannot read property 'trim' of undefined at Object.priv.parseName (../node_modules/rmp-api/dist/rmp-api.js:3737:36) at Object.priv.matches (../node_modules/rmp-api/dist/rmp-api.js:3745:30) at Object. (../node_modules/rmp-api/dist/rmp-api.js:3776:36) at exports.each (../node_modules/rmp-api/node_modules/cheerio/lib/api/traversing.js:294:24) at Object.priv.scan (.. node ../node_modules/rmp-api/dist/rmp-api.js:3775:27) at ../node_modules/rmp-api/dist/rmp-api.js:3842:26 at Request._callback (../node_modules/rmp-api/dist/rmp-api.js:3821:33) at Request.self.callback (../node_modules/rmp-api/node_modules/request/request.js:200:22) at emitTwo (events.js:87:13) at Request.emit (events.js:172:7)

Will post more details as I investigate more. happened for Baruch College