Giter VIP home page Giter VIP logo

Comments (3)

Alloyed avatar Alloyed commented on August 25, 2024

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.

retsyo avatar retsyo commented on August 25, 2024

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.

konsumer avatar konsumer commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.