koopjs / koop-provider-gist

Github gist provider for Koop.
Other
5 stars 2 forks source link

The super constructor to "inherits" must not be null or undefined #14

Open CharcoalStyles opened 6 years ago

CharcoalStyles commented 6 years ago

Just trying to get Koop up and running and loading some JSON.

Loading up koop-gist with a very simple script throws the error in the heading. const Koop = require('koop'); const koopGist = require('koop-gist'); const koop = new Koop(); koop.register(koopGist); koop.server.listen(80);

dmfenton commented 6 years ago

Thanks for logging a bug. Unfortunately, this provider is out of date with Koop 3. It should still run on Koop 2, though I'll admit documentation will be difficult to find. Perhaps you would be interested in rewriting this provider to follow the pattern in: https://github.com/koopjs/koop-provider-sample?