mathew-kurian / FacebookMessengerBot.js

:mailbox: Simple, light-weight Facebook Messenger Bot API for Node with ES6 support (via. Promises)
https://developers.facebook.com/docs/messenger-platform
117 stars 24 forks source link

ReferenceError: regeneratorRuntime is not defined #7

Open ivanixgames opened 7 years ago

ivanixgames commented 7 years ago

Hello,

After babel, I get the error when running the sample on the readme:

var _ref = _asyncToGenerator(regeneratorRuntime.mark(function _callee(message) { ^ ReferenceError: regeneratorRuntime is not defined

.... Any idea how to correct? I tried using node 4.0.0 and 6.6.0 but same error.