{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/3499","repository_url":"https://api.github.com/repos/callemall/material-ui","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/3499/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/3499/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/3499/events","html_url":"https://github.com/callemall/material-ui/issues/3499","id":136860114,"number":3499,"title":"Cannot read property 'cyan700' of undefined","user":{"login":"ffxsam","id":12532733,"avatar_url":"https://avatars.githubusercontent.com/u/12532733?v=3","gravatar_id":"","url":"https://api.github.com/users/ffxsam","html_url":"https://github.com/ffxsam","followers_url":"https://api.github.com/users/ffxsam/followers","following_url":"https://api.github.com/users/ffxsam/following{/other_user}","gists_url":"https://api.github.com/users/ffxsam/gists{/gist_id}","starred_url":"https://api.github.com/users/ffxsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffxsam/subscriptions","organizations_url":"https://api.github.com/users/ffxsam/orgs","repos_url":"https://api.github.com/users/ffxsam/repos","events_url":"https://api.github.com/users/ffxsam/events{/privacy}","received_events_url":"https://api.github.com/users/ffxsam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-27T01:28:42Z","updated_at":"2016-04-09T11:15:44Z","closed_at":"2016-02-27T01:51:36Z","body":"I'm trying to use a local copy of Material UI (so when I make changes that I PR, I can use them immediately). I'm getting this error in the browser console:\r\n\r\n>Cannot read property 'cyan700' of undefined\r\n\r\nSome context:\r\n\r\n```\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n//                                                                                                                    //\r\n// client/theme.js                                                                                                    //\r\n//                                                                                                                    //\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n                                                                                                                      //\r\nexports.__esModule = true;                                                                                            //\r\n                                                                                                                      //\r\nvar _colors = require('material-ui/lib/styles/colors');                                                               //\r\n                                                                                                                      //\r\nvar _colors2 = _interopRequireDefault(_colors);                                                                       //\r\n                                                                                                                      //\r\nvar _colorManipulator = require('material-ui/lib/utils/color-manipulator');                                           //\r\n                                                                                                                      //\r\nvar _colorManipulator2 = _interopRequireDefault(_colorManipulator);                                                   //\r\n                                                                                                                      //\r\nvar _spacing = require('material-ui/lib/styles/spacing');                                                             //\r\n                                                                                                                      //\r\nvar _spacing2 = _interopRequireDefault(_spacing);                                                                     //\r\n                                                                                                                      //\r\nvar _zIndex = require('material-ui/lib/styles/zIndex');                                                               //\r\n                                                                                                                      //\r\nvar _zIndex2 = _interopRequireDefault(_zIndex);                                                                       //\r\n                                                                                                                      //\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }                     //\r\n                                                                                                                      //\r\nexports.default = {                                                                                                   //\r\n  spacing: _spacing2.default,                                                                                         // 7\r\n  zIndex: _zIndex2.default,                                                                                           // 8\r\n  fontFamily: 'Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif',                                               // 9\r\n  palette: {                                                                                                          // 10\r\n    primary1Color: '#4a74a5', //royal blue                                                                            // 11\r\n    primary2Color: _colors2.default.cyan700,                                                                          // 12\r\n    primary3Color: _colors2.default.lightBlack,                                                                       // 13\r\n    accent1Color: '#7a4d8b', //purple                                                                                 // 14\r\n    accent2Color: _colors2.default.grey100,                                                                           // 15\r\n    accent3Color: _colors2.default.grey500,                                                                           // 16\r\n    textColor: _colors2.default.darkBlack,                                                                            // 17\r\n    alternateTextColor: _colors2.default.white,                                                                       // 18\r\n    canvasColor: _colors2.default.white,                                                                              // 19\r\n    borderColor: _colors2.default.grey300,                                                                            // 20\r\n    disabledColor: _colorManipulator2.default.fade(_colors2.default.darkBlack, 0.3),                                  // 21\r\n    pickerHeaderColor: _colors2.default.cyan500                                                                       // 22\r\n  }                                                                                                                   //\r\n}; \r\n```"},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/207771461","html_url":"https://github.com/callemall/material-ui/issues/3499#issuecomment-207771461","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/3499","id":207771461,"user":{"login":"sampeka","id":7493006,"avatar_url":"https://avatars.githubusercontent.com/u/7493006?v=3","gravatar_id":"","url":"https://api.github.com/users/sampeka","html_url":"https://github.com/sampeka","followers_url":"https://api.github.com/users/sampeka/followers","following_url":"https://api.github.com/users/sampeka/following{/other_user}","gists_url":"https://api.github.com/users/sampeka/gists{/gist_id}","starred_url":"https://api.github.com/users/sampeka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampeka/subscriptions","organizations_url":"https://api.github.com/users/sampeka/orgs","repos_url":"https://api.github.com/users/sampeka/repos","events_url":"https://api.github.com/users/sampeka/events{/privacy}","received_events_url":"https://api.github.com/users/sampeka/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T11:15:44Z","updated_at":"2016-04-09T11:15:44Z","body":"Ran into this problem as well, it's quite unexpected that there is a mismatch between the default docs and default version on `npm`. A lot of the set up has changed significantly between `0.14` and `0.15` so it would make things a lot easier to just have a command in the installation section: `npm install --save material-ui@0.14`. Then it will be clear that you need to install that version of `material-ui` for the version of the docs you're looking at. "}}