{"id":18296,"library":"ember-cli-build-notifications","title":"ember-cli-build-notifications","description":"An Ember CLI addon that displays native OS desktop notifications when an Ember CLI build errors or succeeds. Version 2.0.0 supports Ember.js 3.28+ and Node.js 14+. It wraps node-notifier to provide cross-platform notifications (macOS, Linux, Windows) with configurable notification options such as sound. The addon is configurable via a build-notifications.js file in the app's config directory. It has a low release cadence, last updated in 2023. Unlike other notification addons, this one specifically targets native desktop notifications for build events in Ember CLI projects.","status":"active","version":"2.0.0","language":"javascript","source_language":"en","source_url":"https://github.com/pdud/ember-cli-build-notifications","tags":["javascript","ember-addon"],"install":[{"cmd":"npm install ember-cli-build-notifications","lang":"bash","label":"npm"},{"cmd":"yarn add ember-cli-build-notifications","lang":"bash","label":"yarn"},{"cmd":"pnpm add ember-cli-build-notifications","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core library for sending native OS notifications","package":"node-notifier","optional":false},{"reason":"Peer dependency; required for addon compatibility","package":"ember-source","optional":false}],"imports":[{"note":"This is an Ember addon; no direct JavaScript import needed. Configuration is done via config/build-notifications.js.","wrong":"npm install ember-cli-build-notifications (must use ember install to trigger blueprint)","symbol":"default","correct":"Add addon via: ember install ember-cli-build-notifications"},{"note":"Config file uses CommonJS module.exports, not ES modules.","wrong":"export default { ... } (CommonJS required for config file)","symbol":"config","correct":"module.exports = { buildError: { notify: true }, buildSuccess: { notify: false } };"},{"note":"The 'notify' key is required to enable notifications; default is true for buildError.","wrong":"buildError: { sound: true } (missing notify boolean)","symbol":"buildError","correct":"buildError: { notify: true, notificationOptions: { sound: true } }"},{"note":"Default is false; must set notify: true to enable success notifications.","wrong":null,"symbol":"buildSuccess","correct":"buildSuccess: { notify: true }"}],"quickstart":{"code":"ember install ember-cli-build-notifications\n\n// config/build-notifications.js\nmodule.exports = {\n  buildError: {\n    notify: true,\n    notificationOptions: {\n      sound: true\n    }\n  },\n  buildSuccess: {\n    notify: true\n  }\n};","lang":"javascript","description":"Installs the addon and creates a config file to enable desktop notifications for build errors and success with sound."},"warnings":[{"fix":"Consider using Ember CLI's built-in --watcher flag or alternative notification addons.","message":"Addon may be deprecated in favor of built-in Ember CLI notification support or other tools.","severity":"deprecated","affected_versions":">=0.1.0"},{"fix":"Use module.exports = { ... } instead of export default.","message":"Config file must be CommonJS, not ES module.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Install notify-send or ensure the system has notification daemon.","message":"node-notifier may require additional system dependencies on Linux (notify-osd).","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Test with notificationOptions.sound; fallback to no sound if not supported.","message":"Sound option may not work on all platforms.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Install libnotify-bin (Ubuntu: sudo apt-get install libnotify-bin)","cause":"Missing notification daemon or notify-send not installed","error":"notifications do not appear on Linux"},{"fix":"Run npm install node-notifier in your project root.","cause":"Missing dependency node-notifier","error":"Error: Cannot find module 'node-notifier'"},{"fix":"Enable notifications in System Preferences > Notifications for Terminal/Ember CLI.","cause":"macOS permission changes; notch notifications may require permissions","error":"No notifications on macOS after upgrade to macOS 10.15+"},{"fix":"Create config/build-notifications.js with buildError.notify: true","cause":"Config file not created or notify set to false","error":"BuildError notifications not showing"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}