Look into your husbandry, "lack of eating" is just a side effect of something else going on. Do a lot of research, fill out the help form, read the stickies, read caresheets, etc. A lot of dead chameleons can be avoided by simply spending some time reading about what you're getting into. I know it is tempting to have a cool animal to show people, but make it last and give the animal what it deserves.