openBackhaul / RegistryOffice

Apache License 2.0
2 stars 8 forks source link

Accessing non-existent property 'getProfileListAsync' of module exports inside circular dependency #441

Closed PrathibaJee closed 1 year ago

PrathibaJee commented 1 year ago

While starting the application , there is a warning stating the following ,

(node:8784) Warning: Accessing non-existent property 'getProfileListAsync' of module exports inside circular dependency
    at emitCircularRequireWarning (node:internal/modules/cjs/loader:755:11)
    at Object.get (node:internal/modules/cjs/loader:771:5)
TinyApplicationController\version 2.0.1\RegistryOffice\server\node_modules\onf-core-model-ap\applicationPattern\onfModel\models\Profile.js:52:51
    at new Promise (<anonymous>)
TinyApplicationController\version 2.0.1\RegistryOffice\server\node_modules\onf-core-model-ap\applicationPattern\onfModel\models\Profile.js:49:12)
TinyApplicationController\version 2.0.1\RegistryOffice\server\service\individualServices\MonitorTypeApprovalChannel.js:184:53
    at new Promise (<anonymous>)
TinyApplicationController\version 2.0.1\RegistryOffice\server\service\individualServices\MonitorTypeApprovalChannel.js:182:12)
TinyApplicationController\version 2.0.1\RegistryOffice\server\index.js:34:58)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
DanaSunal commented 1 year ago

I fixed this one, as it has the same cause as openBackhaul/TypeApprovalRegister#232