You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node server going down with error:
TypeError: HttpApmClient is not a constructor
0|consults-service.bundle | at createApmClient (/u01/apollo-ms/apollo-hospitals/packages/api/node_modules/elastic-apm-node/lib/apm-client/apm-client.js:40:18)
0|consults-service.bundle | at Agent.start (/u01/apollo-ms/apollo-hospitals/packages/api/node_modules/elastic-apm-node/lib/agent.js:351:21)
0|consults-service.bundle | at Module../src/consults-service/consults-service.ts (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:3522:57)
0|consults-service.bundle | at webpack_require (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:20:30)
0|consults-service.bundle | at /u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:84:18
0|consults-service.bundle | at Object. (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:87:10)
0|consults-service.bundle | at Module._compile (internal/modules/cjs/loader.js:999:30)
0|consults-service.bundle | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
0|consults-service.bundle | at Module.load (internal/modules/cjs/loader.js:863:32)
0|consults-service.bundle | at Function.Module._load (internal/modules/cjs/loader.js:708:14)
0|consults-service.bundle | at /usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/lib/ProcessContainer.js:304:25
0|consults-service.bundle | at wrapper (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/internal/once.js:12:16)
0|consults-service.bundle | at next (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/waterfall.js:96:20)
0|consults-service.bundle | at /usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16
0|consults-service.bundle | at WriteStream. (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/lib/Utility.js:186:13)
0|consults-service.bundle | at WriteStream.emit (events.js:314:20)
^[[1;2B^[[1;2B0|consults-service.bundle | TypeError: HttpApmClient is not a constructor
0|consults-service.bundle | at createApmClient (/u01/apollo-ms/apollo-hospitals/packages/api/node_modules/elastic-apm-node/lib/apm-client/apm-client.js:40:18)
0|consults-service.bundle | at Agent.start (/u01/apollo-ms/apollo-hospitals/packages/api/node_modules/elastic-apm-node/lib/agent.js:351:21)
0|consults-service.bundle | at Module../src/consults-service/consults-service.ts (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:3522:57)
0|consults-service.bundle | at webpack_require (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:20:30)
0|consults-service.bundle | at /u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:84:18
0|consults-service.bundle | at Object. (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:87:10)
0|consults-service.bundle | at Module._compile (internal/modules/cjs/loader.js:999:30)
0|consults-service.bundle | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
0|consults-service.bundle | at Module.load (internal/modules/cjs/loader.js:863:32)
0|consults-service.bundle | at Function.Module._load (internal/modules/cjs/loader.js:708:14)
0|consults-service.bundle | at /usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/lib/ProcessContainer.js:304:25
0|consults-service.bundle | at wrapper (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/internal/once.js:12:16)
0|consults-service.bundle | at next (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/waterfall.js:96:20)
0|consults-service.bundle | at /usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16
0|consults-service.bundle | at WriteStream. (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/lib/Utility.js:186:13)
0|consults-service.bundle | at WriteStream.emit (events.js:314:20)
node version 14.19.1
npm 6.14.16
elastic-apm-node version : 3.49.1
I have checked the code of apm-client but I don't see any issue there. Not sure what is impacting
The text was updated successfully, but these errors were encountered:
Node server going down with error:
TypeError: HttpApmClient is not a constructor
0|consults-service.bundle | at createApmClient (/u01/apollo-ms/apollo-hospitals/packages/api/node_modules/elastic-apm-node/lib/apm-client/apm-client.js:40:18)
0|consults-service.bundle | at Agent.start (/u01/apollo-ms/apollo-hospitals/packages/api/node_modules/elastic-apm-node/lib/agent.js:351:21)
0|consults-service.bundle | at Module../src/consults-service/consults-service.ts (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:3522:57)
0|consults-service.bundle | at webpack_require (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:20:30)
0|consults-service.bundle | at /u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:84:18
0|consults-service.bundle | at Object. (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:87:10)
0|consults-service.bundle | at Module._compile (internal/modules/cjs/loader.js:999:30)
0|consults-service.bundle | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
0|consults-service.bundle | at Module.load (internal/modules/cjs/loader.js:863:32)
0|consults-service.bundle | at Function.Module._load (internal/modules/cjs/loader.js:708:14)
0|consults-service.bundle | at /usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/lib/ProcessContainer.js:304:25
0|consults-service.bundle | at wrapper (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/internal/once.js:12:16)
0|consults-service.bundle | at next (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/waterfall.js:96:20)
0|consults-service.bundle | at /usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16
0|consults-service.bundle | at WriteStream. (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/lib/Utility.js:186:13)
0|consults-service.bundle | at WriteStream.emit (events.js:314:20)
^[[1;2B^[[1;2B0|consults-service.bundle | TypeError: HttpApmClient is not a constructor
0|consults-service.bundle | at createApmClient (/u01/apollo-ms/apollo-hospitals/packages/api/node_modules/elastic-apm-node/lib/apm-client/apm-client.js:40:18)
0|consults-service.bundle | at Agent.start (/u01/apollo-ms/apollo-hospitals/packages/api/node_modules/elastic-apm-node/lib/agent.js:351:21)
0|consults-service.bundle | at Module../src/consults-service/consults-service.ts (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:3522:57)
0|consults-service.bundle | at webpack_require (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:20:30)
0|consults-service.bundle | at /u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:84:18
0|consults-service.bundle | at Object. (/u01/apollo-ms/apollo-hospitals/packages/api/consults-service.bundle.js:87:10)
0|consults-service.bundle | at Module._compile (internal/modules/cjs/loader.js:999:30)
0|consults-service.bundle | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
0|consults-service.bundle | at Module.load (internal/modules/cjs/loader.js:863:32)
0|consults-service.bundle | at Function.Module._load (internal/modules/cjs/loader.js:708:14)
0|consults-service.bundle | at /usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/lib/ProcessContainer.js:304:25
0|consults-service.bundle | at wrapper (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/internal/once.js:12:16)
0|consults-service.bundle | at next (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/waterfall.js:96:20)
0|consults-service.bundle | at /usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16
0|consults-service.bundle | at WriteStream. (/usr/local/nvm/versions/node/v12.22.12/lib/node_modules/pm2/lib/Utility.js:186:13)
0|consults-service.bundle | at WriteStream.emit (events.js:314:20)
node version 14.19.1
npm 6.14.16
elastic-apm-node version : 3.49.1
I have checked the code of apm-client but I don't see any issue there. Not sure what is impacting
The text was updated successfully, but these errors were encountered: