我使用 LuaForWindows 安装 LuaRocks 2.0.2 附带的 lua,当我在命令行中键入 luarocks install luarocks 时,它会安装最新的 2.2.0 luarocks 但是当我尝试使用 luarocks 安装其他 Rocks 时,它会返回错误
Site-local luarocks/site_config.lua file not found. Incomplete installation?
'uname' is not recognized as an internal or external command,
operable program or batch file.
'uname' is not recognized as an internal or external command,
operable program or batch file.
C:/Program Files (x86)/Lua/5.1/lua: C:\Program Files (x86)\Lua\5.1\lua/luarocks\
cfg.lua:80: attempt to index local 'proc' (a nil value)
stack traceback:
C:\Program Files (x86)\Lua\5.1\lua/luarocks\cfg.lua:80: in main chunk
[C]: in function 'require'
...\Program Files (x86)\Lua\5.1\lua/luarocks\loader.lua:17: in main chun
k
[C]: ?
[C]: ?
是否有任何额外的步骤我错过了让它工作谢谢