Says "module webview not found.
When I run it it says "Module webview not found" and on the first line of code it requires and non-existent file
Hello,
This error means that Lua did not found or cannot open the webview C library. By default Lua lists the places where the library was not found. I would recommend to try launching the Lua executable from the folder where it resides and with the webview.dll or webview.so alongside in the same folder. On Windows the C library is looked into the Lua executable folder but not on Linux. You could specify the exact folder by using the LUA_CPATH environment variable.
If it does not help, I will need more information to better understand and reproduce your issue: What Lua runtime are you using and on which OS? Did you tried with a luajls release available here? Where are located Lua, the webview C library, your Lua script and your current/working directory? What is the Lua script, or part of it, you are running and what are the command line arguments including the path and environment variable LUA_CPATH?
Thank you in advance and have a good day, Samuel