Unknown variable -e isn't the error, that's a bug in the interpreter and causes an output message but doesn't impact installation at all. We're not passing -e at all and it's telling you that it's being ignored.
https://github.com/luarocks/luarocks/issues/1287 However, what you've done by doing that is made it so the next time there's an upgrade you're going to have to find that dll and delete it, wherever you installed it. I would suggest deleting it now, instead, while you know where it is and it's on your mind. If you want to test manually, you can use the PackageMan script from this post:
https://www.redguides.com/community/threads/luarock-missing-in-modules-folder.87647/#post-576243 which will output the full command you can use into your chat window (which, assuming you're using the MQ Console -- ctrl ` -- you can then copy and paste into your command prompt). If you do go this route, please send me all of the output that you see so that I can determine what is going on.
Your crash is that you have an old version of luasqlite3.dll in your lua folder. Delete that dll, you shouldn't have that at all.
First, you need to go into c:\users\jtcam\AppData\Roaming\luarocks and delete what you have in there -- you've installed a version of lsqlite3 for lua 5.4.1 which is not the version that we use and will absolutely cause problems. See my instructions above for how to do a manual install if the automatic install isn't working for you, but please send me the output.