lapis icon indicating copy to clipboard operation
lapis copied to clipboard

Warning: No Lua interpreter detected for version 5.4. Not creating ./lua.bat

Open Marcus2810 opened this issue 1 year ago • 0 comments

When running, luarocks init

Checking your Lua installation ... Adding entries to .gitignore ... Preparing ./.luarocks/ ... Wrote .luarocks/config-5.4.lua Preparing ./lua_modules/ ... ./luarocks.bat already exists. Not overwriting it! Warning: No Lua interpreter detected for version 5.4. Not creating ./lua.bat

My trials

-After trying lua.exe and lua54.exe

-added it to environmental variables, and worked on cmd 'lua', but not luarocks init.

My config before initialization

Configuration: Lua: Version : 5.4 Interpreter: C:\Users\Marcu\Desktop\WankerX\ExtendedLibaries\Lua\bin\lua54.exe (ok) LUA_DIR : C:\Users\Marcu\Desktop\WankerX\ExtendedLibaries\Lua\bin (ok) LUA_BINDIR : C:\Users\Marcu\Desktop\WankerX\ExtendedLibaries\Lua\bin (ok) LUA_INCDIR : C:\Users\Marcu\Desktop\WankerX\ExtendedLibaries\Lua\include (ok) LUA_LIBDIR : C:\Users\Marcu\Desktop\WankerX\ExtendedLibaries\Lua\bin (ok)

Configuration files: System : C:/Program Files/luarocks/config-5.4.lua (not found) User : C:/Users/Marcu/AppData/Roaming/luarocks/config-5.4.lua (ok) Project : C:\Users\Marcu\Desktop\WankerX\ExtendedLibaries\Y/./.luarocks/config-5.4.lua (ok)

Rocks trees in use: C:\Users\Marcu\Desktop\WankerX\ExtendedLibaries\Y/./lua_modules ("project") C:\Users\Marcu\AppData\Roaming/luarocks ("user")

My versions:

luarocks 3.9.1 LuaRocks main command-line interface

Possible soultions:

could someone send me a copy of a generalized lua.bat script, to add to my project directory to work with?

Marcus2810 avatar Sep 05 '22 10:09 Marcus2810