Closed halconel closed 2 years ago
@ogma/nestjs-module
v4 uses @nestjs/common
and @nestjs/core
version 9, as the peerDependencies
mention and as the changeling says.
Is there a version of @ogma/nestjs-module
which works with @nestjs/core
8.4.5?
@ogma/nestjs-module@^3
along with @ogma/platform-*@^3
Briefly
goal was to use ogma in nest js+graphql project
problem I’ve got TypeError
common_1.ConfigurableModuleBuilder is not a constructor
on nest js startupSetup
ogma
logger as shown here: https://github.com/jmcdo29/ogma/tree/main/packages/nestjs-moduleVersions
Error message
TypeError: common_1.ConfigurableModuleBuilder is not a constructor at Object. (/home/dmitriy/workspace/oneclick/looky-api-gateway/node_modules/@ogma/nestjs-module/src/ogma-core.module-definition.js:6:6)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:827:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/dmitriy/workspace/oneclick/looky-api-gateway/node_modules/@ogma/nestjs-module/src/ogma.constants.js:5:39)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)