Skip to content

incorrect 3rd package function signature #3231

Answered by tomlau10
lxl66566 asked this question in Q&A
Discussion options

You must be logged in to vote

AFAIK, the server built-in 3rd party library is deprecated long ago: #1950
(this is actually a pinned discussion in the discussion page 🙈 )

You will need to use the LLS addon manager to download / install library, and link to them using

   "workspace.library": [
        "${addons}/openresty/module/library"
    ],

(the addon manager will auto adjust your project's .luarc.json when you install the library)


but ...

Even if I added OpenResty library in this way, still the cloned library is the old version 😕


I then opened the submodule at my LLS addon path, seems that the submodule commit is not updated in the LLS-addon registry repo 🤔
https://github.com/LuaLS/LLS-Addons/tree/main/addons/op…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lxl66566
Comment options

Answer selected by lxl66566
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants