K
K
KuzmichJap2022-03-16 17:32:08
Lua
KuzmichJap, 2022-03-16 17:32:08

How to fix bad argument #2 error when trying to execute luadist.install(luaposix)?

I use ZeroBrane Studio IDE
I want to add extensions using LuaDist extension, but I get an error:

luadist.install('luaposix')
Running 'install' for Lua 5.1 in 'C:\Users\aleksandr.vilkov\luadist\5.1'.
C:\Lua\lualibs/dist\depends.lua:56: bad argument #2 to 'insert' (number expected, got nil)
Completed in 0 second(s).


Requires a numeric argument for some reason, however the LuaDist usage examples don't have anything like that.
Second day of learning Lua and ZBStudio

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question