{"action":"created","issue":{"url":"https://api.github.com/repos/wit-ai/node-wit/issues/43","repository_url":"https://api.github.com/repos/wit-ai/node-wit","labels_url":"https://api.github.com/repos/wit-ai/node-wit/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/wit-ai/node-wit/issues/43/comments","events_url":"https://api.github.com/repos/wit-ai/node-wit/issues/43/events","html_url":"https://github.com/wit-ai/node-wit/issues/43","id":158424781,"number":43,"title":"Example messenger.js and template.js have unexpected token issue","user":{"login":"everythingswift","id":10980013,"avatar_url":"https://avatars.githubusercontent.com/u/10980013?v=3","gravatar_id":"","url":"https://api.github.com/users/everythingswift","html_url":"https://github.com/everythingswift","followers_url":"https://api.github.com/users/everythingswift/followers","following_url":"https://api.github.com/users/everythingswift/following{/other_user}","gists_url":"https://api.github.com/users/everythingswift/gists{/gist_id}","starred_url":"https://api.github.com/users/everythingswift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everythingswift/subscriptions","organizations_url":"https://api.github.com/users/everythingswift/orgs","repos_url":"https://api.github.com/users/everythingswift/repos","events_url":"https://api.github.com/users/everythingswift/events{/privacy}","received_events_url":"https://api.github.com/users/everythingswift/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-03T18:19:22Z","updated_at":"2016-06-03T19:45:32Z","closed_at":"2016-06-03T19:45:31Z","body":"Unable to figure out how to navigate away from these issues. Do not let me run the examples as expected for testing/integration to proceed. Any guidance or help or if this is a real issue, please acknowledge. \r\n\r\n**Issue with template.js**\r\n[ec2-user@ip-122-51-20-10 node-wit]$ node --harmony examples/template.js MYWITTOKEN\r\n\r\n/home/ec2-user/node_modules/node-wit/examples/template.js:7\r\nconst token = (() => {\r\n                ^\r\nSyntaxError: Unexpected token )\r\n    at Module._compile (module.js:439:25)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Function.Module.runMain (module.js:497:10)\r\n    at startup (node.js:119:16)\r\n    at node.js:935:3\r\n\r\n\r\n**Issue with messenger.js**\r\n[ec2-user@ip-122-51-20-10 node-wit]$ node --harmony examples/messenger.js\r\n\r\n/home/ec2-user/node_modules/node-wit/examples/messenger.js:53\r\nconst fbMessage = (recipientId, msg, cb) => {\r\n                                          ^\r\nSyntaxError: Unexpected token >\r\n    at Module._compile (module.js:439:25)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Function.Module.runMain (module.js:497:10)\r\n    at startup (node.js:119:16)\r\n    at node.js:935:3\r\n"},"comment":{"url":"https://api.github.com/repos/wit-ai/node-wit/issues/comments/223676044","html_url":"https://github.com/wit-ai/node-wit/issues/43#issuecomment-223676044","issue_url":"https://api.github.com/repos/wit-ai/node-wit/issues/43","id":223676044,"user":{"login":"everythingswift","id":10980013,"avatar_url":"https://avatars.githubusercontent.com/u/10980013?v=3","gravatar_id":"","url":"https://api.github.com/users/everythingswift","html_url":"https://github.com/everythingswift","followers_url":"https://api.github.com/users/everythingswift/followers","following_url":"https://api.github.com/users/everythingswift/following{/other_user}","gists_url":"https://api.github.com/users/everythingswift/gists{/gist_id}","starred_url":"https://api.github.com/users/everythingswift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everythingswift/subscriptions","organizations_url":"https://api.github.com/users/everythingswift/orgs","repos_url":"https://api.github.com/users/everythingswift/repos","events_url":"https://api.github.com/users/everythingswift/events{/privacy}","received_events_url":"https://api.github.com/users/everythingswift/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T19:45:31Z","updated_at":"2016-06-03T19:45:31Z","body":"Had to install packages 'hapi' for this error to not come. It'd be better if a heads up is provided for the dependency libraries than leaving the issue just as is. "}}
{"actor":{"display_login":"everythingswift"}}