Original install method (e.g. download page, yum, deb, from source, etc.) and version:
yarn add elastic-apm-node
Fresh install or upgraded from other version?
Fresh install
Is there anything special in your setup?
No special setup for my side
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
Runtime scripts errors are not tracked in Elastic APM.
Steps to reproduce:
Runtime errors are shown in the browser console
Browser consoles are not tracked in Elastic APM
It's only tracking the Nextjs app core hydration issue only.
Errors in browser console (if relevant):
Failed to load resource: the server responded with a status of 404 (Not Found)
next-dev.js:20 Error: Cannot read properties of undefined (reading 'length')
I'd need more details (full log output, full stacktrace from that Cannot read properties of undefined (reading 'length') error) to be able to help figure out what the issue is.
@prakashks Just that one line of log output isn't enough for me to try to determine where the error could be. Can you provide a more complete log file of the running app?
At a minimum, can you show the full stacktrace? This would be a number of lines before and/or after the next-dev.js:20 Error: Cannot read properties of undefined (reading 'length') line.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.