Build error on vercel

When I am trying to deploy my app on vercel, I am getting this error.

But locally it’s working fine.

Hi, did you solved this?

No, it’s not resolved.

were you able to fix this @abhishek.kumar? been having these problem and can’t deploy changes to my app any longer

Yes, it’s resolved now, you need to create a file in root of you project with name .npmrc and add this line of code node-options="--openssl-legacy-provider" in file and then deploy it on vercel. It should work fine.


that fixed it for me, thanks @abhishek.kumar

1 Like