无法运行 npx mikro-orm 迁移:创建 >>以下 ben Awad 教程

这是我尝试运行此 npx mikro-orm 迁移时遇到的错误:create

SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile (internal/modules/cjs/loader.js:1049:27)
at Module.m._compile (C:\Users\fight\Desktop\LIREDDIT-SERVER\node_modules\ts-node\src\index.ts:1225:23)
at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Object.require.extensions.<computed> [as .ts] (C:\Users\fight\Desktop\LIREDDIT-SERVER\node_modules\ts-node\src\index.ts:1228:12)
hao0303hao 回答:无法运行 npx mikro-orm 迁移:创建 >>以下 ben Awad 教程

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/998.html

大家都在问