iKonrad / gatsby-source-directus

Source plugin for pulling data into GatsbyJS from Directus CMS (https://getdirectus.com)
25 stars 10 forks source link

ReferenceError: regeneratorRuntime is not defined #3

Closed pgegenfurtner closed 6 years ago

pgegenfurtner commented 6 years ago

After installing and adding the plugin to my gatsby-config.js I get the following error:

error UNHANDLED EXCEPTION

  ReferenceError: regeneratorRuntime is not defined

  - fetch.js:39 
    /[gatsby-source-directus]/fetch.js:39:56

  - fetch.js:111 
    /[gatsby-source-directus]/fetch.js:111:10

  - fetch.js:145 Object.<anonymous>
    /[gatsby-source-directus]/fetch.js:145:2

  - v8-compile-cache.js:178 Module._compile
    /[v8-compile-cache]/v8-compile-cache.js:178:3    0

  - v8-compile-cache.js:159 require
    /[v8-compile-cache]/v8-compile-cache.js:159:2    0

  - gatsby-node.js:3 Object.<anonymous>
   /[gatsby-source-directus]/gatsby-node.js:3:14  
  - v8-compile-cache.js:178 Module._compile
    /[v8-compile-cache]/v8-compile-cache.js:178:3    0
jkjustjoshing commented 6 years ago

@iKonrad there is no release that includes the fix to this. Can you create a release so I can reference it in my package.json? (my project has a restriction that doesn't allow us to directly target commit hashes, otherwise I'd just do that).