Skip to content

[Bug]: DeprecationWarning: The punycode module is deprecated #14

Open
@skitscha

Description

Describe the bug

Looks like one of the dependencies need to be updated to fix the punycode deprecation warning when using newer versions of node.

(node:41209) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
    at node:punycode:3:9
    at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:399:7)
    at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:338:10)
    at loadBuiltinModule (node:internal/modules/helpers:112:7)
    at Function._load (node:internal/modules/cjs/loader:1100:17)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
    at Module.require (node:internal/modules/cjs/loader:1340:12)
    at require (node:internal/modules/helpers:138:16)
    at /node_modules/@storybook/addon-webpack5-compiler-swc/dist/preset.cjs:277:275944

Environment

  • OS: Mac
  • Node.js version:22.12
  • NPM version: [e.g. 6.14.4]

Additional context

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions