In the http.createServer([requestListener]) section there is small syntax error. It might be very confusing for someone who is starting out new and doesn't know how to debug. Because this syntax error will cause the program to not work when flashed to Pico W.
See in the screenshot below
Instead of response the variable name should be res. I know this is trivial but I spent some good amount of time overlooking this simple bug and was just about to try back Micropython instead of Kaluma, loosing hope :)
I am referring the documentation page for HTTP here: https://kalumajs.org/docs/api/http
In the http.createServer([requestListener]) section there is small syntax error. It might be very confusing for someone who is starting out new and doesn't know how to debug. Because this syntax error will cause the program to not work when flashed to Pico W.
See in the screenshot below![image](https://github.com/kaluma-project/kaluma/assets/6577603/bab94585-83e0-4de7-b25c-f07ee2709ce7)
Instead of
response
the variable name should beres
. I know this is trivial but I spent some good amount of time overlooking this simple bug and was just about to try back Micropython instead of Kaluma, loosing hope :)