Fix Node.js v25 compatibility by updating Google API dependencies#43
Closed
edgycoder-ph wants to merge 1 commit intoa-bonus:mainfrom
Closed
Fix Node.js v25 compatibility by updating Google API dependencies#43edgycoder-ph wants to merge 1 commit intoa-bonus:mainfrom
edgycoder-ph wants to merge 1 commit intoa-bonus:mainfrom
Conversation
Updates google-auth-library and googleapis to versions compatible with Node.js v25, which removed the deprecated SlowBuffer API. Changes: - Update google-auth-library: 9.15.1 → 10.5.0 - Update googleapis: 148.0.0 → 171.4.0 The older google-auth-library version (9.15.1) had a dependency chain that used the SlowBuffer API, which was removed in Node.js v25. This caused a "Cannot read properties of undefined (reading 'prototype')" error when running the MCP server with Node v25+. These dependency updates resolve the compatibility issue while maintaining all existing functionality and passing strict TypeScript compilation. Tested with Node.js v25.5.0 on macOS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates
google-auth-libraryandgoogleapisto versions compatible with Node.js v25, which removed the deprecatedSlowBufferAPI.Problem
When running this MCP server with Node.js v25+, the server crashes on startup with:
This occurs because
google-auth-library@9.15.1has a dependency chain that uses the deprecatedSlowBufferAPI, which was removed in Node.js v25.Changes
google-auth-library: 9.15.1 → 10.5.0googleapis: 148.0.0 → 171.4.0Testing
readGoogleDoc,getRecentGoogleDocs)Additional Notes
The dependency updates resolve the compatibility issue without requiring any code changes. All existing functionality is preserved.