{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/monk/issues/91","labels_url":"https://api.github.com/repos/Automattic/monk/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/monk/issues/91/comments","events_url":"https://api.github.com/repos/Automattic/monk/issues/91/events","html_url":"https://github.com/Automattic/monk/issues/91","id":63798052,"number":91,"title":"Issue with mongoskin","user":{"login":"DylanPiercey","id":4985201,"avatar_url":"https://avatars.githubusercontent.com/u/4985201?v=3","gravatar_id":"","url":"https://api.github.com/users/DylanPiercey","html_url":"https://github.com/DylanPiercey","followers_url":"https://api.github.com/users/DylanPiercey/followers","following_url":"https://api.github.com/users/DylanPiercey/following{/other_user}","gists_url":"https://api.github.com/users/DylanPiercey/gists{/gist_id}","starred_url":"https://api.github.com/users/DylanPiercey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylanPiercey/subscriptions","organizations_url":"https://api.github.com/users/DylanPiercey/orgs","repos_url":"https://api.github.com/users/DylanPiercey/repos","events_url":"https://api.github.com/users/DylanPiercey/events{/privacy}","received_events_url":"https://api.github.com/users/DylanPiercey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-03-23T18:34:17Z","updated_at":"2016-01-16T23:14:41Z","closed_at":null,"body":"```javascript\r\n  var skinClassName = 'Skin' + NativeClass.name;\r\n                                          ^\r\n\r\nTypeError: Cannot read property 'name' of undefined\r\n    at makeSkinClass (/Users/tacmarketing/WebstormProjects/tcomb-db/node_modules/monk/node_modules/mongoskin/lib/utils.js:33:43)\r\n    at Object.<anonymous> (/Users/tacmarketing/WebstormProjects/tcomb-db/node_modules/monk/node_modules/mongoskin/lib/admin.js:18:37)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n\r\n```\r\n\r\nCurrently can't build monk and i'm not sure mongoskin will receive an update.\r\n\r\nAre there any plans to remove mongoskin as a dependency?\r\n\r\nEdit:\r\n\r\nA temporary solution to fix this module would be to add mongodb@1.4.4 as a dependency as the issue stems from the fact that mongoskin switched (accidentially) to a peer dependency for mongodb@2.X which it does not support."},"comment":{"url":"https://api.github.com/repos/Automattic/monk/issues/comments/172268031","html_url":"https://github.com/Automattic/monk/issues/91#issuecomment-172268031","issue_url":"https://api.github.com/repos/Automattic/monk/issues/91","id":172268031,"user":{"login":"alexdmiller","id":926408,"avatar_url":"https://avatars.githubusercontent.com/u/926408?v=3","gravatar_id":"","url":"https://api.github.com/users/alexdmiller","html_url":"https://github.com/alexdmiller","followers_url":"https://api.github.com/users/alexdmiller/followers","following_url":"https://api.github.com/users/alexdmiller/following{/other_user}","gists_url":"https://api.github.com/users/alexdmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/alexdmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexdmiller/subscriptions","organizations_url":"https://api.github.com/users/alexdmiller/orgs","repos_url":"https://api.github.com/users/alexdmiller/repos","events_url":"https://api.github.com/users/alexdmiller/events{/privacy}","received_events_url":"https://api.github.com/users/alexdmiller/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T23:14:41Z","updated_at":"2016-01-16T23:14:41Z","body":"@vccabral Maybe I don't understand the fix. I added those two lines to my package.json and then ran npm install. I'm still getting:\r\n\r\nnpm WARN EPEERINVALID mongoskin@2.0.3 requires a peer of mongodb@~2.0 but none was installed.\r\n\r\nAlso, isn't it a little silly that this bug has been open since March 23rd, 2015, and you still can't install monk? Is everyone who wants to use monk using this workaround?"}}