Skip to content

Conversation

gribnoysup
Copy link
Collaborator

Last time we were doing major electron upgrade, we forgot to bump required node version to match. This is just a minor one this time, so not that big of a deal, but it's helpful to keep it in sync to make sure that the tests are running in the same env that the app is running

@gribnoysup gribnoysup requested a review from a team as a code owner September 18, 2025 07:31
@gribnoysup gribnoysup requested a review from mabaasit September 18, 2025 07:32
Copy link

Assigned lerouxb for team compass-developers because mabaasit is out of office.

@gribnoysup gribnoysup added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Sep 18, 2025
@gribnoysup
Copy link
Collaborator Author

gribnoysup commented Sep 18, 2025

Seems like this minor bump reveals an issue somewhere in our units:

ReferenceError: require is not defined in ES module scope, you can use import instead

Moving to draft for now to take a closer look

@gribnoysup gribnoysup marked this pull request as draft September 18, 2025 08:17
Copy link
Collaborator

@addaleax addaleax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gribnoysup I'd actually check whether this also appears with the latest Node.js 22.x version, this sounds like a familiar bug in Node.js's ESM compatibility that has actually been fixed in more recent versions

@gribnoysup
Copy link
Collaborator Author

Oh, interesting! I'll check, thanks for the pointer!

Copy link
Collaborator

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also update .tool-versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants