本文主要介紹JavaScript(JS) 中,使用firebase SDK時報錯TypeError: Cannot read properties of undefined (reading 'app')的解決方法。