{"action":"created","issue":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/489","labels_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/489/comments","events_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/489/events","html_url":"https://github.com/TypeStrong/atom-typescript/issues/489","id":97124355,"number":489,"title":"Failed to load Typescript Package - Cannot read property 'React' of undefined","user":{"login":"LivesleyWA","id":5099314,"avatar_url":"https://avatars.githubusercontent.com/u/5099314?v=3","gravatar_id":"","url":"https://api.github.com/users/LivesleyWA","html_url":"https://github.com/LivesleyWA","followers_url":"https://api.github.com/users/LivesleyWA/followers","following_url":"https://api.github.com/users/LivesleyWA/following{/other_user}","gists_url":"https://api.github.com/users/LivesleyWA/gists{/gist_id}","starred_url":"https://api.github.com/users/LivesleyWA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LivesleyWA/subscriptions","organizations_url":"https://api.github.com/users/LivesleyWA/orgs","repos_url":"https://api.github.com/users/LivesleyWA/repos","events_url":"https://api.github.com/users/LivesleyWA/events{/privacy}","received_events_url":"https://api.github.com/users/LivesleyWA/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-24T19:23:03Z","updated_at":"2015-07-26T00:06:49Z","closed_at":"2015-07-26T00:06:49Z","body":"1. Install version 5.2\r\n2. Start Atom\r\n3. Error message shown on startup\r\n\r\nI have removed and reinstalled - no change\r\n\r\n**Atom Version**: 1.0.2\r\n**System**: Mac OS X 10.10.4\r\n**Thrown From**: [atom-typescript](https://github.com/TypeStrong/atom-typescript) package, v5.2.0\r\n\r\n\r\n### Stack Trace\r\n\r\nFailed to load the atom-typescript package\r\n\r\n```\r\nAt Cannot read property 'React' of undefined\r\n\r\nTypeError: Cannot read property 'React' of undefined\r\n    at Object.<anonymous> (/Users/xxx/.atom/packages/atom-typescript/dist/main/tsconfig/tsconfig.js:75:20)\r\n    at Module._compile (module.js:452:26)\r\n    at Object.loadFile [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/babel.js:162:21)\r\n    at Module.load (module.js:347:32)\r\n    at Function.Module._load (module.js:302:12)\r\n    at Module.require (module.js:357:17)\r\n    at require (module.js:376:17)\r\n    at Object.<anonymous> (/Users/xxxx/.atom/packages/atom-typescript/dist/main/lang/projectService.js:9:16)\r\n    at Module._compile (module.js:452:26)\r\n    at Object.loadFile [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/babel.js:162:21)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"unity-ui\",\r\n      \"solarized-light-syntax\"\r\n    ]\r\n  },\r\n  \"atom-typescript\": {\r\n    \"typescriptServices\": \"/Users/xxx/source/xxx/node_modules/typescript/bin/typescriptServices.js\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\n.bin, vundefined\r\natom-typescript, v5.2.0\r\ndocblockr, v0.7.3\r\nlanguage-html-swig, v2.0.1\r\nlast-cursor-position, v0.9.0\r\nless-autocompile, v1.0.0\r\nlinter, v1.2.4\r\npain-split, v1.4.0\r\nproject-manager, v1.15.11\r\nunity-ui, v2.0.11\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/comments/124918690","html_url":"https://github.com/TypeStrong/atom-typescript/issues/489#issuecomment-124918690","issue_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/489","id":124918690,"user":{"login":"basarat","id":874898,"avatar_url":"https://avatars.githubusercontent.com/u/874898?v=3","gravatar_id":"","url":"https://api.github.com/users/basarat","html_url":"https://github.com/basarat","followers_url":"https://api.github.com/users/basarat/followers","following_url":"https://api.github.com/users/basarat/following{/other_user}","gists_url":"https://api.github.com/users/basarat/gists{/gist_id}","starred_url":"https://api.github.com/users/basarat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basarat/subscriptions","organizations_url":"https://api.github.com/users/basarat/orgs","repos_url":"https://api.github.com/users/basarat/repos","events_url":"https://api.github.com/users/basarat/events{/privacy}","received_events_url":"https://api.github.com/users/basarat/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T00:06:49Z","updated_at":"2015-07-26T00:06:49Z","body":"> I'll leave this issue just in case anyone else encounters the same.\r\n\r\nI'll close it as its a user configuration error, and will still be searchable by words of the error :rose: "}}