VS2015 - MSOpenTech的Cordova WebSQL插件 - 崩溃 - 'SQLite'未定义

时间:2015-08-06 19:55:49

标签: cordova-plugins visual-studio-cordova

[Database] name: DBname, lastTransactionId: 0. | new Database(); name = DBname    [Database] name: DBname, lastTransactionId: 0. | Database.open() err = {"description":"'SQLite' is undefined","number":-2146823279,"stack":"ReferenceError: 'SQLite' is undefined   at module.exports.getVersion (ms-appx://AppName/www/plugins/cordova-plugin-websql/src/windows/WebSqlProxy.js:23:13)   at module.exports (ms-appx://AppName/www/cordova.js:901:13)   at callback (ms-appx://AppName/www/plugins/cordova-plugin-websql/www/windows/Database.js:50:9)   at cordova.callbackFromNative (ms-appx://AppName/www/cordova.js:291:41)   at cordova.callbackSuccess (ms-appx://AppName/www/cordova.js:271:9)   at onSuccess (ms-appx://AppName/www/cordova.js:874:17)   at module.exports.open (ms-appx://AppName/www/plugins/cordova-plugin-websql/src/windows/WebSqlProxy.js:66:13)   at module.exports (ms-appx://AppName/www/cordova.js:901:13)   at Database (ms-appx://AppName/www/plugi

目标:Windows Phone Universal    db成功打开或创建了-----?!?

1 个答案:

答案 0 :(得分:0)

存储库中的版本存在错误。通过Git安装,而不是https://github.com/MSOpenTech/cordova-plugin-websql/issues/29#issuecomment-138943157