Looking into this again, the more and more I think about it the more it sounds like a user error. There shall be no reason under which you add Luvit files into the tree if you are using Luvit. I can't really do much about the extension taking priority for files instead of user downloaded definitions, but this should not be a problem to begin with.
If this is not the case here, please re-open this issue, and post the tree of your project and why it is like this. (There is no reason to do this if you are using the luvit binary, you may be running into one of the Luvit's require odd behaviors, in which it is a user error.)
Activity
artemking4 commentedon Jun 22, 2023
(luvit decided to break requiring on my orangepi for some reason, so i kinda have to do that)
Bilal2453 commentedon Jun 24, 2023
That is an interesting issue... I did not expect this to come up. I will see what I can do about it soon.
Note:
For Luvit require to work in Luvi, you just need luvit/require, you can then set that up yourself. Don't need all of luvit/luvit.
artemking4 commentedon Jun 30, 2023
no im actually running it from luvit... the problem is that require is borken and i cba to fix it
Bilal2453 commentedon Jul 1, 2023
Could you please contact me on our Luvit discord server? If you can.
I suppose what you are going through is one of the side effects of how Luvit's require work.
Bilal2453 commentedon Aug 23, 2023
Looking into this again, the more and more I think about it the more it sounds like a user error. There shall be no reason under which you add Luvit files into the tree if you are using Luvit. I can't really do much about the extension taking priority for files instead of user downloaded definitions, but this should not be a problem to begin with.
If this is not the case here, please re-open this issue, and post the tree of your project and why it is like this. (There is no reason to do this if you are using the
luvitbinary, you may be running into one of the Luvit'srequireodd behaviors, in which it is a user error.)