Skip to content

Node version support mismatch #950

@horvathbalazshbal

Description

@horvathbalazshbal

Description:
Twig currently declares support for Node.js >=20. However, it depends on Locutus, which only supports Node.js >=22. This creates a compatibility issue when using Node 20 or 21.

Expected behavior:
Twig should either:

  1. Update its Node version requirement to >=22, or
  2. Adjust its dependency on Locutus to ensure compatibility with Node 20 and 21.

Impact:
Projects running Node 20 or 21 may encounter installation issues or runtime errors when using Twig.

Environment:

  • Twig version: v2
  • Locutus version: v3
  • Node.js versions affected: 20, 21

P.S.
I tested it locally with basic requirement changes to >=22 but I don't have permission to open a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions