Firebase hosting is not recognizing the Angular material

113 views
Skip to first unread message

Jayanth Bala

unread,
Jan 14, 2021, 5:31:55 AM1/14/21
to Firebase Google Group
Hi,

Local host is working properly but when i deploy the app in the firebase hosting, it is not recognizing angular material.

attached the both screenshots, kindly, help me with this.



Thanks,
Jayanth

local host.PNG
Firebase hosting.PNG

Michael Bleigh

unread,
Jan 14, 2021, 1:47:43 PM1/14/21
to Firebase Google Group
Look at the Network tab in Chrome DevTools - that should show you which files are failing to load. Something to check is casing of the file names -- macOS (for example) is not case-sensitive but Linux (and Firebase Hosting) are. Make sure the case matches exactly, make sure you're not using relative URLs when you should use absolute, and make sure the relevant CSS files are present in your public directory.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/51633a1e-f240-4707-b7ce-356ddfc24b74n%40googlegroups.com.

Jayanth Bala

unread,
Jan 18, 2021, 5:06:40 AM1/18/21
to fireba...@googlegroups.com
Issue Resolved now,
When i was developing i was using angular v9, i migrated the project to Angular 10. it is resolved. finding this one takes almost 2hrs. 



Thank you for your response. 

You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/4BwE1aZ7GuM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CANPY8KXD396AUg8HnVa8iSbu1YbHws_z2w6T0pD2WntwhpFBVg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages