-
Notifications
You must be signed in to change notification settings - Fork 36
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
[NPM ERROR] Interface 'ServiceOptions' incorrectly extends interface #734
Comments
Having the same issue with the package in firebase cloud functions. |
This is most likely an issue with google-auth-library that was updated yesterday. |
Yes, I also think the same, having the same issue with |
I'm having the same issue. |
👋 for folks having issues, could you provide the output of |
@SametSahin10 @zubairzahoor follow up question, what |
Output of functions@ /home/sametsahin/work/firebase-projects/flambu/functions |
Does my last comment answer this as well? |
@SametSahin10 @zubairzahoor if you remove your I'm keeping this open until the problem is fixed, for now I just rolled back |
Hey everyone! Apologies for the broken builds; the type-related issues should now be resolved via ( |
@danielbankhead I think because of the collision on the key-name What do you think? edit: perhaps as long as all the dependencies are functioning together, we're in okay shape, let's just monitor this closely throughout the day. |
[Synced offline, sharing here for visibility] I think we should be fine, #733 should resolve this, however I'll keep this open and monitor over the next few days. |
@bcoe : Here is the output ├─┬ @google-cloud/logging-winston@4.1.2 |
Hi guys, me output
│ └─┬ ***@***.***
│ ├─┬ @***@***.***
│ │ └─┬ ***@***.***
│ │ └── ***@***.*** deduped
│ └─┬ @***@***.***
│ ├─┬ @***@***.***
│ │ └── ***@***.***
│ └── ***@***.*** deduped
└─┬ ***@***.***
├─┬ @***@***.***
│ ├── ***@***.***
│ └─┬ ***@***.***
│ └── ***@***.*** deduped
└── ***@***.***
Looks like when google-auth-library is a dependency of ***@***.*** is
installing ***@***.*** Good luck!
…On Wed, Feb 23, 2022 at 4:10 PM Daniel Bankhead ***@***.***> wrote:
[*Synced offline, sharing here for visibility*]
I think we should be fine, nodejs-common is the only library in googleapis
<https://github.com/googleapis> with the name collision (others use the
conventional auth param) - and is the only library with issues with the
updated auth library.
#733 <#733> should
resolve this, however I'll keep this open and monitor over the next few
days.
—
Reply to this email directly, view it on GitHub
<#734 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATVDB6KB5DGT7Y3XDBKPCELU4VEL3ANCNFSM5PDMVTGA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@finallyRaunak a clean install (make sure have @google-cloud/common@3.10.0) should address the problem you were seeing. For anyone else bumping into issues, use |
Things are looking stable as of |
I still have a similar issue.
Using Firebase Functions with typeScript. Using the following imports:
Running ´npm ls google-auth-library´ gives me: Tried updating all npm's to latest version. My package.json looks like this:
Adding |
@appfrilans could I bother you to |
Solved it by manually installing @google-cloud/common@3.10.0 with |
@appfrilans great, sorry for the slow response I'm glad you're unblocked 👍 |
For people who arrive here wondering why they can't deploy new Firebase Cloud Functions anymore: It seems to me that For everyone looking to resolve that without using |
Since today, I am unable to build my project with this error. Nothing changed from our side,
Types of property 'authClient' are incompatible.
11:08:51 Type 'GoogleAuth | undefined' is not assignable to type 'JSONClient | undefined'.
11:08:51 node_modules/@google-cloud/common/build/src/util.d.ts(42,18): error TS2430: Interface 'MakeAuthenticatedRequestFactoryConfig' incorrectly extends interface 'GoogleAuthOptions'.
11:08:51 Types of property 'authClient' are incompatible.
11:08:51 Type 'GoogleAuth | undefined' is not assignable to type 'JSONClient | undefined'.
11:08:51 Type 'GoogleAuth' is not assignable to type 'JSONClient | undefined'.
11:08:51 Type 'GoogleAuth' is missing the following properties from type 'JWT': createScoped, getRequestMetadataAsync, fetchIdToken, hasUserScopes
Environment details
@google-cloud/common
version: 3.9.0Steps to reproduce
A simple npm run build causes this.
The text was updated successfully, but these errors were encountered: