Nuxt is compiling Firebase Functions

At a guess, you have a different configuration here than there, which behaves differently. Have you read this article about debugging builds? It shows you how to make sure we use the same version locally and in our CI, which resolves many “works here and not there” problems: