Nuxt 3 Deployment issue Build script returned non-zero exit code: 137 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Your issue sounds identical to one I had, the suggestion in the penultimate comment on this thread fixed it: