andreaskoch / allmark

A cross-platform markdown web server
https://allmark.io
Other
312 stars 74 forks source link

Syntax error: newline unexpected #12

Open tristobal opened 7 years ago

tristobal commented 7 years ago

Hi, I tried to serve a markdoc folder, but when a run allmark, I got a "newline unexpected" error

user@host $ cd docs 
user@host/docs $ allmark serve
/usr/local/bin/allmark: 2: /usr/local/bin/allmark: Syntax error: newline unexpected
matchavez commented 6 years ago

It's still broken. I think we can call this project "Abandoned" :(

shadiakiki1986 commented 4 years ago

I got the same problem when I downloaded with the wget command documented in the readme. It turned out for me that the wget was just downloading some html. If you do a vim /usr/local/bin/allmark, you will see if it's a binary file or an html text file. I then downloaded the binary from the releases page in github, and it worked with allmark serve docs

matchavez commented 4 years ago

When I download off the releases page, I still get that same HTML. That's for a Mac as well.