Skip to content

Allow shields to run on node 24 #11071

Description

@chris48s

Node 24 was released a few days ago.

Attempting to run shields on node 24 throws

Exception during run: Error: No such module: http_parser

We've known this would happen at some point because we've been seeing the deprecation warning

[DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.

for some time.

This isn't a call we're making directly in the shields codebase. I made some more notes on it in #7130 (comment) but in order to get things working on node 24 we are going to have to fix it.

We have 2 options:

  1. Fix it in our scoutcamp fork
  2. Migrate away from scoutcamp (Modernizing the server #3328 (comment) )

With option 2 being my preferred option.

This is not super urgent because node 22 will receive security updates until April 2027. However this is going to be a big job so we do need to get it done sooner rather than later.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions