{"action":"created","issue":{"url":"https://api.github.com/repos/SC5/mozaik-ext-sheets/issues/6","repository_url":"https://api.github.com/repos/SC5/mozaik-ext-sheets","labels_url":"https://api.github.com/repos/SC5/mozaik-ext-sheets/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/SC5/mozaik-ext-sheets/issues/6/comments","events_url":"https://api.github.com/repos/SC5/mozaik-ext-sheets/issues/6/events","html_url":"https://github.com/SC5/mozaik-ext-sheets/issues/6","id":177234955,"number":6,"title":"content not displaying","user":{"login":"robbyking3","id":318052,"avatar_url":"https://avatars.githubusercontent.com/u/318052?v=3","gravatar_id":"","url":"https://api.github.com/users/robbyking3","html_url":"https://github.com/robbyking3","followers_url":"https://api.github.com/users/robbyking3/followers","following_url":"https://api.github.com/users/robbyking3/following{/other_user}","gists_url":"https://api.github.com/users/robbyking3/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyking3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyking3/subscriptions","organizations_url":"https://api.github.com/users/robbyking3/orgs","repos_url":"https://api.github.com/users/robbyking3/repos","events_url":"https://api.github.com/users/robbyking3/events{/privacy}","received_events_url":"https://api.github.com/users/robbyking3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-15T17:18:49Z","updated_at":"2016-09-15T17:50:53Z","closed_at":null,"body":"Hi! Firstly thanks for making this extension, open source things are awesome.\r\n\r\nI'm trying to use this extension. I've signed up for the Google drive api, gotten the p12 file, converted it to .pem with openssl, and reference it through the .env value, along with the google service email. \r\n\r\nNode was complaining about reflux so I manually added it as a dev dependency to package.json, and the error went away.\r\n\r\nIn the `src/App.jsx` I import sheets.\r\n\r\n```\r\nimport React   from 'react';\r\nimport Mozaik  from 'mozaik/browser';\r\nimport github  from 'mozaik-ext-github';\r\nimport travis  from 'mozaik-ext-travis';\r\nimport time    from 'mozaik-ext-time';\r\nimport sheets  from 'mozaik-ext-sheets';\r\n\r\nconst MozaikComponent = Mozaik.Component.Mozaik;\r\nconst ConfigActions   = Mozaik.Actions.Config;\r\n\r\n\r\nMozaik.Registry.addExtensions({\r\n    github,\r\n    travis,\r\n    sheets,\r\n    time\r\n});\r\n\r\nReact.render(<MozaikComponent/>, document.getElementById('mozaik'));\r\n```\r\n\r\nand in `src/server.js`\r\n\r\n```\r\nimport Mozaik  from 'mozaik';\r\nimport config  from '../config';\r\nimport github  from 'mozaik-ext-github/client';\r\nimport travis  from 'mozaik-ext-travis/client';\r\nimport sheets  from 'mozaik-ext-sheets/client';\r\n\r\nconst mozaik = new Mozaik(config);\r\n\r\nmozaik.bus.registerApi('sheets', sheets);\r\nmozaik.bus.registerApi('github',  github);\r\nmozaik.bus.registerApi('travis',  travis);\r\n\r\nmozaik.startServer();\r\n```\r\n\r\nI run `npm run build-assets` just in case, then do `npm start`\r\n\r\nand on the browser there is a console error \r\n`Uncaught TypeError: Cannot read property 'ApiConsumer' of undefined`\r\n\r\nfrom a line in List.jsx `var ApiConsumerMixin = require(\"mozaik/browser\").Mixin.ApiConsumer;`\r\n\r\n\r\nSo I tried changing it to `var ApiConsumerMixin = require(\"mozaik/browser\").default.Mixin.ApiConsumer;` and it loads the page and shows how many rows have loaded, but none of the content actually displays. It just creates as many list items as are rows, without content. \r\n\r\nany ideas?"},"comment":{"url":"https://api.github.com/repos/SC5/mozaik-ext-sheets/issues/comments/247400807","html_url":"https://github.com/SC5/mozaik-ext-sheets/issues/6#issuecomment-247400807","issue_url":"https://api.github.com/repos/SC5/mozaik-ext-sheets/issues/6","id":247400807,"user":{"login":"robbyking3","id":318052,"avatar_url":"https://avatars.githubusercontent.com/u/318052?v=3","gravatar_id":"","url":"https://api.github.com/users/robbyking3","html_url":"https://github.com/robbyking3","followers_url":"https://api.github.com/users/robbyking3/followers","following_url":"https://api.github.com/users/robbyking3/following{/other_user}","gists_url":"https://api.github.com/users/robbyking3/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyking3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyking3/subscriptions","organizations_url":"https://api.github.com/users/robbyking3/orgs","repos_url":"https://api.github.com/users/robbyking3/repos","events_url":"https://api.github.com/users/robbyking3/events{/privacy}","received_events_url":"https://api.github.com/users/robbyking3/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T17:50:53Z","updated_at":"2016-09-15T17:50:53Z","body":"I tried adding the fields parameter and just outputting `'{A}', '{B}'` \r\nthe content then displays. I'm gonna fork this and see if I can fix it so fields can be empty by default and show all content."}}
{"actor":{"display_login":"robbyking3"}}