alfred-npms: Bash error: cannot set terminal process group. Inappropriate ioctl for device
I downloaded the workflow from http://www.packal.org/workflow/npms-0 and installed it, but I cannot get the search to work.
Typing npm <enter>
shows the expected screen
but any typing after that turns into a “normal” alfred search
I went into the workflow debugger and noticed the following debug output with each keystroke
Starting debug for 'npms'
[2016-06-27 09:42:47][ERROR: input.scriptfilter] Code 127: bash: cannot set terminal process group (18927): Inappropriate ioctl for device
bash: no job control in this shell
/Users/jschulz/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/BAA37249-3FCB-4A17-8851-29707885B376: line 9: node: command not found
node
is installed. I’m assuming that’s a cascading failure originating from the cannot set terminal process group
error.
Let me know if I can do anything else to help debug or fix.
I followed the same steps and get the same behavior for https://github.com/sindresorhus/alfred-emoj. Let me know if you’d like me to open an issue there, as well.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 44 (16 by maintainers)
Commits related to this issue
- improvements to `node` detection see #1 — committed to sindresorhus/alfred-npms by sindresorhus 8 years ago
- improvements to `node` detection see https://github.com/sindresorhus/alfred-npms/issues/1 — committed to sindresorhus/alfred-emoj by sindresorhus 8 years ago
Thanks for the help all 🍰✨ I’ve published a new version: http://www.packal.org/workflow/npms-0 Gonna keep this issue open until I’m confident we found a permanent solution.
We should probably also quote the PATH, users might have spaces in their path: