Running basic script takes 5s and throws error
kruchy8 opened this issue · 0 comments
kruchy8 commented
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)