What's your set up like?
Is she still striking you when you handle her?

It's not uncommon for a youngster to strike out. This time in their life is vulnerable and frightening to them. Most snakes do outgrow the nippy stage as they get larger.