I suggest you have an enclosure that is 7W x 7L x 4H when raising a Wyvern. This should be sufficient space for the Wyvern to grow and not be deleted from clipping into a structure or other dino.
You might be able to get away with a smaller structure, but I lost 3 wyverns by placing them in too tight of a space before I had this structure built.
I got a level 150 lightning egg and I was so excited to hatch the egg...that when I went to put the egg down I accidentally ate it instead. :( ps4 users: R2 ISN'T GONNA DROP THE EGG YOU'RE GONNA EAT IT LIKE ANY OTHER EGG. REMEMBER THIS. LOGIC BEFORE EXCITMENT.