Qbox-project / npwd_qbx_garages

0 stars 10 forks source link

npwd_qbx_garages does not show any owned vehicles #10

Open f3rr311 opened 2 months ago

f3rr311 commented 2 months ago

Summary

When doing a fresh install of qbx there are no owned vehicles that show up in app

Reproduction

  1. Install QBX using FX admin guide
  2. Start server
  3. Spawn a built-in car and use buy from admin menu
  4. Take Car to garage and store it
  5. Open app and see nothing

I reinstalled npwd_qbx_garages using both release and the git saved as a zip, I cleared cache both time and did full restarts of the server

Expected behavior

Open the App and see the stored cars

Actual behavior

Open the phone app and see nothing

Additional context

[   4730969] [b3095_GTAProce]        CrBrowserMain/ Settings Schema was invalid, applying default settings (@npwd/dist/html/assets/index-8a8c4972.js:208)
[   4734016] [b3095_GTAProce]        CrBrowserMain/ Uncaught TypeError: Cannot read properties of null (reading 'focus') (@game/ui/root.html:108)
[   4738500] [b3095_GTAProce]        CrBrowserMain/ [object Object] (@npwd/dist/html/assets/index-8a8c4972.js:256)
[   4738563] [b3095_GTAProce]        CrBrowserMain/ Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map') (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   4738563] [b3095_GTAProce]        CrBrowserMain/ Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map') (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   4738609] [b3095_GTAProce]        CrBrowserMain/ Uncaught SyntaxError: Cannot use import statement outside a module (@npwd_qbx_garages/web/dist/remoteEntry.js:1)
[   4738609] [b3095_GTAProce]        CrBrowserMain/ Loaded external app npwd_qbx_garages (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   4738609] [b3095_GTAProce]        CrBrowserMain/ Uncaught SyntaxError: Cannot use import statement outside a module (@npwd_qbx_garages/web/dist/remoteEntry.js:1)
[   4738609] [b3095_GTAProce]        CrBrowserMain/ Loaded external app npwd_qbx_garages (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   4738609] [b3095_GTAProce]        CrBrowserMain/ Uncaught SyntaxError: Cannot use import statement outside a module (@npwd_qbx_mail/web/dist/remoteEntry.js:1)
[   4738609] [b3095_GTAProce]        CrBrowserMain/ Loaded external app npwd_qbx_mail (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   4738609] [b3095_GTAProce]        CrBrowserMain/ Uncaught SyntaxError: Cannot use import statement outside a module (@npwd_qbx_mail/web/dist/remoteEntry.js:1)
[   4738609] [b3095_GTAProce]        CrBrowserMain/ Loaded external app npwd_qbx_mail (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   4738688] [b3095_GTAProce]        CrBrowserMain/ Successfully loaded external app "npwd_qbx_mail" (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   4738688] [b3095_GTAProce]        CrBrowserMain/ Successfully loaded external app "npwd_qbx_mail" (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   4738688] [b3095_GTAProce]        CrBrowserMain/ Successfully loaded external app "npwd_qbx_garages" (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   4738688] [b3095_GTAProce]        CrBrowserMain/ Successfully loaded external app "npwd_qbx_garages" (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   4746469] [b3095_GTAProce]             MainThrd/ error during NUI callback npwd:qbx_garage:getVehicles: @npwd_qbx_garages/client/client.lua:17: bad argument #1 to 'for iterator' (table expected, got nil)
[   4748984] [b3095_GTAProce]        CrBrowserMain/ Uncaught SyntaxError: Cannot use import statement outside a module (@npwd_qbx_garages/web/dist/remoteEntry.js:1)
[   4748984] [b3095_GTAProce]        CrBrowserMain/ Loaded external app npwd_qbx_garages (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   4749000] [b3095_GTAProce]        CrBrowserMain/ Successfully loaded external app "npwd_qbx_garages" (@npwd/dist/html/assets/index-8a8c4972.js:341)
[   5149438] [b3095_GTAProce]             MainThrd/ OnConnectionProgress: Downloading content manifest...
[   5149531] [b3095_GTAProce]             MainThrd/ OnConnectionProgress: Downloading content manifest (13.14 kB)
[   5291813] [b3095_GTAProce]        CrBrowserMain/ Uncaught (in promise) TypeError: Failed to fetch (@npwd/dist/html/assets/__federation_expose_Input-51304708.js:2)

Current Version

v1.0.0

Custom Resources

none

nutter887 commented 2 months ago

me too in my cmd said " SCRIPT ERROR: @npwd_qbx_garages/server/server.lua:34: attempt to index a nil value (field 'garages')