You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not too savvy with node, after all my trips are downloaded, it starts processing them, at some point in the process I get:
TypeError: Cannot call method 'indexOf' of undefined
at Object.<anonymous> (/Users/jpsilvashy/Projects/hack/uber-trip-script/app.js:212:15)
at exports.each (/Users/jpsilvashy/Projects/hack/uber-trip-script/node_modules/cheerio/lib/api/traversing.js:268:24)
at parseStats (/Users/jpsilvashy/Projects/hack/uber-trip-script/app.js:177:27)
at Request._callback (/Users/jpsilvashy/Projects/hack/uber-trip-script/app.js:141:12)
at Request.self.callback (/Users/jpsilvashy/Projects/hack/uber-trip-script/node_modules/request/request.js:344:22)
at Request.emit (events.js:98:17)
at Request.<anonymous> (/Users/jpsilvashy/Projects/hack/uber-trip-script/node_modules/request/request.js:1239:14)
at Request.emit (events.js:117:20)
at IncomingMessage.<anonymous> (/Users/jpsilvashy/Projects/hack/uber-trip-script/node_modules/request/request.js:1187:12)
at IncomingMessage.emit (events.js:117:20)
I have a lot of trips, 64 pages of them, maybe that is too many?
The text was updated successfully, but these errors were encountered:
I'm not too savvy with node, after all my trips are downloaded, it starts processing them, at some point in the process I get:
I have a lot of trips, 64 pages of them, maybe that is too many?
The text was updated successfully, but these errors were encountered: