Comments (3)
hmm, it looks like since I last updated luarocks released a major version. I'm not sure how much work it'll be to fix all the places where we directly hook into luarocks but I'll try to get to it sometime soon: in the meantime though things won't work :(
from loverocks.
same here. I am using msys2 + mingw64 on windows7, all lua and luarocks are installed by command like
pacman -S mingw-w64-x86_64-lua
there is no error message during installation but when I run
$ luarocks install iuplua
E:\msys64\mingw64\bin\lua.exe: E:/msys64/mingw64/bin/luarocks:5: module 'luarocks.cfg' not found:
no field package.preload['luarocks.cfg']
no file '/mingw64/share/lua/5.1/luarocks\cfg.lua'
no file 'E:\msys64\mingw64\bin\lua\luarocks\cfg.lua'
no file 'E:\msys64\mingw64\bin\lua\luarocks\cfg\init.lua'
no file 'E:\msys64\mingw64\bin\luarocks\cfg.lua'
no file 'E:\msys64\mingw64\bin\luarocks\cfg\init.lua'
no file 'E:\msys64\mingw64\bin\..\share\lua\5.3\luarocks\cfg.lua'
no file 'E:\msys64\mingw64\bin\..\share\lua\5.3\luarocks\cfg\init.lua'
no file '.\luarocks\cfg.lua'
no file '.\luarocks\cfg\init.lua'
no file 'E:\msys64\mingw64\bin\luarocks\cfg.dll'
no file 'E:\msys64\mingw64\bin\..\lib\lua\5.3\luarocks\cfg.dll'
no file 'E:\msys64\mingw64\bin\loadall.dll'
no file '.\luarocks\cfg.dll'
no file 'E:\msys64\mingw64\bin\luarocks.dll'
no file 'E:\msys64\mingw64\bin\..\lib\lua\5.3\luarocks.dll'
no file 'E:\msys64\mingw64\bin\loadall.dll'
no file '.\luarocks.dll'
stack traceback:
[C]: in function 'require'
E:/msys64/mingw64/bin/luarocks:5: in main chunk
[C]: in ?
from loverocks.
Same problem on mac 12.4:
brew reinstall [email protected]
brew install luarocks
luarocks --lua-dir=/opt/homebrew/opt/[email protected] install busted
luarocks --lua-dir=/opt/homebrew/opt/[email protected] install luarocks
luarocks --lua-dir=/opt/homebrew/opt/[email protected] install loverocks
loverocks help
/opt/homebrew/opt/[email protected]/bin/lua5.1: ...konsumer/.luarocks/share/lua/5.1/loverocks/unzip.lua:26: module 'luarocks.cfg' not found:No LuaRocks module found for luarocks.cfg
no field package.preload['luarocks.cfg']
no file '/Users/konsumer/.luarocks/share/lua/5.1/luarocks/cfg.lua'
no file '/Users/konsumer/.luarocks/share/lua/5.1/luarocks/cfg/init.lua'
no file 'luarocks/cfg'
no file 'luarocks/cfg.lua'
no file './luarocks/cfg.lua'
no file '/opt/homebrew/share/lua/5.1/luarocks/cfg.lua'
no file '/opt/homebrew/share/lua/5.1/luarocks/cfg/init.lua'
no file '/opt/homebrew/lib/lua/5.1/luarocks/cfg.lua'
no file '/opt/homebrew/lib/lua/5.1/luarocks/cfg/init.lua'
no file '/Users/konsumer/.luarocks/lib/lua/5.1/luarocks/cfg.so'
no file '/usr/local/lib/lua/5.1/luarocks/cfg.so'
no file './luarocks/cfg.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/luarocks/cfg.so'
no file '/usr/lib/lua/5.1/luarocks/cfg.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/Users/konsumer/.luarocks/lib/lua/5.1/luarocks.so'
no file '/usr/local/lib/lua/5.1/luarocks.so'
no file './luarocks.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/luarocks.so'
no file '/usr/lib/lua/5.1/luarocks.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
...konsumer/.luarocks/share/lua/5.1/loverocks/unzip.lua:26: in main chunk
[C]: in function 'require'
...sumer/.luarocks/share/lua/5.1/loverocks/loadconf.lua:13: in main chunk
[C]: in function 'require'
.../.luarocks/share/lua/5.1/loverocks/love-versions.lua:1: in main chunk
[C]: in function 'require'
...r/.luarocks/share/lua/5.1/loverocks/commands/new.lua:4: in main chunk
[C]: in function 'require'
...sumer/.luarocks/share/lua/5.1/loverocks/commands.lua:19: in main chunk
[C]: in function 'require'
.../konsumer/.luarocks/share/lua/5.1/loverocks/main.lua:2: in main chunk
[C]: in function 'require'
...b/luarocks/rocks-5.1/loverocks/0.2.1-1/bin/loverocks:2: in main chunk
[C]: ?
from loverocks.
Related Issues (19)
- Error: Could not satisfy dependency: love ~> 0.9 HOT 7
- Dependency importing
- Remove dependency on luafilesystem HOT 3
- 64-bit luarocks on windows? HOT 3
- Not installable via luarocks HOT 2
- remove stale dependencies HOT 1
- deps.run accept dependencies in place of conf HOT 1
- Support for Lua 5.3 HOT 2
- Love version 11.0 incorrectly supported HOT 1
- `loverocks init` fails with not finding `templates` HOT 5
- loverocks new fail due to nil value
- Dependency freezing
- Support packed games
- loverocks install --only-deps is broken
- Cannot Install loverocks on Windows HOT 3
- public API?
- increasing the lua version upper bound HOT 4
- Improving the getting started story for new users HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loverocks.