Has technique of accessing ESX instance from resources changed?

I’ve been helping a server get a resource I wrote awhile ago integrated with their ESX Legacy server, but in setting up a clean dev server to see what’s wrong I’m getting this attempt to concatenate a table value (global 'ESX') when I try to access ESX.Players. If I restart the resource on the running server it will work but that’s not a solution. It was working fine a couple of months ago. It’s dying here

and I’m including the imports.lua in fxmanifest.lua
image

I tried adding a dependency to the ESX resource in fxmanifest.lua
Anyone know what might be going wrong?