firebase / firebaseui-web

FirebaseUI is an open-source JavaScript library for Web that provides simple, customizable UI bindings on top of Firebase SDKs to eliminate boilerplate code and promote best practices.
https://firebase.google.com/
Apache License 2.0
4.58k stars 1.06k forks source link

Electron squirrel windows installer fails due to Material Design Lite dependency - FATAL:v8_initializer.cc(414)] Error loading V8 startup snapshot file #915

Open GitMurf opened 2 years ago

GitMurf commented 2 years ago

[REQUIRED] Describe your environment

[REQUIRED] Describe the problem

Steps to reproduce:

When making an installer package using windows squirrel via electron forge, the installer fails when a user tries to install the electron application on their windows device. The only log that is found is in the app data / local / electron app folder in the file debug.log and it leaves just a single error which is very ambiguous: FATAL:v8_initializer.cc(414)] Error loading V8 startup snapshot file

I have tracked this down to being caused by the dependency Material Design Lite (MDL). It is no longer actively maintained and instead the team is developing its successor Material Components for the web. Can firebaseui be compatible with Material Components to use in place of MDW to avoid this error?

Note that MDL v1.0.6 and earlier do not have this problem but the MDL dependency is 1.2.0. As another workaround, could firebaseui work with MDL v1.0.6?

See this issue I opened with MDL as well: https://github.com/google/material-design-lite/issues/5372

GitMurf commented 2 years ago

Has anyone been able to take a look at this yet? Thanks!

GitMurf commented 2 years ago

Here is an update on the material design repo issues: https://github.com/google/material-design-lite/issues/5372#issuecomment-1098633173