{"action":"created","issue":{"url":"https://api.github.com/repos/thuanpq/nodebb-plugin-inappropriate-words/issues/1","labels_url":"https://api.github.com/repos/thuanpq/nodebb-plugin-inappropriate-words/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/thuanpq/nodebb-plugin-inappropriate-words/issues/1/comments","events_url":"https://api.github.com/repos/thuanpq/nodebb-plugin-inappropriate-words/issues/1/events","html_url":"https://github.com/thuanpq/nodebb-plugin-inappropriate-words/issues/1","id":109471724,"number":1,"title":"Add dependencies","user":{"login":"robjens","id":11848802,"avatar_url":"https://avatars.githubusercontent.com/u/11848802?v=3","gravatar_id":"","url":"https://api.github.com/users/robjens","html_url":"https://github.com/robjens","followers_url":"https://api.github.com/users/robjens/followers","following_url":"https://api.github.com/users/robjens/following{/other_user}","gists_url":"https://api.github.com/users/robjens/gists{/gist_id}","starred_url":"https://api.github.com/users/robjens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robjens/subscriptions","organizations_url":"https://api.github.com/users/robjens/orgs","repos_url":"https://api.github.com/users/robjens/repos","events_url":"https://api.github.com/users/robjens/events{/privacy}","received_events_url":"https://api.github.com/users/robjens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-02T10:58:39Z","updated_at":"2015-10-14T04:33:54Z","closed_at":null,"body":"If you use 'em, you should really not forget to add them to the `package.json` file. Currently, I had a NodeBB instance fail due one of this package missing dependencies, namely `winston`.\r\n\r\nI should add to that, `winston` is not required anywhere which will obviously still fail after adding to `package.json`. After including it though, another error fired off namely:\r\n\r\n```\r\nerror: TypeError: Cannot read property 'split' of undefined\r\n    at Object.plugin.parse [as method] (<cut>/node_modules/nodebb-plugin-inappropriate-words/library.js:51:59)\r\n```\r\n\r\nPossibly since I'm not sure if `require` will work like that inside the function which calls it. I'm relatively new to the NodeBB architecture but could be one needs to pass around these modules in order to work."},"comment":{"url":"https://api.github.com/repos/thuanpq/nodebb-plugin-inappropriate-words/issues/comments/147932491","html_url":"https://github.com/thuanpq/nodebb-plugin-inappropriate-words/issues/1#issuecomment-147932491","issue_url":"https://api.github.com/repos/thuanpq/nodebb-plugin-inappropriate-words/issues/1","id":147932491,"user":{"login":"thuanpq","id":6512225,"avatar_url":"https://avatars.githubusercontent.com/u/6512225?v=3","gravatar_id":"","url":"https://api.github.com/users/thuanpq","html_url":"https://github.com/thuanpq","followers_url":"https://api.github.com/users/thuanpq/followers","following_url":"https://api.github.com/users/thuanpq/following{/other_user}","gists_url":"https://api.github.com/users/thuanpq/gists{/gist_id}","starred_url":"https://api.github.com/users/thuanpq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thuanpq/subscriptions","organizations_url":"https://api.github.com/users/thuanpq/orgs","repos_url":"https://api.github.com/users/thuanpq/repos","events_url":"https://api.github.com/users/thuanpq/events{/privacy}","received_events_url":"https://api.github.com/users/thuanpq/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T04:33:54Z","updated_at":"2015-10-14T04:33:54Z","body":"Thank you , robjens. I will update it asap"}}