{"action":"created","issue":{"url":"https://api.github.com/repos/apsillers/lords-of-the-fey/issues/13","repository_url":"https://api.github.com/repos/apsillers/lords-of-the-fey","labels_url":"https://api.github.com/repos/apsillers/lords-of-the-fey/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/apsillers/lords-of-the-fey/issues/13/comments","events_url":"https://api.github.com/repos/apsillers/lords-of-the-fey/issues/13/events","html_url":"https://github.com/apsillers/lords-of-the-fey/issues/13","id":330836584,"node_id":"MDU6SXNzdWUzMzA4MzY1ODQ=","number":13,"title":"Mongodb issue","user":{"login":"giviz","id":3670552,"node_id":"MDQ6VXNlcjM2NzA1NTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3670552?v=4","gravatar_id":"","url":"https://api.github.com/users/giviz","html_url":"https://github.com/giviz","followers_url":"https://api.github.com/users/giviz/followers","following_url":"https://api.github.com/users/giviz/following{/other_user}","gists_url":"https://api.github.com/users/giviz/gists{/gist_id}","starred_url":"https://api.github.com/users/giviz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giviz/subscriptions","organizations_url":"https://api.github.com/users/giviz/orgs","repos_url":"https://api.github.com/users/giviz/repos","events_url":"https://api.github.com/users/giviz/events{/privacy}","received_events_url":"https://api.github.com/users/giviz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-09T00:26:11Z","updated_at":"2018-06-09T02:42:29Z","closed_at":null,"author_association":"NONE","body":"Hey buddy !\r\n\r\nI was looking a the project and saw a recent commit, are you getting back to work on it ?\r\n\r\nThe demo link is no longer working, so I tried to install the game but it seems that there is an issue with mongo db.\r\n\r\n```\r\nnode server.js\r\nbody-parser deprecated bodyParser: use individual json/urlencoded middlewares server.js:77:31\r\n```\r\n\r\n```\r\n2018-06-08T20:21:07.094-0400 I NETWORK  [listener] connection accepted from 127.0.0.1:46348 #15 (1 connection now open)\r\n2018-06-08T20:21:07.094-0400 I NETWORK  [listener] connection accepted from 127.0.0.1:46350 #16 (2 connections nowopen)\r\n```\r\n\r\n```\r\n> show tables\r\nusers\r\n> db.users.find()\r\n{ \"_id\" : ObjectId(\"5b1b1a0f197dd7b40324ff3b\"), \"username\" : \"hello\", \"hash\" : \"sha1$b622db74$1$\" }\r\n{ \"_id\" : ObjectId(\"5b1b1a0f197dd7b40324ff3c\"), \"username\" : \"goodbye\", \"hash\" : \"sha1$f2717d97$1$\" }\r\n```\r\n\r\nThe game is just loading without any response, my best guess is that it's stuck with the db but I'm not very familiar with Mongo and nodejs and tried to make it work for a couple of hours without success.\r\n\r\nAny idea what can be the issue or how I can debug it ?\r\nAny chance you get that demo running again ?\r\n\r\nThanks !"},"comment":{"url":"https://api.github.com/repos/apsillers/lords-of-the-fey/issues/comments/395933843","html_url":"https://github.com/apsillers/lords-of-the-fey/issues/13#issuecomment-395933843","issue_url":"https://api.github.com/repos/apsillers/lords-of-the-fey/issues/13","id":395933843,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTkzMzg0Mw==","user":{"login":"apsillers","id":300913,"node_id":"MDQ6VXNlcjMwMDkxMw==","avatar_url":"https://avatars2.githubusercontent.com/u/300913?v=4","gravatar_id":"","url":"https://api.github.com/users/apsillers","html_url":"https://github.com/apsillers","followers_url":"https://api.github.com/users/apsillers/followers","following_url":"https://api.github.com/users/apsillers/following{/other_user}","gists_url":"https://api.github.com/users/apsillers/gists{/gist_id}","starred_url":"https://api.github.com/users/apsillers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apsillers/subscriptions","organizations_url":"https://api.github.com/users/apsillers/orgs","repos_url":"https://api.github.com/users/apsillers/repos","events_url":"https://api.github.com/users/apsillers/events{/privacy}","received_events_url":"https://api.github.com/users/apsillers/received_events","type":"User","site_admin":false},"created_at":"2018-06-09T02:42:29Z","updated_at":"2018-06-09T02:42:29Z","author_association":"OWNER","body":"Thanks for the interest!\r\n\r\nI've seen this before, when I also tried to get things going after a long break. As I recall, the issue is that the mongodb driver changed its `find` function in a version change.\r\n\r\nAs I recall, the fix was to pin the mongodb driver version in package.json instead of permissively allowing later versions. So use\r\n\r\n     \"mongodb\": \"1.4.29\"\r\n\r\ninstead of the current\r\n\r\n     \"mongodb\": \"^1.4.29\"\r\n\r\nThen rerun `npm install`. I forget if hat broke anything else, though. If it does, you might just be able to remove upgrade symbols from all the versions, to use the exact versions that I used when I first wrote this a couple years ago."}}
{"actor":{"display_login":"apsillers"}}