Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Marcus2810 opened this issue Sep 5, 2022 · 1 comment

Comments

@Marcus2810
Copy link

Marcus2810 commented Sep 5, 2022

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?

@leafo
Copy link
Owner

leafo commented Feb 17, 2023

Appears to be the wrong repository. This is for Lapis, the Lau webframework.

@leafo leafo closed this as completed Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants