chilipeppr / serial-port-json-server

Serial Port JSON Server is a websocket server for your serial devices. It compiles to a binary for Windows, Mac, Linux, Raspberry Pi, or BeagleBone Black that lets you communicate with your serial port from a web application. This enables web apps to be written that can communicate with your local serial device such as an Arduino, CNC controller, or any device that communicates over the serial port.
http://chilipeppr.com
GNU General Public License v2.0
321 stars 101 forks source link

LUBUNTU - Syntax Error During Build #70

Closed PaladinEnabling-Technologies closed 2 years ago

PaladinEnabling-Technologies commented 2 years ago

Hello There,

I'm trying to get this running on lubuntu and when building it and running the following command out of the readme:

sudo ./serial-port-json-server -createstartupscript

Then I get the following syntax error:

./serial-port-json-server: 1: Syntax error: word unexpected (expecting ")")

Anyone able to guide me in the right direction?

chilipeppr commented 2 years ago

That startup script is meant for Raspberry Pi OS, so you'd have to go look at the source code and see what it's doing to see what problem there could be with Lubuntu that you're using.

On Thu, Jul 15, 2021 at 9:25 PM Paladin Enabling Technologies < @.***> wrote:

Hello There,

I'm trying to get this running on lubuntu and when building it and running the following command out of the readme:

sudo ./serial-port-json-server -createstartupscript

Then I get the following syntax error:

./serial-port-json-server: 1: Syntax error: word unexpected (expecting ")")

Anyone able to guide me in the right direction?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chilipeppr/serial-port-json-server/issues/70, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4J23P7OP4NB7Y3OH2JZLLTX6YEVANCNFSM5AOZ352Q .

PaladinEnabling-Technologies commented 2 years ago

Hello John,

My mistake, thank you for pointing me in the right direction.