{"action":"opened","issue":{"url":"https://api.github.com/repos/jxnblk/mdx-deck/issues/191","repository_url":"https://api.github.com/repos/jxnblk/mdx-deck","labels_url":"https://api.github.com/repos/jxnblk/mdx-deck/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/jxnblk/mdx-deck/issues/191/comments","events_url":"https://api.github.com/repos/jxnblk/mdx-deck/issues/191/events","html_url":"https://github.com/jxnblk/mdx-deck/issues/191","id":366585493,"node_id":"MDU6SXNzdWUzNjY1ODU0OTM=","number":191,"title":"'n.map is not a function' error - line 441 of SlideDeck.js","user":{"login":"sqlsolver","id":4545063,"node_id":"MDQ6VXNlcjQ1NDUwNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/4545063?v=4","gravatar_id":"","url":"https://api.github.com/users/sqlsolver","html_url":"https://github.com/sqlsolver","followers_url":"https://api.github.com/users/sqlsolver/followers","following_url":"https://api.github.com/users/sqlsolver/following{/other_user}","gists_url":"https://api.github.com/users/sqlsolver/gists{/gist_id}","starred_url":"https://api.github.com/users/sqlsolver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sqlsolver/subscriptions","organizations_url":"https://api.github.com/users/sqlsolver/orgs","repos_url":"https://api.github.com/users/sqlsolver/repos","events_url":"https://api.github.com/users/sqlsolver/events{/privacy}","received_events_url":"https://api.github.com/users/sqlsolver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-04T01:10:45Z","updated_at":"2018-10-04T01:10:45Z","closed_at":null,"author_association":"NONE","body":"React app will not load. Console error:\r\n````\r\nreact-dom.production.min.js:4203 TypeError: n.map is not a function\r\n    at t.value (SlideDeck.js:441)\r\n    at Ao (react-dom.production.min.js:3796)\r\n    at Do (react-dom.production.min.js:3979)\r\n    at vi (react-dom.production.min.js:4624)\r\n    at yi (react-dom.production.min.js:4642)\r\n    at Zi (react-dom.production.min.js:4905)\r\n    at Yi (react-dom.production.min.js:4863)\r\n    at qi (react-dom.production.min.js:4854)\r\n    at $i (react-dom.production.min.js:4813)\r\n    at wi (react-dom.production.min.js:4741)\r\n````\r\nwith error in SlideDeck.js at line #441:\r\n````\r\n      }, _react2.default.createElement(Wrapper, _extends({}, this.state, {\r\n        slides: slides,\r\n        width: width,\r\n        height: height,\r\n        update: this.update\r\n      }), _react2.default.createElement(_GoogleFonts2.default, null), _react2.default.createElement(_Carousel2.default, {\r\n        index: index\r\n      }, slides.map(function (Component, i) {         //THIS IS 441\r\n        return _react2.default.createElement(_Slide2.default, _extends({\r\n          key: i,\r\n          id: 'slide-' + i\r\n        }, context, {\r\n          index: i,\r\n          className: 'Slide',\r\n          active: i === index,\r\n          metadata: metadata[i]\r\n        }), _react2.default.createElement(Component, null));\r\n````\r\nPossibly related to #174 in this repo, and [CRA #5149](https://github.com/facebook/create-react-app/issues/5149). Used [customize-cra](https://github.com/arackaf/customize-cra) and [react-app-rewired](https://github.com/timarney/react-app-rewired), as well as your suggestion to install babel-core@7.0.0-bridge.0."}}
{"actor":{"display_login":"sqlsolver"}}