Bubble's Botched Upgrade to NodeJS 14

Problem

Bubble had at least half a year to anticipate AWS discontinuing support for NodeJS 12, but failed to proactively migrate to NodeJS 14 before the October 31, 2022 hard stop by AWS. The consequence is that many custom plugins failed, starting November 1, 2022. Some failed in run time, and some cannot even rebuild their dependencies in the plugin editor.

We spent yesterday afternoon conducting a forensic autopsy of Bubble server logs and GitHub change logs after a swath of our plugins failed dramatically. We deduced that the failure mode was due Bubble defaulting to using the “latest” NPM package versions in the plugin editor. Thus when NPM package maintainers anticipated the ending of NodeJS 12 support on AWS by releasing package versions that both:

  1. Removed references to NodeJS 12 specific language constructs.
  2. Added references to NodeJS 14 language constructs.

their packages failed in the Bubble environment, because Bubble is scheduled to remain on NodeJS 12 for at least 2 weeks into November.

Workaround

Our temporary band-aid to this problem is to find the last version of each package that still supported NodeJS 12 and then carrot “^” pin in the dependencies to non-breaking changes to the package.

In two weeks we will see how well this fairs.

2 Likes

Be careful Aaron, or you might be joining the Bubble team soon to address this and many other long standing issues…

3 Likes

Drink…Nose…Expell…HaHaHa

2 Likes

This topic was automatically closed after 14 days. New replies are no longer allowed.