{"action":"closed","issue":{"url":"https://api.github.com/repos/dpa99c/cordova-custom-config/issues/38","repository_url":"https://api.github.com/repos/dpa99c/cordova-custom-config","labels_url":"https://api.github.com/repos/dpa99c/cordova-custom-config/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/dpa99c/cordova-custom-config/issues/38/comments","events_url":"https://api.github.com/repos/dpa99c/cordova-custom-config/issues/38/events","html_url":"https://github.com/dpa99c/cordova-custom-config/issues/38","id":134209575,"number":38,"title":"Installing plugin fails","user":{"login":"henritoivar","id":5262399,"avatar_url":"https://avatars.githubusercontent.com/u/5262399?v=3","gravatar_id":"","url":"https://api.github.com/users/henritoivar","html_url":"https://github.com/henritoivar","followers_url":"https://api.github.com/users/henritoivar/followers","following_url":"https://api.github.com/users/henritoivar/following{/other_user}","gists_url":"https://api.github.com/users/henritoivar/gists{/gist_id}","starred_url":"https://api.github.com/users/henritoivar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henritoivar/subscriptions","organizations_url":"https://api.github.com/users/henritoivar/orgs","repos_url":"https://api.github.com/users/henritoivar/repos","events_url":"https://api.github.com/users/henritoivar/events{/privacy}","received_events_url":"https://api.github.com/users/henritoivar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-17T07:56:36Z","updated_at":"2016-02-17T08:32:35Z","closed_at":"2016-02-17T08:32:35Z","body":"C:\\dev\\code\\tippy-app>cordova plugin add cordova-custom-config\r\nFetching plugin \"cordova-custom-config\" via npm\r\nInstalling \"cordova-custom-config\" for android\r\ncordova-custom-config: Installing plugin dependencies...\r\nRunning command: \"C:\\Program Files\\nodejs\\node.exe\" C:\\dev\\code\\tippy-app\\hooks\\after_plugin_add\\010_register_plugin.js C:\\dev\\code\\tippy-app\r\nRunning command: \"C:\\Program Files\\nodejs\\node.exe\" C:\\dev\\code\\tippy-app\\hooks\\after_plugin_add\\register_plugins.js C:\\dev\\code\\tippy-app\r\nC:\\dev\\code\\tippy-app\\hooks\\after_plugin_add\\register_plugins.js:12\r\n  if (! _.contains(packageJSON.cordovaPlugins, plugin)) {\r\n          ^\r\n\r\nTypeError: _.contains is not a function\r\n    at C:\\dev\\code\\tippy-app\\hooks\\after_plugin_add\\register_plugins.js:12:11\r\n    at arrayEach (C:\\dev\\code\\tippy-app\\node_modules\\lodash\\lodash.js:474:11)\r\n    at Function.forEach (C:\\dev\\code\\tippy-app\\node_modules\\lodash\\lodash.js:7633:11)\r\n    at Object.<anonymous> (C:\\dev\\code\\tippy-app\\hooks\\after_plugin_add\\register_plugins.js:11:3)\r\n    at Module._compile (module.js:413:34)\r\n    at Object.Module._extensions..js (module.js:422:10)\r\n    at Module.load (module.js:357:32)\r\n    at Function.Module._load (module.js:314:12)\r\n    at Function.Module.runMain (module.js:447:10)\r\n    at startup (node.js:140:18)\r\n Error: Hook failed with error code 1: C:\\dev\\code\\tippy-app\\hooks\\after_plugin_add\\register_plugins.js"}}