使用sqlitestorage时Sencha生产生成失败

使用sqlitestorage时Sencha生产生成失败,sqlite,extjs,sencha-touch-2,Sqlite,Extjs,Sencha Touch 2,在app.js文件中,我添加了sqlite文件夹的路径 Ext.Loader.setPath({ 'Ext': 'touch/src', 'ConsultLite': 'app', 'Sqlite': 'sqlite' }); 我的InitSQLite.js文件是 Ext.define('ConsultLite.util.InitSQLite', { singleton : true, requires: [ 'Sqlite.Connection', 'Sq

在app.js文件中,我添加了sqlite文件夹的路径

Ext.Loader.setPath({
    'Ext': 'touch/src',
    'ConsultLite': 'app',
    'Sqlite': 'sqlite'
});
我的InitSQLite.js文件是

Ext.define('ConsultLite.util.InitSQLite', {
singleton : true,
requires: [
   'Sqlite.Connection',
   'Sqlite.data.proxy.SqliteStorage',
   'Ext.data.reader.Array'
],

initDb: function() {
Ext.ns('DbConnection');

this.DbConnection = Ext.create('Sqlite.Connection', {
  dbName: 'ConsultLiteApp',
  dbDescription: 'ConsultLiteApp Database',
  dbVersion: '1.0',
  dbSize: 200000,
});
},

getConnection: function() {
  if(!Ext.isDefined(this.DbConnection)) this.initDb();
  return this.DbConnection;
}
});
我的模型文件中使用了sqllite代理

Ext.define('ConsultLite.model.Credential', {
extend: 'Ext.data.Model',
xtype: 'Credential',
config: {
fields: [
    { name : 'id',  type : 'int' },
    { name: 'email', type: 'string'},
    { name: 'password', type: 'string'}
],
proxy: {
    type: 'sqlitestorage',
    dbConfig: {
        tablename: 'credential',
        dbConn: ConsultLite.util.InitSQLite.getConnection()
    }
   },
  },
});
执行sencha命令后,sencha应用程序生成上述错误