Did it run the compressor for a short time, or did it not run it at all? If it only ran for a short time, then your battery capacity is too small. If it didn't run at all, then either get a larger inverter or a smaller compressor. I have a 3,000 watt inverter than ran a small compressor long enough for me to build a workbench and lots of shelving in my outbuilding. That compressor is great for airing tires and such, but it was barely able to keep up with a framing nail gun if I didn't get in too big of a rush.