You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hey everyone,
Wondering if anyone has encountered this issue before. We have a react project that used to build successfully before (we have a schedule daily run), then suddenly it just started failing even though no new code change was introduced.
TypeScript 'declare' fields must first be transformed by @babel/plugin-transform-typescript.
If you have already enabled that plugin (or '@babel/preset-typescript'), make sure that it runs before any plugin related to additional class features:
- @babel/plugin-proposal-class-properties
- @babel/plugin-proposal-private-methods
- @babel/plugin-proposal-decorators
Hi, @franco! Welcome to the community!
There could be multiple reasons for the failure, so I would like to ask you to check the following points:
Are there changes in the build image you are using in the Pipeline? You can verify it by checking the image hash of failed and passed build.
Can you check the caches in both pass and failed builds? Could you check if the cache was reused or created in both failed and successful builds?
Are there any recent changes in the third-party packages? You can verify it by checking the Pipeline logs and version of different packages being used.
Could you share how you have tested it locally?
Please feel free to share any additional information related to this issue.
Kind regards,
Caroline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.