Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regeneratorRuntime is not defined #11

Closed
beautyfree opened this issue Apr 12, 2018 · 1 comment
Closed

regeneratorRuntime is not defined #11

beautyfree opened this issue Apr 12, 2018 · 1 comment

Comments

@beautyfree
Copy link

version 0.0.6 with handleUpdates.js example

➜  node index.js
/Users/beautyfree/projects/side/hobby/telegram/node_modules/tglib/lib/Client.js:70
      var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
                                                 ^

ReferenceError: regeneratorRuntime is not defined
    at /Users/beautyfree/projects/side/hobby/telegram/node_modules/tglib/lib/Client.js:70:50
    at /Users/beautyfree/projects/side/hobby/telegram/node_modules/tglib/lib/Client.js:107:6
    at Object.<anonymous> (/Users/beautyfree/projects/side/hobby/telegram/node_modules/tglib/lib/Client.js:506:2)
    at Module._compile (module.js:649:30)
    at Object.Module._extensions..js (module.js:660:10)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:501:12)
    at Function.Module._load (module.js:493:3)
    at Module.require (module.js:593:17)
    at require (internal/module.js:11:18)
@nodegin
Copy link
Owner

nodegin commented Apr 12, 2018

Hi @beautyfree, this is now fixed in version 0.0.7. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants