LiamDormon / mojito_pdm

React / Typescript catalogue for PDM
Creative Commons Attribution Share Alike 4.0 International
29 stars 25 forks source link

Cannot read properties of undefined #17

Open Dersicko opened 2 years ago

Dersicko commented 2 years ago

all of the sudden getting this error when trying to open the UI

[ script:mojito_pdm] SCRIPT ERROR in event `fetch:pdm_online': TypeError: Cannot read properties of undefined (reading 'name') [ script:mojito_pdm] > eval (webpack://mojito_pdm/./server/server.ts?:117) [ script:mojito_pdm] > eval (webpack://mojito_pdm/./node_modules/@project-error/pe-utils/lib/server/sv_utils.js?:38) [ script:mojito_pdm]

LiamDormon commented 2 years ago

Probably the vehicle doesn't exist in your qbcore

Dersicko commented 2 years ago

So i deleted all the vehicles except one that i know for sure is in and still the same error