Deployment Failure

I am suddenly experiencing errors when deploying to Vercel. Here are the steps that I’m taking and where it errors out:

  1. Deployed GitHub repository to Vercel:

https://nuxtui-pro-docs6.vercel.app

  1. Changed h1 to “Experience the new web”, redeployed, and got the following error:


Any suggestions?

Thank you,

Erin Halligan

erin@designcandy.com

832-651-5384

The warning points to some compatibility issue between CommonJS and ES Modules. I’ve never worked with Nuxt but my guess is that you may need to update your config to make sure you’re explicitly setting the module format. I would also check your packages to make sure they are all up to date.

This should just be a warning though and not break your deployments. Are the builds completely failing?

Yes, here’s the error:


(Thank you for replying!)

If the project uses TypeScript, it might just need a tsconfig.json set for ESM.

Someone else ran into that issue recently. Full solution here:

1 Like