Skip to content

Bug: Node.js v20 Incompatibility Blocks Usage #107

@johnib

Description

@johnib

Problem

The current dependency srvx version ^0.8.7 has compatibility issues with Node.js v20 environments, preventing users from running copilot-api entirely on Node.js v20.

Current Behavior

  • Users running Node.js v20 (LTS until April 2026) encounter dependency-related errors
  • Application fails to start properly in Node.js v20 environments
  • Users on Node.js v20 cannot use this package at all

Impact

  • Blocks usage for anyone on Node.js v20 LTS
  • Creates environment compatibility issues for development teams
  • Limits deployment options for production environments using Node.js v20
  • Affects users following Node.js LTS best practices

Proposed Solution

Downgrade the srvx dependency from ^0.8.7 to ^0.6.0 to restore Node.js v20 compatibility:

{
  "dependencies": {
    "srvx": "^0.6.0"
  }
}

Benefits

  • Enables Node.js v20 compatibility (LTS until April 2026)
  • Restores functionality for Node.js v20 users
  • Allows broader deployment scenarios
  • Minimal change with maximum compatibility impact

Technical Details

  • The v0.6.0 version of srvx maintains the required functionality
  • No breaking changes to existing API usage
  • Tested compatibility with Node.js v20.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions