Code Monkey home page Code Monkey logo

Comments (4)

kkharji avatar kkharji commented on June 18, 2024 1

Same issue 👍

luarocks --local install --server=http://luarocks.org/dev lua-lsp --check-lua-versions

lua-lsp not found for Lua 5.4.
Checking if available for other Lua versions...
Checking for Lua 5.1...
Checking for Lua 5.2...
Checking for Lua 5.3...

Error: No results matching query were found for Lua 5.4.
lua-lsp supports only Lua 5.1 and Lua 5.2 and Lua 5.3 but not Lua 5.4.
zsh: exit 1     luarocks --local install --server=http://luarocks.org/dev lua-lspO

Please support 5.4 thanks

from lua-lsp.

Alloyed avatar Alloyed commented on June 18, 2024 1

@tami5 I've split off lua 5.4 support as an independent issue if you'd like to subscribe to that instead: #35
no timeline but I'm def looking into it~

from lua-lsp.

Alloyed avatar Alloyed commented on June 18, 2024

@kdurant This seems like an issue with your configuration of luarocks and not this package specifically: it is attempting to a compile a native C++ module we depend on (lpeglabel), but can't find the base lua header (which is kinda important!). It's likely that this would happen with any C++ module, which you can test by trying to install the most popular one; luarocks install cjson. I can't really provide support for your system config specifically but if you find the issue I'd love to know what's up.

from lua-lsp.

Sunbuyu avatar Sunbuyu commented on June 18, 2024

Platform: WSL2 Debian bullseye
I encountered this problem, too. And I solved it by installing liblua-dev:

$ sudo apt-get install lua5.2
$ sudo apt-get install liblua5.2-dev

Maybe you could have a try.

from lua-lsp.

Related Issues (20)

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.