question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Function calls are not supported in decorators but 'firebase' was called.

See original GitHub issue

I have this config: (Update: Doesn’t show an error when Yahoo’s provider Id is removed) image

And am passing it in here in the App.module.ts imports array: image

Now it runs fine with ng serve but fails during ng build --prod.

the error looks like: image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jek-bao-choocommented, May 21, 2020

@RahulRathodGitHub Can you create a https://stackblitz.com/ instant so that the error can be replicated? It’s hard to figure out the error just with a few screenshot images without knowing the settings and code used.

0reactions
RaphaelJennicommented, Sep 10, 2020

This strongly sounds like a problem of firebaseui itself. The wrapper doesn’t modify any of the provider data. Everything is passed directly to the firebaseui library. If the problem persists, please open an issue there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Function calls are not supported in decorators but ...
I am able to build, run, and deploy the project using ng build. However, when I build using the --prod flag, I get...
Read more >
[Angular 10] - Function calls are not supported in decorators ...
ERROR in Error during template compile of 'AppRoutingModule' Function calls are not supported in decorators but 'NativeScriptRouterModule' was ...
Read more >
Solving AOT Error in NgRx: Function calls are not supported in ...
Function calls are not supported in decorators but 'createAction' was called in 'reducers'. The core explanation for this error is well-covered in the ......
Read more >
Function Calls Are Not Supported In Decorators But ... - ADocLib
I get the following error: ERROR in Error during template compile of 'AppModule' Function calls are not supported in decorators but 'ChartModule' was...
Read more >
Function calls are not supported in decorators but '' was called
I have created an Ionic 5 Angular 10 project and I am importing some animations as I have done for previous projects.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found