Skip to content

Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows #1879

@jlemonz

Description

@jlemonz

Describe the bug

“Using the latest version (2.84.0) causes the error and also breaks Supabase on Vercel. When I override the package to @supabase/supabase-js version 2.81.1, the error disappears.” See screenhot. Is a breaking bug.

Image

Image

Library affected

supabase-js

Reproduction

install latest version and run on windows or vercel.

Steps to reproduce

lastest version and install on vercel and call the module.

System Info

System:
    OS: Windows 11 10.0.26200
    CPU: (16) x64 AMD Ryzen 7 2700X Eight-Core Processor
    Memory: 2.84 GB / 15.93 GB
  Binaries:
    Node: 24.4.1 - C:\Program Files\nodejs\node.EXE
    npm: 11.4.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 10.21.0 - C:\Users\jorva\AppData\Local\pnpm\pnpm.CMD
  Browsers:
    Chrome: 142.0.7444.176
    Edge: Chromium (141.0.3537.85)
    Firefox: 89.0.2 - C:\Program Files\Mozilla Firefox\firefox.exe
    Internet Explorer: 11.0.26100.1882

Used Package Manager

pnpm

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsupabase-jsRelated to the supabase-js library.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions