Skip to content

hmr logs out NaNms on first load #79279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
damiensedgwick opened this issue May 16, 2025 · 0 comments · May be fixed by #79276 or #79294
Open

hmr logs out NaNms on first load #79279

damiensedgwick opened this issue May 16, 2025 · 0 comments · May be fixed by #79276 or #79294

Comments

@damiensedgwick
Copy link
Contributor

Link to the code that reproduces this issue

https://github.com/damiensedgwick/hmr-nan-repro

To Reproduce

  1. Start the development server
  2. Open the devtools on your chosen browser
  3. Visit localhost
  4. On first load, the hmr module will report that it took NaNms

Current vs. Expected behavior

Currently displays NaNms

I would expect that if latencyMs is not a number, that it should not be logged out.

Image

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.4.0: Fri Apr 11 18:32:50 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T6041
  Available memory (MB): 24576
  Available CPU cores: 12
Binaries:
  Node: 22.14.0
  npm: 10.9.2
  Yarn: N/A
  pnpm: 10.10.0
Relevant Packages:
  next: 15.3.2 // Latest available version is detected (15.3.2).
  eslint-config-next: 15.3.2
  react: 19.1.0
  react-dom: 19.1.0
  typescript: 5.8.3
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Not sure

Which stage(s) are affected? (Select all that apply)

next dev (local)

Additional context

No response

@damiensedgwick damiensedgwick linked a pull request May 16, 2025 that will close this issue
@icyJoseph icyJoseph linked a pull request May 19, 2025 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant