Skip to content

Npm script dev doesn't display local url and network setting when using Node 18 #4777

@hanszoons

Description

@hanszoons

Describe the bug

When using Node 18, the local url and network parameter is missing in the terminal response:

Schermafbeelding 2022-04-29 om 13 59 58

On older versions of Node up to the latest 17 it displays as expected.

Schermafbeelding 2022-04-29 om 14 03 55

Reproduction

Run npm run dev when using Node 18.

Logs

No response

System Info

System:
    OS: macOS 12.2.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 1.98 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.0.0 - ~/.nvm/versions/node/v18.0.0/bin/node
    npm: 8.6.0 - ~/.nvm/versions/node/v18.0.0/bin/npm
  Browsers:
    Chrome: 99.0.4844.51
    Chrome Canary: 101.0.4936.0
    Firefox: 94.0.1
    Safari: 15.3
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.40 
    @sveltejs/adapter-node: ^1.0.0-next.73 => 1.0.0-next.73 
    @sveltejs/kit: next => 1.0.0-next.324 
    svelte: ^3.44.0 => 3.47.0

Severity

serious, but I can work around it

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions