{"action":"created","issue":{"url":"https://api.github.com/repos/SOFTWARE-CLINIC/featurebook/issues/52","labels_url":"https://api.github.com/repos/SOFTWARE-CLINIC/featurebook/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/SOFTWARE-CLINIC/featurebook/issues/52/comments","events_url":"https://api.github.com/repos/SOFTWARE-CLINIC/featurebook/issues/52/events","html_url":"https://github.com/SOFTWARE-CLINIC/featurebook/issues/52","id":104414721,"number":52,"title":"Browsing features fails, index listing of features is shown","user":{"login":"dparnane","id":227861,"avatar_url":"https://avatars.githubusercontent.com/u/227861?v=3","gravatar_id":"","url":"https://api.github.com/users/dparnane","html_url":"https://github.com/dparnane","followers_url":"https://api.github.com/users/dparnane/followers","following_url":"https://api.github.com/users/dparnane/following{/other_user}","gists_url":"https://api.github.com/users/dparnane/gists{/gist_id}","starred_url":"https://api.github.com/users/dparnane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dparnane/subscriptions","organizations_url":"https://api.github.com/users/dparnane/orgs","repos_url":"https://api.github.com/users/dparnane/repos","events_url":"https://api.github.com/users/dparnane/events{/privacy}","received_events_url":"https://api.github.com/users/dparnane/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SOFTWARE-CLINIC/featurebook/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/SOFTWARE-CLINIC/featurebook/labels/reproducible","name":"reproducible","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"danielpacak","id":1322923,"avatar_url":"https://avatars.githubusercontent.com/u/1322923?v=3","gravatar_id":"","url":"https://api.github.com/users/danielpacak","html_url":"https://github.com/danielpacak","followers_url":"https://api.github.com/users/danielpacak/followers","following_url":"https://api.github.com/users/danielpacak/following{/other_user}","gists_url":"https://api.github.com/users/danielpacak/gists{/gist_id}","starred_url":"https://api.github.com/users/danielpacak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielpacak/subscriptions","organizations_url":"https://api.github.com/users/danielpacak/orgs","repos_url":"https://api.github.com/users/danielpacak/repos","events_url":"https://api.github.com/users/danielpacak/events{/privacy}","received_events_url":"https://api.github.com/users/danielpacak/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-02T06:58:11Z","updated_at":"2015-09-02T09:15:39Z","closed_at":null,"body":"Running `featurebook serve --port 3002` in our cucumber features directory serves the generated document index view, but when I click any individual feature to show its contents, nothing is shown and I get the following stack trace on node:\r\n\r\n```\r\nTypeError: Cannot read property 'reset' of undefined\r\n    at Parser.parse (/..../node_modules/featurebook/node_modules/gherkin/lib/gherkin/parser.js:50:15)\r\n    at Object.fromFileSync (/..../node_modules/featurebook/lib/gherkin-model.js:13:19)\r\n    at Object.getFeatureSync (/..../node_modules/featurebook/lib/featurebook-api.js:75:20)\r\n    at /..../node_modules/featurebook/lib/command-serve.js:62:25\r\n    at Layer.handle [as handle_request] (/..../node_modules/featurebook/node_modules/express/lib/router/layer.js:95:5)\r\n    at next (/..../node_modules/featurebook/node_modules/express/lib/router/route.js:131:13)\r\n    at Route.dispatch (/..../node_modules/featurebook/node_modules/express/lib/router/route.js:112:3)\r\n    at Layer.handle [as handle_request] (/..../node_modules/featurebook/node_modules/express/lib/router/layer.js:95:5)\r\n    at /..../node_modules/featurebook/node_modules/express/lib/router/index.js:277:22\r\n    at param (/..../node_modules/featurebook/node_modules/express/lib/router/index.js:349:14)\r\n```\r\n\r\nI didn't look too deep into the issue, but it seems that the AstBuilder might not be initalized correctly. Installation resolves the gherkin dependency as 3.1.0."},"comment":{"url":"https://api.github.com/repos/SOFTWARE-CLINIC/featurebook/issues/comments/136990311","html_url":"https://github.com/SOFTWARE-CLINIC/featurebook/issues/52#issuecomment-136990311","issue_url":"https://api.github.com/repos/SOFTWARE-CLINIC/featurebook/issues/52","id":136990311,"user":{"login":"danielpacak","id":1322923,"avatar_url":"https://avatars.githubusercontent.com/u/1322923?v=3","gravatar_id":"","url":"https://api.github.com/users/danielpacak","html_url":"https://github.com/danielpacak","followers_url":"https://api.github.com/users/danielpacak/followers","following_url":"https://api.github.com/users/danielpacak/following{/other_user}","gists_url":"https://api.github.com/users/danielpacak/gists{/gist_id}","starred_url":"https://api.github.com/users/danielpacak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielpacak/subscriptions","organizations_url":"https://api.github.com/users/danielpacak/orgs","repos_url":"https://api.github.com/users/danielpacak/repos","events_url":"https://api.github.com/users/danielpacak/events{/privacy}","received_events_url":"https://api.github.com/users/danielpacak/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T09:15:39Z","updated_at":"2015-09-02T09:15:39Z","body":"Thank you for reporting this @dparnane . Indeed there's an issue with the gherkin:3.1.0 package. The problem did not happen with gherkin:3.0.0. Anyhow I'll try to fix it shortly."}}