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

fix(#1411): downgrade NodeJS from 23.3.0 to 22.12.0 #1630

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

lachiejames
Copy link

Relates to:

Issue #1411 - Minimum Node LTS

Risks

Low - This change aligns the project with the current LTS version of Node.js, reducing potential compatibility issues and improving stability.

Background

What does this PR do?

Downgrades the project's Node.js version requirement from v23 to v22 (current LTS version) to ensure better stability and wider compatibility. This includes updating relevant documentation and configuration files.

See https://github.com/nodejs/release?tab=readme-ov-file#release-schedule

image

What kind of change is this?

NodeJS version requirement

Why are we doing this? Any context or related work?

I tried deploying the eliza-client on Vercel, but they only support up to Node v22. So deployments will immediately fail with this error.

image

The deployment succeeds on this branch with the following configuration:

image

Documentation changes needed?

Yes, added.

Testing

Where should a reviewer start?

  1. Validate that all references to NodeJS v23 have been updated across the codebase
  2. Validate that all CI checks pass

Detailed testing steps

  1. Install Node.js v22 using nvm:
    nvm install
    nvm use
  2. Install pnpm:
    npm install -g pnpm@9.4.0
  3. Install dependencies:
    pnpm install
  4. Run the test suite to ensure compatibility
  5. Verify the development server starts correctly

Discord username

lachiejames3677

@lachiejames lachiejames changed the base branch from main to develop January 1, 2025 10:56
@lachiejames lachiejames mentioned this pull request Jan 1, 2025
@lalalune
Copy link
Member

lalalune commented Jan 1, 2025

@lachiejames have you had any compatibility issues? I think that we did this because of runtime onnx issues, also Node.js latest now supports type stripping to we can run native typescript without bundler

@lachiejames
Copy link
Author

@lachiejames have you had any compatibility issues? I think that we did this because of runtime onnx issues, also Node.js latest now supports type stripping to we can run native typescript without bundler

@lalalune I hit deployment issues with Vercel since they only support up to Node v22.

Happy to close it if Node v23 is required for specific features.

CHANGELOG.md Outdated Show resolved Hide resolved
@odilitime
Copy link
Collaborator

Don't make any changes yet, I'll test the onnx stuff on 22 and let you know

@lachiejames lachiejames force-pushed the 1411-fix_downgrade_nodejs_from_23.3.0_to_22.12.0_lts branch from 8c8f93d to e389bf7 Compare January 3, 2025 15:31
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

Successfully merging this pull request may close these issues.

3 participants