summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Van Doorn <nick@nv.delivery>2022-06-18 22:28:43 -0700
committerNicholas Van Doorn <nick@nv.delivery>2022-06-18 22:28:43 -0700
commit7f2327282eb4ce85ab329ed5c06ae3c4ed2a8d71 (patch)
treebd0505e6ff1f3849b52bbc9af2b4cd79d7d37617
parentfd683375751aedb81c87149ad5c46999aea93485 (diff)
Comment on Python usage
I don't really like using Python when I can avoid it, so I figured I should comment on my choice here. I would still love to see a Node server for this project someday.
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index c3312bc..e0929ca 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,22 @@ Open the app:
By default the server binds to `0.0.0.0` so you can access the app on other devices such as a phone or tablet.
+## Python??
+
+I would have preferred a Node based server written in JS, but the iRacing SDK package for Node requires compilation of some C code with `node-gyp`.
+
+I ran into some really cryptic errors and moved onto the Python package (which just works, by comparsion).
+
+If anyone knows how to debug or fix
+```
+npm ERR! File "binding.gyp", line 1
+npm ERR! \ufeff{
+npm ERR! ^
+npm ERR! SyntaxError: invalid non-printable character U+FEFF
+```
+
+please let me know! For now Python is good enough.
+
## Hacking on the Client
It's a pretty standard `create-react-app` app.