Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

请问一体化项目的后端是否支持单文件构建部署? #248

@dainyzyg

Description

@dainyzyg

我按照官方文档标准化项目中的单文件构建部署方式尝试构建midway hooks一体化项目,报错如下:
ERROR 25248 MidwayDefinitionNotFoundError: MidwayKoaFramework is not valid in current context at MidwayContainer.getAsync (C:\Code\online-learning\node_modules\@midwayjs\core\dist\context\container.js:425:19) at MidwayFrameworkService.init (C:\Code\online-learning\node_modules\@midwayjs\core\dist\service\frameworkService.js:58:73) at ObjectCreator.doInitAsync (C:\Code\online-learning\node_modules\@midwayjs\core\dist\definitions\objectCreator.js:111:30) at ManagedResolverFactory.createAsync (C:\Code\online-learning\node_modules\@midwayjs\core\dist\context\managedResolverFactory.js:242:34) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async initializeGlobalApplicationContext (C:\Code\online-learning\node_modules\@midwayjs\core\dist\setup.js:99:5) at async BootstrapStarter.init (C:\Code\online-learning\node_modules\@midwayjs\bootstrap\dist\bootstrap.js:27:35) at async Function.run (C:\Code\online-learning\node_modules\@midwayjs\bootstrap\dist\bootstrap.js:102:35) { code: 'MIDWAY_10003', cause: undefined, [Symbol(#NotFoundError)]: Symbol(#NotFoundError) }
请问一体化项目的后端是否支持单文件构建部署?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions