Buffer equal constant time error #3

Merged
quoije merged 1 commits from cursor/buffer-equal-constant-time-error-7053 into prod 2025-12-20 17:26:49 -05:00
quoije commented 2025-12-20 16:59:09 -05:00 (Migrated from github.com)

Add Node.js version guards and documentation to prevent installation failures on Node.js 23+.

A transitive dependency (buffer-equal-constant-time via jsonwebtoken) relies on SlowBuffer, which was removed or changed in Node.js 23+, causing a TypeError during npm install or runtime. This PR adds checks and documentation to guide users to compatible LTS Node versions.


Open in Cursor Open in Web

Add Node.js version guards and documentation to prevent installation failures on Node.js 23+. A transitive dependency (`buffer-equal-constant-time` via `jsonwebtoken`) relies on `SlowBuffer`, which was removed or changed in Node.js 23+, causing a `TypeError` during `npm install` or runtime. This PR adds checks and documentation to guide users to compatible LTS Node versions. --- <a href="https://cursor.com/background-agent?bcId=bc-1694a1f6-d360-415a-ae11-1c6c9df8f19d"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-1694a1f6-d360-415a-ae11-1c6c9df8f19d"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a>
cursor[bot] commented 2025-12-20 16:59:09 -05:00 (Migrated from github.com)

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Cursor Agent can help with this pull request. Just `@cursor` in comments and I'll start working on changes in this branch. <sub>[Learn more](https://cursor.com/docs/background-agent/web-and-mobile) about Cursor Agents</sub>
Sign in to join this conversation.