zserge / lorca

Build cross-platform modern desktop apps in Go + HTML5
MIT License
8.04k stars 535 forks source link

Error in bind #100

Open ecb34 opened 4 years ago

ecb34 commented 4 years ago

Hi, I have a problem when I try to bind start with my function, sometimes it throws "exception":{"type":"string","value":"Invalid arguments: should be exactly one string."},"executionContextId":4} But is a void function and doesn´t have params so I dont know to what is referring the exception

This only happens in this particular start bind imagen

Tim-vanH commented 4 years ago

I ran into the same issue as well. I tried inserting a blank string or just "Hello World" as a parameter. After that, the function worked perfectly. It looks horrible, but it works until you find the root cause.

justinmichaelvieira commented 1 year ago

Just making a note here that this issue seems to still exist on the current main branch. I (am pretty sure I) just hit it with a parameterless function.