-
-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] require bug when ox_lib is loaded more than once #545
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
glm isn't even technically loaded by ox_lib; the first package searcher/loader is the standard require function provided by cfx. https://github.com/overextended/ox_lib/blob/master/imports/require/shared.lua#L94-L100 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Our definitions of "reproducible" are clearly very different. The images you posted aren't even related to the issue being reported; one of them doesn't even reference ox_lib, and two of them are waitFor timeout errors due to you having too many assets loaded and failing to load more. |
Freshly installed ESX-Ox recipe does not have the reported issue either. Changing the name of the module being loaded to specifically invoke an error also gives a different (and expected) error message.
Yours somehow shows the field package and no file lines twice. |
As shown in your stack trace the error is in ox_target and not ox_inventory; it's also only an issue in older versions of ox_target and was fixed with v1.14.0. |
Describe the bug
ox_inventory isn't working with the newest ox_lib Version
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Normal Loading and Function from ox_inventory
Screenshots
The text was updated successfully, but these errors were encountered: