GithubHelp home page GithubHelp logo

Comments (13)

sindresorhus avatar sindresorhus commented on May 2, 2024 1

Can you try out the latest version? http://www.packal.org/workflow/emoj

from alfred-emoj.

sindresorhus avatar sindresorhus commented on May 2, 2024

Weird. I've never been able to get it to not return anything. emoj whatever works for me. Do you have anything reproducible I could try?

from alfred-emoj.

paulmolluzzo avatar paulmolluzzo commented on May 2, 2024

I can't actually get anything to work. Do I need to install anything other than the workflow? I have Alfred v3.0.2

from alfred-emoj.

sindresorhus avatar sindresorhus commented on May 2, 2024

If you press Enter on the error item it will copy the stack. Can you share?

from alfred-emoj.

paulmolluzzo avatar paulmolluzzo commented on May 2, 2024

It's not copying when I press error or click... :/

from alfred-emoj.

paulmolluzzo avatar paulmolluzzo commented on May 2, 2024

Hmm, your alfred-npm workflow isn't working either. I've refreshed Alfred. I may need to do a machine reboot but can't do it at the moment...

from alfred-emoj.

paulmolluzzo avatar paulmolluzzo commented on May 2, 2024

OK, did a reboot and a fresh install and I still have the issue. I opened the Alfred debugger and get this error:

[2016-06-27 21:55:31][STDERR: input.scriptfilter] bash: cannot set terminal process group (2697): Inappropriate ioctl for device
bash: no job control in this shell
stty: stdin isn't a terminal

I opened the actual directory for the workflow and manually replicated the command node index.js [test phrase] and that is returning data.

I am running OSX 10.10.5

from alfred-emoj.

paulmolluzzo avatar paulmolluzzo commented on May 2, 2024

OK, I found a working solution, but it could be unique to my machine:

I changed out the script filter to be as follows:

export PATH=/usr/local/bin/:$PATH

node index.js "$1"

This is the first solution I found in this old forum post: http://www.alfredforum.com/topic/2436-path-in-alfred-workflows/

e: If I can help debug further let me know. I didn't close it just in case you want to work out a solution first.

from alfred-emoj.

sindresorhus avatar sindresorhus commented on May 2, 2024

@paulmolluzzo Looks similar to sindresorhus/alfred-npms#1

from alfred-emoj.

paulmolluzzo avatar paulmolluzzo commented on May 2, 2024

It does, and that thread almost comes to the same solution of using export PATH=/usr/local/bin/:$PATH but they had a bunch of stuff to source their bashrc/profile, which might have caused that strange output.

I'm going to ask if this solution solves it for them too.

from alfred-emoj.

sindresorhus avatar sindresorhus commented on May 2, 2024

I'm going to ask if this solution solves it for them too.

It doesn't.

from alfred-emoj.

paulmolluzzo avatar paulmolluzzo commented on May 2, 2024

They didn't match mine exactly. They missed a trailing / and also sourced other stuff first.

from alfred-emoj.

paulmolluzzo avatar paulmolluzzo commented on May 2, 2024

This is working great right out of the box! Thanks!

from alfred-emoj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.