-
Notifications
You must be signed in to change notification settings - Fork 82
Closed as not planned
Labels
investigatingWe're actively investigating this issueWe're actively investigating this issuevalidatedVersion information for this issue has been validatedVersion information for this issue has been validated
Description
Summary
I'm having issues with my custom SF CLI plugin when running tests for node version 25. I get the following error. It seems that Node.js 25 removes SlowBuffer, which breaks buffer-equal-constant-time, which is relied on for a few dependencies that I am having problems resolving. Any guidance on this would be appreciated.
TypeError: Failed to load plugin 'sf-plugin' declared in '.eslintrc.cjs': Cannot read properties of undefined (reading 'prototype')
Referenced from: /home/runner/work/kc-sf-plugin/kc-sf-plugin/.eslintrc.cjs
at Object.<anonymous> (/home/runner/work/kc-sf-plugin/kc-sf-plugin/node_modules/buffer-equal-constant-time/index.js:37:35)
at Module._compile (node:internal/modules/cjs/loader:1760:14)
at Object..js (node:internal/modules/cjs/loader:1892:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.require (node:internal/modules/cjs/loader:1503:12)
at require (node:internal/modules/helpers:152:16)
at Object.<anonymous> (/home/runner/work/kc-sf-plugin/kc-sf-plugin/node_modules/jwa/index.js:1:19)You can view the CI output in here: https://github.com/k-capehart/kc-sf-plugin/actions/runs/20194106315/job/57975577602?pr=84
Steps To Reproduce
- Use Node version 25
- Clone repo: https://github.com/k-capehart/kc-sf-plugin
- Checkout dependabot branch:
dependabot-npm_and_yarn-dependencies-26dd64a002 yarn build
Expected result
Project should build.
Actual result
Build fails with provided error.
Additional information
System Information
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.115.15",
"nodeVersion": "node-v22.21.0",
"osVersion": "Darwin 24.6.0",
"rootPath": "/Users/kylecapehart/.nvm/versions/node/v22.21.0/lib/node_modules/@salesforce/cli",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.39 (core)",
"@oclif/plugin-commands 4.1.38 (core)",
"@oclif/plugin-help 6.2.36 (core)",
"@oclif/plugin-not-found 3.2.73 (core)",
"@oclif/plugin-plugins 5.4.54 (core)",
"@oclif/plugin-search 1.2.36 (core)",
"@oclif/plugin-update 4.7.16 (core)",
"@oclif/plugin-version 2.2.36 (core)",
"@oclif/plugin-warn-if-update-available 3.1.53 (core)",
"@oclif/plugin-which 3.2.42 (core)",
"@salesforce/cli 2.115.15 (core)",
"agent 1.25.2 (core)",
"apex 3.8.10 (core)",
"api 1.3.3 (core)",
"auth 3.9.22 (core)",
"code-analyzer 5.5.0 (user) published 73 days ago (Tue Sep 30 2025) (latest is 5.7.1)",
"data 4.0.64 (core)",
"deploy-retrieve 3.24.2 (core)",
"info 3.4.96 (core)",
"limits 3.3.72 (core)",
"marketplace 1.3.8 (core)",
"org 5.9.50 (core)",
"packaging 2.23.5 (core)",
"schema 3.3.88 (core)",
"settings 2.4.51 (core)",
"signups 2.6.49 (user) published 77 days ago (Sat Sep 27 2025) (latest is 2.6.56)",
"sobject 1.4.79 (core)",
"telemetry 3.6.68 (core)",
"templates 56.3.72 (core)",
"trust 3.7.113 (core)",
"user 3.6.42 (core)"
]
}Metadata
Metadata
Assignees
Labels
investigatingWe're actively investigating this issueWe're actively investigating this issuevalidatedVersion information for this issue has been validatedVersion information for this issue has been validated