{"action":"created","issue":{"url":"https://api.github.com/repos/linnovate/mean/issues/1017","labels_url":"https://api.github.com/repos/linnovate/mean/issues/1017/labels{/name}","comments_url":"https://api.github.com/repos/linnovate/mean/issues/1017/comments","events_url":"https://api.github.com/repos/linnovate/mean/issues/1017/events","html_url":"https://github.com/linnovate/mean/issues/1017","id":54689927,"number":1017,"title":"Adding role not working","user":{"login":"Tyvain","id":7066226,"avatar_url":"https://avatars.githubusercontent.com/u/7066226?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyvain","html_url":"https://github.com/Tyvain","followers_url":"https://api.github.com/users/Tyvain/followers","following_url":"https://api.github.com/users/Tyvain/following{/other_user}","gists_url":"https://api.github.com/users/Tyvain/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyvain/subscriptions","organizations_url":"https://api.github.com/users/Tyvain/orgs","repos_url":"https://api.github.com/users/Tyvain/repos","events_url":"https://api.github.com/users/Tyvain/events{/privacy}","received_events_url":"https://api.github.com/users/Tyvain/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-18T08:14:14Z","updated_at":"2015-01-20T23:40:04Z","closed_at":"2015-01-20T23:40:04Z","body":"My app is running, I try to add an admin:\r\n\r\n``` \r\nmean user xxx@gmail.com --addRole admin;\r\n  Adding role `admin` to user `xxx@gmail.com`\r\n{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }\r\njs-bson: Failed to load c++ bson extension, using pure JS version\r\n```"},"comment":{"url":"https://api.github.com/repos/linnovate/mean/issues/comments/70757616","html_url":"https://github.com/linnovate/mean/issues/1017#issuecomment-70757616","issue_url":"https://api.github.com/repos/linnovate/mean/issues/1017","id":70757616,"user":{"login":"Tyvain","id":7066226,"avatar_url":"https://avatars.githubusercontent.com/u/7066226?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyvain","html_url":"https://github.com/Tyvain","followers_url":"https://api.github.com/users/Tyvain/followers","following_url":"https://api.github.com/users/Tyvain/following{/other_user}","gists_url":"https://api.github.com/users/Tyvain/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyvain/subscriptions","organizations_url":"https://api.github.com/users/Tyvain/orgs","repos_url":"https://api.github.com/users/Tyvain/repos","events_url":"https://api.github.com/users/Tyvain/events{/privacy}","received_events_url":"https://api.github.com/users/Tyvain/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T23:40:04Z","updated_at":"2015-01-20T23:40:04Z","body":"Ok thank you, I will try that (not now because I fear to break my production server).\r\n\r\nI manage to bypass the problem (maybe it can help someone even if it's not a good way to do it):\r\nChanged my working 'development version' to target my prod DB, then add the user with mean user -a. \r\n\r\n"}}