➜ npm install --global alfred-do-not-disturb
> [email protected] postinstall /usr/local/lib/node_modules/alfred-do-not-disturb
> alfy-init
Error: Command failed: alfred-link
Error: Alfred preferences not found at location /Users/denis/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist
at /usr/local/lib/node_modules/alfred-do-not-disturb/node_modules/resolve-alfred-prefs/index.js:15:10
at /usr/local/lib/node_modules/alfred-do-not-disturb/node_modules/alfy/node_modules/execa/index.js:236:11
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
code: 1,
killed: false,
stdout: '',
stderr: 'Error: Alfred preferences not found at location /Users/denis/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist\n' +
' at /usr/local/lib/node_modules/alfred-do-not-disturb/node_modules/resolve-alfred-prefs/index.js:15:10\n',
failed: true,
signal: null,
cmd: 'alfred-link',
timedOut: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `alfy-init`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
➜ node --version
v14.10.1
➜ npm --version
6.14.8