This thread is not related to Defos. I highly suggest posting Defos-related topics in its own dedicated thread.
These are not errors, nor are they warnings related to Defos. Tthey come from the Lua Language Server used by the Defold Editor. It can’t find the global defos since it is not a defined Lua global variable in the project.