import var firebaseui = require('firebaseui');错误窗口未定义

时间:2019-10-15 02:31:23

标签: node.js firebase npm firebaseui

在我的项目中导入firebaseui时未定义错误窗口

var firebaseui = require('firebaseui');

\ node_modules \ firebaseui \ dist \ npm.js:30 componentHandler [“ register”] = componentHandler.register; componentHandler [“ downgradeElements”] = componentHandler.downgradeElements; window.componentHandler = componentHandler; window [“ componentHandler”] = componentHandler;

1 个答案:

答案 0 :(得分:0)

firebaseui为在浏览器中运行的Web应用程序提供UI组件。它不支持node.js。