alfred-cacher icon indicating copy to clipboard operation
alfred-cacher copied to clipboard

Fails on npm install with alfred4

Open wilomgfx opened this issue 5 years ago • 0 comments

[email protected] postinstall /usr/local/lib/node_modules/alfred-cacher alfy-init

Error: Command failed: alfred-link
Error: Alfred preferences not found at location /Users/my_user/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist
    at /usr/local/lib/node_modules/alfred-cacher/node_modules/resolve-alfred-prefs/index.js:15:10

    at /usr/local/lib/node_modules/alfred-cacher/node_modules/execa/index.js:201:11
    at processTicksAndRejections (internal/process/task_queues.js:89:5) {
  code: 1,
  killed: false,
  stdout: '',
  stderr: 'Error: Alfred preferences not found at location ' +
    '/Users/my_user/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist\n' +
    '    at ' +
    '/usr/local/lib/node_modules/alfred-cacher/node_modules/resolve-alfred-prefs/index.js:15:10\n',
  failed: true,
  signal: null,
  cmd: 'alfred-link',
  timedOut: false

Works if you install the workflow directly

wilomgfx avatar Jul 09 '19 20:07 wilomgfx