Heko me please error

How can i fix this error ?

Error running system event handling function for resource esx_addoninventory: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/main.lua:106: attempt to index a nil value (global ‘ESX’)
stack traceback:
server/main.lua:106: in upvalue 'handler’
citizen:/scripting/lua/scheduler.lua:175: in function citizen:/scripting/lua/scheduler.lua:174
stack traceback:
[C]: in function 'error’
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138

You don’t have ESX but your using a ESX resource.

Or you’re starting an ESX resource before starting es_extended.

What does your server.cfg file look like?

start mapmanager
start chat
start spawnmanager
start esx_addoninventory
start esx_addonaccount
start fivem
start hardcap
start ■■■■■■■
start baseevents
start mysql-async
start async
start cron
start bob74_ipl
start sessionmanager
start instance
start essentialmode
start esplugin_mysql
start es_admin2
start ServerManagement
start disclaimer
start fivem-map-hipster
start fivem-map-skater
start es_extended
start vSync

start esx_menu_default
start esx_menu_dialog
start esx_menu_list
start esx_voice
start esx_phone
start esx_identity
start esx_society
start esx_jobs
start esx_joblisting
start esx_lscustom
start esx_vehicleshop
start esx_billing
start esx_basicneeds
start esx_skin
start esx_weashops
start esx_property
start esx_service
start esx_optionalneeds
start dbjailer
start esx_realestateagentjob
start car_view
start esx_datastore
start esx_animations
start esx_mecanojob
start esx_ambulancejob
start esx_mask
start esx_barbershop
start esx_gps
start esx_fishing
start esx_deliveryjob
start esx_washjob
start esx_license
start esx_dmvschool
start esx_eden_garage
start esx_taxijob
start esx_eden_demarches
start esx_map
start esx_shops
start esx_gangjob
start es_carwash
start interiors
start polgs350
start sq72016
start esx_mafiajob
start eden_animal-master
start esx_diving-master
start esx_copweapon-master
start esx_journaliste

start custompeds
start customvehicles
start wk_vehdamage
start handsup
start es_advancedfuel
start pvp
start watermark
–start speedometer
start simpledrift
start skinchanger
start customweapon
start polisbil
start hup
start speedcamera
start vannouncer
start vehcontrol
start heli
#start pdrpsandyxmas
start pv-tow
#start EasyAdmin
start idoverhead
start InteractSound
start LockSystem
start hazards
start PoliceVehiclesWeaponDeleter
start esx_tattoosShops
start disabledispatch
start vhelp
start NoReticle
start npcweapons
start srpcommands
–start christmas
#start vdk_inventory
start Rmodlp770
start PorschePanamera
start BentleyBentayga
start PoliceMustang
start Ferrarii
start AMG
start esx_whitelist
start es_camera
start esx_slotmachine
start esx_unicornjob
start AMD
start BMWM3
start ambu01
start prior
start BMWI8
start Rollsroyce
start husqvarna
start point
start ems
start emss
start audirs5
start ford
start bmwm6
start volvos60
start mustang
start passat
start fordgt
start JF_SeatShuffle
start els-fivem
start lux_vehcontrol
start Captain14_FBI
start Captain14_LSPD
start JF_RagdollKey
start afkkick
start streetLabel
start esx_gundealer
start esx_avocat
start esx_moneywash
start tp
start esx_eden_clotheshop
start audis8
start esx_policejob
start initialdspeedo-fivem-master
start esx_holdupbank
start esx_holdup
start Trafic
start crouch
start darknet
start esx_enheten
start polisporche
start cooldown
start fivem-playerlist-master
start esx_status
start Thorsvilles-loading-screen
start eden_accesories-master
start new_banking
start R8
start 1
start pNotify
start ghispo2
start Porsche911turbo
start Porsche918
start bmwf82
start 2013rs7
start audiavant
start policee
start xc90
start RealAITraffic
start esx_cigg
start ArrestAnims
start startech
start cars
start esx_drugs-master
start f131
start gtr
start tax
start mk7
start esx_clip
start clipsaverv
start knockout
start guns
start esx_sit
start v90

You’re starting esx_addoninventory and esx_addonaccount before es_extended.