Skip to content

DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. #914

Open
@mathiasfoster

Description

@mathiasfoster

Bug report

  • [x ] I confirm this is a bug with Supabase, not with my own application.
  • [x ] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

When using Supabase-JS, I get an error about the punycode module being deprecated.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. npm install @supabase/supabase-js
  2. node .
  3. Error: DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
  4. npm ls whatwg-url
  5. Response: @supabase/[email protected]
    │ └─┬ @supabase/[email protected]
    │ └── [email protected]

Expected behavior

No deprecation.

System information

  • OS: WSL2 on Windows 10
  • Version of supabase-js: ^2.38.4
  • Version of Node.js: v21.1.0

Metadata

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