Build failed only on Vercel

Normal in local and GitHub CI, but failed in Vercel CI.

But it will succeed when I redeploy it.

There was no such problem a week ago.

The error seems to come from typescript.

src/alert.ts(3,7): error TS2339: Property 'define' does not exist on type 'typeof Alert'.

18:37:58.135

src/avatar.ts(3,8): error TS2339: Property 'define' does not exist on type 'typeof Avatar'.

18:37:58.135

src/badge.ts(3,7): error TS2339: Property 'define' does not exist on type 'typeof Badge'.

18:37:58.135

There are many similar outputs as this

Hi, @startracex!

Can you take a look at this community post? Might be helpful for your usecase.

Thank you :pray:

Not all deployments have failed.

All my push builds were successful, while all other ( github-actions[bot]) push builds failed.

Why did this happen?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.