草庐IT

javascript - 是什么导致 TypeError : Expected `input` to be a `Function` or `Object` issue with gtoken and pify?

我正在尝试将FirebaseRemoteConfig集成到我的Cordova应用程序中,以强制用户在拥有最低版本时进行更新,但导入包会导致错误。它不能在代码中,因为错误是在代码运行之前抛出的,只是通过导入包。TypeError:Expected`input`tobea`Function`or`Object`,got`undefined`at./node_modules/gtoken/node_modules/pify/index.js.module.exports(index.js:45)atObject../node_modules/gtoken/build/src/index.js