Regression: @google-cloud/pubsub
fails to run due to JWA dependency in google-auth-library
for node v24.0.0-rc.3 and later
#1964
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
Hello team,
I'm encountering a failure when using the @google-cloud/pubsub package with Node.js versions v24.0.0-rc.3 and later. The issue appears to be related to a transitive dependency within the google-auth-library-nodejs package.
The following code, which works reliably on earlier Node.js versions, now fails starting from v24.0.0-rc.3:
const [topic] = await pubSubClient.topic(topicName);
Error:
The issue is with a dependency in
googleapis/google-auth-library-nodejs
pkg.🔍 Root Cause Investigation
After investigating the dependency tree, I’ve identified the root cause:
The issue appears to stem from a problem in the jwa dependency chain.
📎 Related Issues & Discussions
jws
library #1650buffer-equal-constant-time
totimingSafeEqual
auth0/node-jwa#46Thanks In Advance
The text was updated successfully, but these errors were encountered: