Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running basic script takes 5s and throws error #145

Open
kruchy8 opened this issue Oct 10, 2021 · 0 comments
Open

Running basic script takes 5s and throws error #145

kruchy8 opened this issue Oct 10, 2021 · 0 comments

Comments

@kruchy8
Copy link

kruchy8 commented Oct 10, 2021

Hey,
I've created a new workflow with yeoman generator:

'use strict';
const alfy = require('alfy');

alfy.output([
	{
		title: 'Unicorn',
		subtitle: alfy.input
	}
]);

output

[00:16:30.984] alfy-pkc[Script Filter] Script with argv 'test' finished
[00:16:30.990] STDERR: alfy-pkc[Script Filter] /Users/pk/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.google.alfy-pkc/node_path: line 1: unexpected EOF while looking for matching `"'
/Users/pk/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.google.alfy-pkc/node_path: line 2: syntax error: unexpected end of file
[00:16:30.991] alfy-pkc[Script Filter] {
	"items": [
		{
			"title": "Unicorn",
			"subtitle": "test"
		}
	]

I'm using node 14 from nvm. Symlinked it to /usr/local/bin. Content of 'node_path' file:

PATH="/usr/local/opt/coreutils/libexec/gnubin

(missing " is not a typo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant