You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libs/core-services/src/CloudStorageService.ts:36:5 - error TS2322: Type 'Impersonated' is not assignable to type 'AuthClient | GoogleAuth<JSONClient> | undefined'.
Type 'Impersonated' is not assignable to type 'AuthClient'.
Property 'addSharedMetadataHeaders' is protected but type 'AuthClient' is not a class derived from 'AuthClient'.
34 | return new Storage({
35 | projectId: 'YOUR-PROJECT-ID',
> 36 | authClient: impersonated,
| ^
37 | });
38 | };
39 |
Found 1 error.
The text was updated successfully, but these errors were encountered:
@AlexLloyd0 That's fascinating, do you mind sharing the output of npm ls google-auth-library? Additionally does removing node_modules and the package lock make any difference (rm -rf node_modules/ package-lock.json in the package's root directory)?
Workaround
Use an older version of google-auth-library:
"google-auth-library": "^9.4.2 <9.5.0",
Bug report
Environment details
Steps to reproduce
The text was updated successfully, but these errors were encountered: