{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/8803","labels_url":"https://api.github.com/repos/atom/atom/issues/8803/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/8803/comments","events_url":"https://api.github.com/repos/atom/atom/issues/8803/events","html_url":"https://github.com/atom/atom/issues/8803","id":106673868,"number":8803,"title":"Failed to activate the set-syntax package","user":{"login":"davidmoshal","id":650245,"avatar_url":"https://avatars.githubusercontent.com/u/650245?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmoshal","html_url":"https://github.com/davidmoshal","followers_url":"https://api.github.com/users/davidmoshal/followers","following_url":"https://api.github.com/users/davidmoshal/following{/other_user}","gists_url":"https://api.github.com/users/davidmoshal/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmoshal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmoshal/subscriptions","organizations_url":"https://api.github.com/users/davidmoshal/orgs","repos_url":"https://api.github.com/users/davidmoshal/repos","events_url":"https://api.github.com/users/davidmoshal/events{/privacy}","received_events_url":"https://api.github.com/users/davidmoshal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/atom/atom/labels/uncaught-exception","name":"uncaught-exception","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-16T00:29:09Z","updated_at":"2015-09-16T23:22:32Z","closed_at":"2015-09-16T23:22:32Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 1.0.11\r\n**System**: Mac OS X 10.10.5\r\n**Thrown From**: Atom Core\r\n\r\n\r\n### Stack Trace\r\n\r\nFailed to activate the set-syntax package\r\n\r\n```\r\nAt Cannot read property 'getGrammars' of undefined\r\n\r\nTypeError: Cannot read property 'getGrammars' of undefined\r\n    at Object.module.exports.activate (<anonymous>:8:16)\r\n    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:243:19)\r\n    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:224:30\r\n    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:167:15)\r\n    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:216:14)\r\n    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:486:21)\r\n    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:469:29\r\n    at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:324:16)\r\n    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:464:19)\r\n    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:445:46)\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  \"editor\": {\r\n    \"invisibles\": {}\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nlanguage-elixir, v0.3.3\r\nlanguage-erlang, v2.0.0\r\nlanguage-groovy, v0.3.0\r\nlanguage-livescript, v0.0.2\r\nlanguage-scala, v1.1.0\r\nlanguage-swift, v0.3.0\r\npain-split, v1.1.2\r\nproject-manager, v1.14.1\r\nset-syntax, v0.1.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/140924431","html_url":"https://github.com/atom/atom/issues/8803#issuecomment-140924431","issue_url":"https://api.github.com/repos/atom/atom/issues/8803","id":140924431,"user":{"login":"lee-dohm","id":1038121,"avatar_url":"https://avatars.githubusercontent.com/u/1038121?v=3","gravatar_id":"","url":"https://api.github.com/users/lee-dohm","html_url":"https://github.com/lee-dohm","followers_url":"https://api.github.com/users/lee-dohm/followers","following_url":"https://api.github.com/users/lee-dohm/following{/other_user}","gists_url":"https://api.github.com/users/lee-dohm/gists{/gist_id}","starred_url":"https://api.github.com/users/lee-dohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lee-dohm/subscriptions","organizations_url":"https://api.github.com/users/lee-dohm/orgs","repos_url":"https://api.github.com/users/lee-dohm/repos","events_url":"https://api.github.com/users/lee-dohm/events{/privacy}","received_events_url":"https://api.github.com/users/lee-dohm/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T23:22:32Z","updated_at":"2015-09-16T23:22:32Z","body":"Ah, I see why. Because it is not `undefined` there ... it is `undefined` [here](https://github.com/lee-dohm/set-syntax/blob/v0.1.0/lib/main.coffee#L8). Notice that @davidmoshal is using an out-of-date version of my [set-syntax package](https://atom.io/packages/set-syntax) ... which is currently at version 0.3.0. The version that @davidmoshal is running refers to the old `atom.syntax` name. v0.2.0 updated to the new `atom.grammars` name.\r\n\r\n@davidmoshal this should go away if you update the version of set-syntax you're using to the latest. Please let us know if you have any questions."}}