Check for a blown alternator fuse or fuseable link wire going to alternator.
hate to say it, but an alternator can be bad right out of the box. I would have it tested. actually have had this happen.
True...happen to me also...more than once...
Looking for a Used Wrangler in your area?
CarGurus has 19,474 nationwide Wrangler listings starting at $1,999.
Search Jeep Wrangler Questions
Jeep Wrangler Experts