{"action":"created","issue":{"url":"https://api.github.com/repos/MarshallOfSound/electron-devtools-installer/issues/40","repository_url":"https://api.github.com/repos/MarshallOfSound/electron-devtools-installer","labels_url":"https://api.github.com/repos/MarshallOfSound/electron-devtools-installer/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/MarshallOfSound/electron-devtools-installer/issues/40/comments","events_url":"https://api.github.com/repos/MarshallOfSound/electron-devtools-installer/issues/40/events","html_url":"https://github.com/MarshallOfSound/electron-devtools-installer/issues/40","id":213397460,"number":40,"title":"Installing with Chrome Store ID, what am I doing wrong?","user":{"login":"Slapbox","id":6835891,"avatar_url":"https://avatars1.githubusercontent.com/u/6835891?v=3","gravatar_id":"","url":"https://api.github.com/users/Slapbox","html_url":"https://github.com/Slapbox","followers_url":"https://api.github.com/users/Slapbox/followers","following_url":"https://api.github.com/users/Slapbox/following{/other_user}","gists_url":"https://api.github.com/users/Slapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/Slapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slapbox/subscriptions","organizations_url":"https://api.github.com/users/Slapbox/orgs","repos_url":"https://api.github.com/users/Slapbox/repos","events_url":"https://api.github.com/users/Slapbox/events{/privacy}","received_events_url":"https://api.github.com/users/Slapbox/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-10T17:06:00Z","updated_at":"2017-03-12T16:42:36Z","closed_at":"2017-03-11T00:41:10Z","body":"```\r\nconst IMMUTABLEJS_OBJECT_FORMATTER = { id: 'hgldghadipiblonfkkicmgcbbijnpeog', electron: '^1.2.1' };\r\n\r\nconst installExtensions = async () => {\r\n  if (process.env.NODE_ENV === 'development') {\r\n // if (process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'production') {\r\n    const installer = require('electron-devtools-installer'); // eslint-disable-line global-require\r\n\r\n    const extensions = [\r\n      'REACT_DEVELOPER_TOOLS',\r\n      'REDUX_DEVTOOLS',\r\n      'REACT_PERF',\r\n      'IMMUTABLEJS_OBJECT_FORMATTER',\r\n    ];\r\n\r\n    const forceDownload = !!process.env.UPGRADE_EXTENSIONS;\r\n\r\n    // TODO: Use async interation statement.\r\n    //       Waiting on https://github.com/tc39/proposal-async-iteration\r\n    //       Promises will fail silently, which isn't what we want in development\r\n    return Promise\r\n      .all(extensions.map(name => installer.default(installer[name], forceDownload)))\r\n      .catch(console.log);\r\n  }\r\n};\r\n```\r\n\r\nThis gives me the error: `Error: Invalid extensionReference passed in: \"undefined\"`\r\n\r\nWhat am I doing wrong here? thanks for any advice.\r\n"},"comment":{"url":"https://api.github.com/repos/MarshallOfSound/electron-devtools-installer/issues/comments/285956847","html_url":"https://github.com/MarshallOfSound/electron-devtools-installer/issues/40#issuecomment-285956847","issue_url":"https://api.github.com/repos/MarshallOfSound/electron-devtools-installer/issues/40","id":285956847,"user":{"login":"Slapbox","id":6835891,"avatar_url":"https://avatars1.githubusercontent.com/u/6835891?v=3","gravatar_id":"","url":"https://api.github.com/users/Slapbox","html_url":"https://github.com/Slapbox","followers_url":"https://api.github.com/users/Slapbox/followers","following_url":"https://api.github.com/users/Slapbox/following{/other_user}","gists_url":"https://api.github.com/users/Slapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/Slapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slapbox/subscriptions","organizations_url":"https://api.github.com/users/Slapbox/orgs","repos_url":"https://api.github.com/users/Slapbox/repos","events_url":"https://api.github.com/users/Slapbox/events{/privacy}","received_events_url":"https://api.github.com/users/Slapbox/received_events","type":"User","site_admin":false},"created_at":"2017-03-12T16:42:36Z","updated_at":"2017-03-12T16:42:36Z","body":"@jhen0409 That worked great! Thanks very much! I did have to make a change, for some reason, to put `name` first.\r\n\r\n`.all(extensions.map(name => installer.default(name || installer[name], forceDownload)))`"}}
{"actor":{"display_login":"Slapbox"}}