The second N in “environment” is seldom pronounced distinctly, so it’s not surprising that is often omitted in writing. If you know the related word “environs” it may help remind you.