alfred-emoj: Error installing on OSX

Hey there! I’d love to try this out, but I get this:

MacBook:~ max$ sudo npm install --global alfred-emoj
npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build toolchain, use it instead!
\
> alfred-emoj@0.2.0 postinstall /usr/local/lib/node_modules/alfred-emoj
> alfy-init

{ [Error: Command failed: alfred-link
[Error: Alfred preferences not found at location /Users/max/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist]
]
  code: 1,
  killed: false,
  stdout: '',
  stderr: '[Error: Alfred preferences not found at location /Users/max/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist]\n',
  failed: true,
  signal: null,
  cmd: 'alfred-link' }
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--global" "alfred-emoj"
npm ERR! node v4.6.1
npm ERR! npm  v2.15.9
npm ERR! code ELIFECYCLE

npm ERR! alfred-emoj@0.2.0 postinstall: `alfy-init`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the alfred-emoj@0.2.0 postinstall script 'alfy-init'.
npm ERR! This is most likely a problem with the alfred-emoj package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     alfy-init
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs alfred-emoj
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls alfred-emoj
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/max/npm-debug.log

Keep up the great work! Max

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (10 by maintainers)

Most upvoted comments

Oh, could it be because you are using sudo? Never ever install using sudo! Just run npm install alfred-emoj.