Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client args type error for GCP #1781

Closed
yugo-ibuki opened this issue Mar 27, 2024 · 4 comments
Closed

Client args type error for GCP #1781

yugo-ibuki opened this issue Mar 27, 2024 · 4 comments
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.

Comments

@yugo-ibuki
Copy link

tried to update 9.6.3 -> 9.7.0.
We've got the error that says TS2322: Type Impersonated is not assignable to type JSONClient | undefined.

On v9.6.3, nothing happens.

スクリーンショット 2024-03-27 15 48 50

On v9.7.0, type error occurs.

スクリーンショット 2024-03-27 15 49 13

Is there anything we should do?

@yugo-ibuki yugo-ibuki added priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue. labels Mar 27, 2024
@danielbankhead
Copy link
Member

Hmmm, do you mind providing the output of npm ls google-auth-library?

@yugo-ibuki
Copy link
Author

@danielbankhead
Thank you for your replying.
Here is the result of npm ls google-auth-library

スクリーンショット 2024-03-28 9 53 33

Our project is structured as Monorepo

@danielbankhead
Copy link
Member

That’s strange; the lower deps were not updated. Do you mind running rm -rf node_modules package-lock.json && npm i in the package’s root directory? Let me know if that resolves it.

@yugo-ibuki
Copy link
Author

That works!
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

2 participants