do not work in next.js
Describe the bug
live-metrics.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'pageAgent') at m.enable (live-metrics.js:1:6971) at async m.targetAdded (live-metrics.js:1:6233)
Steps to reproduce
No response
System Info
System:
OS: macOS 15.4
CPU: (8) arm64 Apple M3
Memory: 1.23 GB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.16.0 - /usr/local/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 10.8.1 - /usr/local/bin/npm
pnpm: 10.7.0 - ~/Library/pnpm/pnpm
Watchman: 2025.04.28.00 - /opt/homebrew/bin/watchman
npmPackages:
node-network-devtools: ^1.0.26 => 1.0.26
Logs
No response
let me check
This seems to be a defect caused by a Chrome browser update, and I am trying to fix it
This seems to be a defect caused by a Chrome browser update, and I am trying to fix it
thanks !
Obviously, this is a troublesome issue, so I first sought help from the Chromium developer community. Next, I will try to directly adapt to the network devtools supported after node 22.6.
This issue has been fixed in v1.0.27