{"action":"closed","issue":{"url":"https://api.github.com/repos/abe33/atom-utils/issues/2","labels_url":"https://api.github.com/repos/abe33/atom-utils/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/abe33/atom-utils/issues/2/comments","events_url":"https://api.github.com/repos/abe33/atom-utils/issues/2/events","html_url":"https://github.com/abe33/atom-utils/issues/2","id":107376833,"number":2,"title":"TypeError: atom.packages.activatePackage(...).then(...).fail is not a function","user":{"login":"olmokramer","id":3612514,"avatar_url":"https://avatars.githubusercontent.com/u/3612514?v=3","gravatar_id":"","url":"https://api.github.com/users/olmokramer","html_url":"https://github.com/olmokramer","followers_url":"https://api.github.com/users/olmokramer/followers","following_url":"https://api.github.com/users/olmokramer/following{/other_user}","gists_url":"https://api.github.com/users/olmokramer/gists{/gist_id}","starred_url":"https://api.github.com/users/olmokramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olmokramer/subscriptions","organizations_url":"https://api.github.com/users/olmokramer/orgs","repos_url":"https://api.github.com/users/olmokramer/repos","events_url":"https://api.github.com/users/olmokramer/events{/privacy}","received_events_url":"https://api.github.com/users/olmokramer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-20T06:58:30Z","updated_at":"2015-09-21T12:30:52Z","closed_at":"2015-09-21T12:30:52Z","body":"**Reproduction**\r\n\r\n1. Build latest version of Atom\r\n2. Install tree-view-breadcrumb: `apm install tree-view-breadcrumb`\r\n3. Load Atom, error is logged in the terminal, but there's no error notification (`atom.notifications.addError`) in the top right corner of Atom's window.\r\n\r\n**System details**\r\n\r\n* Atom 1.2.0-dev-fdbe65b (built from source)\r\n* Debian 9\r\n\r\n**Stack trace**\r\n\r\n```\r\nTypeError: atom.packages.activatePackage(...).then(...).fail is not a function\r\n  at /home/olmo/.atom/packages/tree-view-breadcrumb/node_modules/atom-utils/lib/atom-utils.js:27:14\r\n  at Array.forEach (native)\r\n  at module.exports.requirePackages (/home/olmo/.atom/packages/tree-view-breadcrumb/node_modules/atom-utils/lib/atom-utils.js:23:25)\r\n  at module.exports.requirePackages (/home/olmo/.atom/packages/tree-view-breadcrumb/node_modules/atom-utils/lib/atom-utils.js:8:14)\r\n  at Object.module.exports.activate (/home/olmo/.atom/packages/tree-view-breadcrumb/lib/tree-view-breadcrumb.coffee:34:5)\r\n  at Package.module.exports.Package.activateNow (/usr/local/share/atom/resources/app.asar/src/package.js:246:19)\r\n  at /usr/local/share/atom/resources/app.asar/src/package.js:226:32\r\n  at Package.module.exports.Package.measure (/usr/local/share/atom/resources/app.asar/src/package.js:167:15)\r\n  at /usr/local/share/atom/resources/app.asar/src/package.js:219:26\r\n  at Package.module.exports.Package.activate (/usr/local/share/atom/resources/app.asar/src/package.js:215:34)\r\n  at PackageManager.module.exports.PackageManager.activatePackage (/usr/local/share/atom/resources/app.asar/src/package-manager.js:484:21)\r\n  at /usr/local/share/atom/resources/app.asar/src/package-manager.js:467:29\r\n  at Config.module.exports.Config.transact (/usr/local/share/atom/resources/app.asar/src/config.js:324:16)\r\n  at PackageManager.module.exports.PackageManager.activatePackages (/usr/local/share/atom/resources/app.asar/src/package-manager.js:462:19)\r\n  at PackageManager.module.exports.PackageManager.activate (/usr/local/share/atom/resources/app.asar/src/package-manager.js:443:46)\r\n  at Atom.module.exports.Atom.startEditorWindow (/usr/local/share/atom/resources/app.asar/src/atom.js:657:21)\r\n  at Object.<anonymous> (/usr/local/share/atom/resources/app.asar/src/window-bootstrap.js:12:8)\r\n  at Object.<anonymous> (/usr/local/share/atom/resources/app.asar/src/window-bootstrap.js:23:4)\r\n  at Module._compile (module.js:428:26)\r\n  at Object.keys.forEach.Object.defineProperty.value [as .js] (/usr/local/share/atom/resources/app.asar/src/compile-cache.js:169:21)\r\n  at Module.load (module.js:353:32)\r\n  at Function.Module._load (module.js:308:12)\r\n  at Module.require (module.js:363:17)\r\n  at require (module.js:382:17)\r\n  at setupWindow (file:///usr/local/share/atom/resources/app.asar/static/index.js:82:25)\r\n  at window.onload (file:///usr/local/share/atom/resources/app.asar/static/index.js:35:9)\r\n```\r\n\r\nI think the error should be fixed if you use `Promise::catch` instead of `Promise::fail`"}}