{"action":"created","issue":{"url":"https://api.github.com/repos/nightwolfz/mobx-starter/issues/4","repository_url":"https://api.github.com/repos/nightwolfz/mobx-starter","labels_url":"https://api.github.com/repos/nightwolfz/mobx-starter/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/nightwolfz/mobx-starter/issues/4/comments","events_url":"https://api.github.com/repos/nightwolfz/mobx-starter/issues/4/events","html_url":"https://github.com/nightwolfz/mobx-starter/issues/4","id":168942185,"number":4,"title":"registration and login fail","user":{"login":"stocksp","id":1890188,"avatar_url":"https://avatars.githubusercontent.com/u/1890188?v=3","gravatar_id":"","url":"https://api.github.com/users/stocksp","html_url":"https://github.com/stocksp","followers_url":"https://api.github.com/users/stocksp/followers","following_url":"https://api.github.com/users/stocksp/following{/other_user}","gists_url":"https://api.github.com/users/stocksp/gists{/gist_id}","starred_url":"https://api.github.com/users/stocksp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stocksp/subscriptions","organizations_url":"https://api.github.com/users/stocksp/orgs","repos_url":"https://api.github.com/users/stocksp/repos","events_url":"https://api.github.com/users/stocksp/events{/privacy}","received_events_url":"https://api.github.com/users/stocksp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-02T17:28:04Z","updated_at":"2016-08-03T04:32:51Z","closed_at":"2016-08-03T04:32:51Z","body":"clone and npm installed with node version v6.2.1  aok\r\nlanding page works\r\nattempting to register or login .... not so good.\r\n\r\n```\r\nmobx-starter git:(master) npm run dev\r\n\r\n> mobx-starter@0.2.0 dev /Users/paul/projects/mobx-starter\r\n> cross-env NODE_ENV=development node ./index.js\r\n\r\n[Static] /build - /Users/paul/projects/mobx-starter/build\r\nHTTP Server listening on port 2000\r\nWebpack DEV Server running on port 2002\r\nMongodb started on port 27017\r\nwebpack built 39bb58bee961b7247e0a in 8309ms\r\nHash: 39bb58bee961b7247e0a\r\nVersion: webpack 2.1.0-beta.14\r\nTime: 8309ms\r\n     Asset     Size  Chunks             Chunk Names\r\n bundle.js  4.75 MB       0  [emitted]  bundle\r\nbundle.css  5.82 kB       0  [emitted]  bundle\r\nChild extract-text-webpack-plugin:\r\n    \r\nwebpack: bundle is now VALID.\r\nFetching: api/todos\r\nUnhandled rejection ReferenceError: username is not defined\r\n    at /Users/paul/projects/mobx-starter/src/server/routes/account.js:176:82\r\n    at boundThen (/Users/paul/projects/mobx-starter/src/client/components/Home.js:150:25)\r\n    at /Users/paul/projects/mobx-starter/src/server/routes/account.js:172:12\r\n    at Layer.handle [as handle_request] (/Users/paul/projects/mobx-starter/node_modules/express/lib/router/layer.js:95:5)\r\n\r\n\r\n```\r\n\r\nThe accounts document IS being created in the db (password is NOT hashed which is not so great).  I'm confused by the  error as it references server/routes/account.js:176:82.   The source file I have only has 74 lines in it so I have no idea where or what the actual problem is that causes the failure."},"comment":{"url":"https://api.github.com/repos/nightwolfz/mobx-starter/issues/comments/237135150","html_url":"https://github.com/nightwolfz/mobx-starter/issues/4#issuecomment-237135150","issue_url":"https://api.github.com/repos/nightwolfz/mobx-starter/issues/4","id":237135150,"user":{"login":"stocksp","id":1890188,"avatar_url":"https://avatars.githubusercontent.com/u/1890188?v=3","gravatar_id":"","url":"https://api.github.com/users/stocksp","html_url":"https://github.com/stocksp","followers_url":"https://api.github.com/users/stocksp/followers","following_url":"https://api.github.com/users/stocksp/following{/other_user}","gists_url":"https://api.github.com/users/stocksp/gists{/gist_id}","starred_url":"https://api.github.com/users/stocksp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stocksp/subscriptions","organizations_url":"https://api.github.com/users/stocksp/orgs","repos_url":"https://api.github.com/users/stocksp/repos","events_url":"https://api.github.com/users/stocksp/events{/privacy}","received_events_url":"https://api.github.com/users/stocksp/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T04:32:51Z","updated_at":"2016-08-03T04:32:51Z","body":"Yikes,  seems I had an old todos db, from some other project (almost 2 years old) ... I thought all those entries where your seed data ... not!\r\nProject runs great!\r\nsorry for the noise .....   "}}
{"actor":{"display_login":"stocksp"}}