{"action":"opened","issue":{"url":"https://api.github.com/repos/inversify/InversifyJS/issues/264","repository_url":"https://api.github.com/repos/inversify/InversifyJS","labels_url":"https://api.github.com/repos/inversify/InversifyJS/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/inversify/InversifyJS/issues/264/comments","events_url":"https://api.github.com/repos/inversify/InversifyJS/issues/264/events","html_url":"https://github.com/inversify/InversifyJS/issues/264","id":161626664,"number":264,"title":"Not working Example express-utils","user":{"login":"lholznagel","id":4436411,"avatar_url":"https://avatars.githubusercontent.com/u/4436411?v=3","gravatar_id":"","url":"https://api.github.com/users/lholznagel","html_url":"https://github.com/lholznagel","followers_url":"https://api.github.com/users/lholznagel/followers","following_url":"https://api.github.com/users/lholznagel/following{/other_user}","gists_url":"https://api.github.com/users/lholznagel/gists{/gist_id}","starred_url":"https://api.github.com/users/lholznagel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lholznagel/subscriptions","organizations_url":"https://api.github.com/users/lholznagel/orgs","repos_url":"https://api.github.com/users/lholznagel/repos","events_url":"https://api.github.com/users/lholznagel/events{/privacy}","received_events_url":"https://api.github.com/users/lholznagel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-22T08:52:54Z","updated_at":"2016-06-22T08:52:54Z","closed_at":null,"body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Expected Behavior\r\n<!--- If you're describing a bug, tell us what should happen -->\r\n<!--- If you're suggesting a change/improvement, tell us how it should work -->\r\nThe example in the Readme should work\r\n\r\n## Current Behavior\r\n<!--- If describing a bug, tell us what happens instead of the expected behavior -->\r\n<!--- If suggesting a change/improvement, explain the difference from current behavior -->\r\nI nearly exactly copied the example from the readme, but always got a error.\r\n\r\n## Possible Solution\r\n<!--- Not obligatory, but suggest a fix/reason for the bug, -->\r\n<!--- or ideas how to implement the addition or change -->\r\nUpdate Readme\r\n\r\n## Steps to Reproduce (for bugs)\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\r\n1. Use the Readme example\r\n2. Start the Server\r\n3. Try to load the new Controller\r\n\r\n## Context\r\n<!--- How has this issue affected you? What are you trying to accomplish? -->\r\n<!--- Providing context helps us come up with a solution that is most useful in the real world -->\r\nTried to setup a small project for testing. For me it helped to take a look into the tests and change my kernel config like there:\r\n```\r\nlet kernel = new Kernel();\r\nkernel.bind<AboutController>('AboutController').to(AboutController);\r\n```\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Version used: 1.0.0-alpha.3\r\n* Environment name and version (e.g. Chrome 39, node.js 5.4): NodeJS 6.2.0\r\n* Operating System and version (desktop or mobile): Linux Ubuntu 15.10\r\n* Link to your project: None\r\n\r\n# Stack trace\r\n<!--- Include stack trace -->\r\nWhen it is used like the readme says\r\n```\r\nError: No bindings found for serviceIdentifier: AboutController\r\n    at Kernel._getActiveBindings (path to project/inversify/lib/kernel/kernel.js:169:23)\r\n    at Kernel._plan (path to project/inversify/lib/kernel/kernel.js:186:29)\r\n    at Kernel._planAndResolve (path to project/inversify/lib/kernel/kernel.js:157:29)\r\n    at Kernel._get (path to project/inversify/lib/kernel/kernel.js:149:27)\r\n    at Kernel.get (path to project/inversify/lib/kernel/kernel.js:80:21)\r\n    at handler (path to project/inversify-express-utils/lib/route-container.js:37:39)\r\n    at Layer.handle [as handle_request] (path to project/express/lib/router/layer.js:95:5)\r\n    at next (path to project/express/lib/router/route.js:131:13)\r\n    at Route.dispatch (path to project/express/lib/router/route.js:112:3)\r\n    at Layer.handle [as handle_request] (path to project/express/lib/router/layer.js:95:5)\r\n```"}}
{"actor":{"display_login":"lholznagel"}}