Skip to content

Error when trying to run the Front-end Dev Server #12391

Closed Answered by zhaojj2209
aorlandou asked this question in Help requests
Discussion options

You must be logged in to vote

From this part of the error message:

src/web/app/app.module.ts:178:5
    178     environment.allowFirebaseLogin && environment.firebaseConfig?.projectId
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Unable to evaluate this expression statically.
  src/web/app/app.module.ts:178:39
    178     environment.allowFirebaseLogin && environment.firebaseConfig?.projectId
                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Unable to evaluate statically.

It seems that your web dev environment does not have the firebaseConfig attribute. This is because the addition of firebase auth in a recent release has made changes to s…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@wkurniawan07
Comment options

@aorlandou
Comment options

@wkurniawan07
Comment options

@zhaojj2209
Comment options

Answer selected by aorlandou
@aorlandou
Comment options

@wkurniawan07
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #12390 on April 18, 2023 14:27.