当我用这个命令编译我的电子申请时:
SELECT NOW(); SELECT DATE(NOW()); SELECT DATE_FORMAT(NOW(),'%Y-%m-%d');
然后,我尝试打开创建的可执行文件,我有以下错误:
function igGridBind() {
$("#JournalGrid").igGrid({
dataSourceType: 'json',
dataSource: journals,
primaryKey: "journal_id",
featureChooserIconDisplay: "always",
autoGenerateColumns: false,
autoGenerateLayouts: false,
rowVirtualization: true,
virtualizationMode: "continuous",
autoCommit: true,
width: "100%",
height: "800px",
columns: columns,
features: [
{ name: "Paging", pageSize: 20 },
{
name: 'Updating',
enableAddRow: true,
enableDeleteRow: true,
editMode: 'row',
columnSettings: [
{
columnKey: "journal_gl_chart_id",
editorType: 'combo',
required: true,
editorOptions: {
mode: "dropdown",
dataSourceType: 'json',
dataSource: chartCombo,
textKey: "chart_master_code",
valueKey: "chart_master_id"
}
}
,
{
columnKey: "journal_gl_description",
editorType: 'string',
required: true
}
]
}
]
});
}
知道它可能来自哪里?哪个模块?我该如何解决?
可执行文件实际上在Linux上工作(electron-packager ./dist my-application --overwrite --platform=darwin --arch=x64 --icon=icon.icns
)所以我想这个错误必须链接到MACOS上不支持的模块。