Skip to content

On the custom server, DeprecationWarning: url.parse() warning! #83183

@dincerpece

Description

@dincerpece

Link to the code that reproduces this issue

https://github.com/dincerpece/custom-server-warning-feedback

To Reproduce

"custom-server-dev": "npx tsx nextjs-server/index.ts"

Since the release of Node.js 24.7.0 on August 27th, I’ve been getting a warning.
My previous nodejs version was 23.11.1 without any problems

Image Image Image Image

Current vs. Expected behavior

I received a warning when working with a custom server after NodeJS 24.7.0. The project is running, but I receive a warning. I only receive this warning when working with a custom server. I receive this warning with the example on the NextJS website!

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
  Available memory (MB): 32607
  Available CPU cores: 16
Binaries:
  Node: 24.7.0
  npm: 11.1.0
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  next: 15.5.1-canary.16 // Latest available version is detected (15.5.1-canary.16).
  eslint-config-next: 15.5.1-canary.16
  react: 19.1.0
  react-dom: 19.1.0
  typescript: 5.9.2
Next.js Config:
  output: N/A

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

Runtime, Performance, Not sure

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

next dev (local), next start (local)

Additional context

When I received this warning in my own project, I tried a clean project and received the warning again, both in dev and production. Using the example on the Nextjs website, I received this warning on a custom server with NodeJS 24.7.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PerformanceAnything with regards to Next.js performance.RuntimeRelated to Node.js or Edge Runtime with Next.js.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions