Check the programming on the ESC. Hopefully, you got a manual with it that gives you the procedure and codes. I would try setting it to the factory default first. If that doesn't work, then manually set the battery type to lipo and try that.
Wouldn't be the first time an ESC was bad from the start.