flickr/flickr-sdk

Flickr is not a constructor

Paxa opened this issue · 0 comments

Paxa commented

I run:

npm install flickr --save

Execute:

var Flickr = require("flickr");
var flickr = new Flickr({
  "apiKey":            "xxx",
  "apiSecret":         "yyy"
});
// => TypeError: Flickr is not a constructor

I think this file https://github.com/flickr/flickr/blob/master/index.js should have content:

module.exports = require("flickr-sdk");