The second is correct, since the sentence is speaking of the single quantity of years as being / not being one era. If you use the plural, then we might think someone was considering each year as a separate era!
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.