Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to build under node 22 #177

Open
mcdemarco opened this issue Jan 18, 2025 · 0 comments
Open

Failure to build under node 22 #177

mcdemarco opened this issue Jan 18, 2025 · 0 comments

Comments

@mcdemarco
Copy link
Contributor

I updated node, thinking it would be a good idea, but it turned out to be a bad idea. I couldn't build main or the 1.1.0 tag. I switched back to node 19 (based on some vague info I'd googled that I don't recall now) and all was well.

The error was: error: Static class blocks are not enabled. Please add @babel/plugin-transform-class-static-block to your configuration. I tried one basic fix that failed before downgrading node.

It might be worth noting the node version requirement somewhere, ideally in package.json, or narrowing the issue down to a babel requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant