This repository was archived by the owner on Nov 20, 2025. It is now read-only.
Description Environment details
OS: bullseye-slim
Node.js version: 20.10.0
npm version:
google-auth-library version: 9.3.0
google-gax 4.0.5
Steps to reproduce
Launching with google-gax 4.0.5 on google cloud run, the upgrade from 9.2.0 to 9.3.0 produces this new exception:
TypeError : gcpMetadata . universe is not a function
at GoogleAuth . _GoogleAuth_getUniverseFromMetadataServer ( / u s r / src/ app / node_modules / . pnpm / google - auth - library @9.3 .0 / node_modules / google - auth - library / build / src / auth / googleauth . js :777 :44 )
at process . processTicksAndRejections ( node :internal / process / task_queues :95 :5 )
at async GoogleAuth . getUniverseDomain ( / u s r / src/ app / node_modules / . pnpm / google - auth - library @9.3 .0 / node_modules / google - auth - library / build / src / auth / googleauth . js :186 :168 )
at async GoogleAuth . getApplicationDefaultAsync ( / u s r / src/ app / node_modules / . pnpm / google - auth - library @9.3 .0 / node_modules / google - auth - library / build / src / auth / googleauth . js :252 :42 )
at async GoogleAuth . getClient ( / u s r / src/ app / node_modules / . pnpm / google - auth - library @9.3 .0 / node_modules / google - auth - library / build / src / auth / googleauth . js :674 :17 )
at async GrpcClient . _getCredentials ( / u s r / src/ app / node_modules / . pnpm / google - gax @4.0 .5 / node_modules / google - gax / build / src / grpc . js :145 :24 )
at async GrpcClient . createStub ( / u s r / src/ app / node_modules / . pnpm / google - gax @4.0 .5 / node_modules / google - gax / build / src / grpc . js :308 :23 ) Reactions are currently unavailable