-
Notifications
You must be signed in to change notification settings - Fork 939
SSR / Compilation / Can't resolve 'google-auth-library' #3542
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
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
I also face the same issue. I use: |
@siva636 In the meantime - waiting for a fix - if you use |
Looks like newer version of the SDK no longer has this problem? At least |
Hi @wu-hui - the newer version of the SDK still has this problem. To fix this issue (or better to say, to put in place a workaround), from version 7.15.2 of the firebase package, you have to modify the The result looks like this:
The root cause of this issue is most probably due to "some agressive tree-shaking somewhere in the ngcc build tooling" as mentioned by @jamesdaniels in this #3541 (comment) PS : from an IT process point of view, I would have not closed this issue as its root cause has not been clearly identified and a proper fix is not in place... ;) |
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
Error when trying to execute
npm run dev:ssr
This problem has started from firebase version 7.15.2 where the grpc-js dependancy version has been modified to ^1.0.0.
Steps to reproduce:
npm install
npm run dev:ssr
The text was updated successfully, but these errors were encountered: