I am trying to configure taiga in redhat. taiga-events service fails with below error:
index.coffee:19:25: error: unmatched OUTDENT
undefined
^
index.coffee:19:25: error: unmatched OUTDENT
undefined
^
index.coffee:19:25: error: unmatched OUTDENT
undefined
The circus systemd conf is as below:
[watcher:taiga-events]
working_dir = /net/projs/taiga/taiga-events
cmd = /usr/bin/coffee
args = index.coffee
uid = taiga
numprocesses = 1
autostart = true
send_hup = true
stdout_stream.class = FileStream
stdout_stream.filename = /net/*****/projs/taiga/logs/taigaevents.stdout.log
stdout_stream.max_bytes = 10485760
stdout_stream.backup_count = 12
stderr_stream.class = FileStream
stderr_stream.filename = /net/*****/projs/taiga/logs/taigaevents.stderr.log
stderr_stream.max_bytes = 10485760
stderr_stream.backup_count = 12
I tried to run the command manually that also fails. I don't have any exp in coffescripting. SO, not sure if it is right way though
(taiga) [logs]$ cd /net/*****/projs/taiga/taiga-events
(taiga) [taiga-events]$ ls
client.coffee config.example.json events-config.coffee logger.coffee README.md
CODE_OF_CONDUCT.md config.json gulpfile.js package.json signing.coffee
coffeelint.json
config.json.org index.coffee rabbit.coffee subscription.coffee
(taiga) [taiga-events]$ /usr/bin/coffee index.coffee
/usr/share/coffee-script/lib/coffee-script/helpers.js:216
codeLine = codeLine.slice(0, start) + colorize(codeLine.slice(start, end)) + codeLine.slice(end);
^
TypeError: Cannot read property 'slice' of undefined
at Object.exports.prettyErrorMessage (/usr/share/coffee-script/lib/coffee-script/helpers.js:216:27)
at compileScript (/usr/share/coffee-script/lib/coffee-script/command.js:199:25)
at /usr/share/coffee-script/lib/coffee-script/command.js:143:18
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
Could someone help?