Closed toncho11 closed 8 years ago
I can't reproduce this error -- can you provide the script you used?
This is the file. It says: 1-19: Unclosed parens
There is a comment on line 4 and it works on probmods.org.
I tried your script on OS X and didn't get an error.
What version of webchurch are you running?
It is on Windows, Windows, Windows... I followed the non git instructions.
Ah - I think I figured it out. Your file has both newlines \n
and carriage returns \r
.
webchurch doesn't like these, so you'll have to switch to an editor that doesn't insert carriage returns (also, make sure it saves the file as UTF-8)
(Actually, it turns out this was an easy enough bug to fix, so if you install the latest webchurch that model should just work now, without having to switch editors)
If I add ";" and a comment the whole script crashes.
I do execute it as follow on Windows 7:
node church scriptname.txt