Closed
Description
Node.js Version: 10.15.3
Operating System: Windows
Steps to Produce Error:
Just including the opossum library in our SSR application causes:
processStartTime.js?43bd:4 Uncaught TypeError: process.uptime is not a function
at Object.eval (processStartTime.js?43bd:4)
at eval (processStartTime.js:30)
at Object.../../packages/bonnet/node_modules/prom-client/lib/metrics/processStartTime.js (client.js:4939)
at __webpack_require__ (client.js:770)
at fn (client.js:130)
at eval (defaultMetrics.js?9dd3:4)
at Object.../../packages/bonnet/node_modules/prom-client/lib/defaultMetrics.js (client.js:4731)
at __webpack_require__ (client.js:770)
at fn (client.js:130)
at eval (index.js?875d:22
)
No actual circuit breaker has been defined yet.
From a new relic post
https://discuss.newrelic.com/t/process-uptime-is-not-a-function/65486
It appears there is server-side code being called in our clietn bundle now. Any resolutions?
Metadata
Assignees
Labels
No labels