GOGETMUSCLE Community HubSpot project builder often fails for random reasons

HubSpot project builder often fails for random reasons

HubSpot project builder often fails for random reasons post thumbnail image

I’ve got a legacy app on platform v2023.2

Every time I upload it to HubSpot to build then it fails for some random reason. If I upload any previous commit that was working it still fails. An example error is

[ERROR]
Sep 08 11:09:27AM BST [vite]: Rollup failed to resolve import “@kurkle/color” from “/tmp/cms_zVmz8S/cms-js-build/node_modules/chart.js/dist/chart.js”.
[ERROR]
Sep 08 11:09:27AM BST This is most likely unintended because it can break your application at runtime.
[ERROR]
Sep 08 11:09:27AM BST If you do want to externalize this module explicitly add it to
[ERROR]
Sep 08 11:09:27AM BST `build.rollupOptions.external`

But the specific error is not really important – it was working before but now cms-js-build doesn’t work, the build system seems to be stateful and broken. And if you manage to get this error to go away you’ll always get a new one. We’ve tried many AI fixes from HubSpot agent or ChatGPT etc.

I’ve tried creating new projects but that doesn’t fix it. Tried using platform 2025.1 and that doesn’t fix it.

However, very occasionally the build does work, for exactly the same code/commit that fails previously. But it’s random. It’s like there’s one HubSpot build agent that works with our project and the rest don’t for some reason.

connortrrrr_0-1758126205942.png

I’ve tried raising this issue with support but they’ve sent me here.

The painful thing is now we have an issue in production which I can’t even look at fixing because I can’t get builds working. All despite not changing any code. And our customers are upset.

Leave a Reply

Your email address will not be published.

Related Post

Learn with HubSpot 変化の時代に求められる「即効性」実現の実践術Learn with HubSpot 変化の時代に求められる「即効性」実現の実践術

こんにちは。HubSpotにてイベントを担当しております松本です。   2025年7月8日(火)〜7月11日(金)毎日12:00から、下記テーマについてオンラインイベントを開催いたします。   =========== Learn with HubSpot 変化の時代に求められる「即効性」実現の実践術 開催日時:2025年7月8日(火)〜7月11日(金)毎日12:00から配信 =========== HubSpot & パートナー企業 全10社が登壇! 本イベントでは営業・マーケティング・カスタマーサービスの各領域で「いち早く成果につなげる」ための戦略や実践的な手法を、HubSpotと業界最前線で活躍するHubSpotパートナー企業9社が各社の強みや実績から独自の切り口で解説。最新のトレンドも取り入れながら、多面的な視点からビジネスの最適解を探ります。   今回はプレゼンテーション形式のセッションに加え、ワークショップ形式のセッションもご用意しています。気になるテーマのセッションにぜひご参加ください。   ▼ウェビナーへの詳細・お申し込みはこちらから▼