Node version: 9.2.0
After running npm start and successfully authenticating, I get this output:
auth'd successful!
images folder already exists
/Users/huertanix/Source/ExitFlickr/app.js:101
console.log("# of photos:".blue,res.photoset.photo.length);
^
TypeError: Cannot read property 'photoset' of undefined
at /Users/huertanix/Source/ExitFlickr/app.js:101:43
at Object.checkRequirements (/Users/huertanix/Source/ExitFlickr/node_modules/flickrapi/src/utils.js:186:18)
at Object.fn [as getPhotos] (/Users/huertanix/Source/ExitFlickr/node_modules/flickrapi/src/utils.js:238:17)
at getPhotosList (/Users/huertanix/Source/ExitFlickr/app.js:97:22)
at /Users/huertanix/Source/ExitFlickr/app.js:175:9
at Object.<anonymous> (/Users/huertanix/Source/ExitFlickr/node_modules/flickrapi/src/utils.js:324:9)
at Request.self.callback (/Users/huertanix/Source/ExitFlickr/node_modules/request/index.js:148:22)
at Request.emit (events.js:159:13)
at Request.<anonymous> (/Users/huertanix/Source/ExitFlickr/node_modules/request/index.js:892:14)
at Request.emit (events.js:164:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ExitFlickr@1.0.0 start: `node app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ExitFlickr@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/huertanix/.npm/_logs/2018-12-18T06_23_04_579Z-debug.log
I suspect that the Flickr API may have changed but not sure, I don't do much Node coding these days.
Node version: 9.2.0
After running
npm startand successfully authenticating, I get this output:I suspect that the Flickr API may have changed but not sure, I don't do much Node coding these days.