【发布时间】:2022-01-19 17:08:37
【问题描述】:
我设法连接到 Azure 数据库,但在创建表时,服务器失败并出现以下错误:
[path]/node_modules/typeorm/driver/sqlserver/SqlServerQueryRunner.js:2309
if (!dbTables.length)
^
TypeError: Cannot read properties of undefined (reading 'length')
at SqlServerQueryRunner.<anonymous> ([path]/node_modules/typeorm/driver/sqlserver/SqlServerQueryRunner.js:2309:39)
at step ([path/node_modules/tslib/tslib.js:143:27)
at Object.next ([path]/node_modules/tslib/tslib.js:124:57)
at fulfilled ([path]/node_modules/tslib/tslib.js:114:62)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
我试图寻找解决方案,但没有。如果你能帮助我,我将非常感激
【问题讨论】:
标签: javascript database typescript azure typeorm