如何避免此错误:…18193:27无法打开数据库ReferenceError: sqlitePlugin未定义(…)
setTimeout(function() {
let db = new SQLite();
db.openDatabase({
name: "data.db",
location: "default"
}).then(() => {
db.executeSql("CREATE TABLE IF NOT EXISTS people (id I
Cannot read property 'config' of null
TypeError: Cannot read property 'config' of null
at Class.run (C:\Users\me\AppData\Roaming\npm\node_module
at checkExpressPort.then.then (C:\Users\goldneda\AppData\Roamin
at process._tickCallback (internal/process/next_tick.js:103:7)
我对Ionic Cordova应用程序非常陌生。我正在尝试使用以下命令为android平台构建我的离子应用程序--
ionic cordova build android
但它总是失败,并显示以下错误
ERROR building one of the platforms: TypeError: Cannot read property '1' of null
You may not have the required environment or OS to build this project
Error: Cannot read property '1'
我有一个排行榜命令,可以显示谁在公会中拥有最高的平衡。然而,一个用户的帐户昨天被删除了,现在我的代码出现了问题;因为他过去常常执行work命令来赚钱。现在他走了,我得到了这个错误,TypeError: Cannot read property 'users' of undefined。快速数据库版本:^7.1.1。如果您希望看到完整的代码,请访问。
let user = client.users.cache.get(coins[i].client.users.resolve(id).split('_')
if(user ==