更新时间:2023-11-14 15:45:04
这是一个错字.您必须在admin.js中使用 module.exports 而不是 module.export .
module.exports
module.export
It's a typo. You have to use module.exports and not module.export in admin.js.
Passport.js .authenticate()抛出TypeError:未定义不是函数
抛弃函数参数的常量性是未定义行为吗?
未捕获类型错误:未定义不是函数JavaScript模块
“未捕获的TypeError:未定义不是函数" Firebase上的错误