-
Notifications
You must be signed in to change notification settings - Fork 370
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
ES6 Suport Broken #2543
Comments
I found a few problems with this issue:
|
My entire team and i also ran into this issue. Been present for at least several weeks if not much longer. It occurs in all our applications using typescript, node.js, and a firebase-admin import. We now have been resorting to adding: tsconfig: |
Hey folks, thanks for reporting this issue! I am having trouble reproducing this... my code seem to build on NodeJS 20.11 with ES6. Are you able to provide us a minimal repro? Thanks! |
This should be fixed in #2614 |
@lahirumaramba When will this make it into a release? Curious if this is what I'm experiencing here: #2639 |
@larssn release was a few days ago, I'm getting the same issue with the new version though as the dependency is still imported it's just marked as optional. Long is imported already by another one of my deps '@apollo/server@"4.10.5' so I'm not sure if that make a difference but it seems the error is coming from:
and not
Is there anyway we can remove the optional dependency or I can exclude it? |
Describe your environment
Steps to reproduce:
When using firebase sdk in an ES6 environment where the tsconfig looks like:
and the package.json is set to
type: "module"
you get the following error with the long module:Relevant Code:
I believe the issue may be this line
firebase-admin-node/src/remote-config/condition-evaluator-internal.ts
Line 29 in 7463d1c
The text was updated successfully, but these errors were encountered: