!!! ISSUE - SOLVED !!!! See discussion Any files using getServerSideProps will fail once hosted, returning a 500 error. This is a Next.js project bootstrapped with create-next-app. Deploy on Firebase in the root folder run: firebase deploy