Skip to content

Module import/export mismatch #1955

@shubham-jasani

Description

@shubham-jasani

Describe the bug

@supabase/supabase-js is trying to import from ../module/index.js
It expects a default export, but can't find one, app goes stuck

Library affected

supabase-js

Reproduction

No response

Steps to reproduce

Just install the not module with latest version.

System Info

System:
    OS: macOS 15.6.1
    CPU: (8) arm64 Apple M2
    Memory: 101.81 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.18.0 - /Users/shubhamjasani/.nvm/versions/node/v20.18.0/bin/node
    npm: 10.8.2 - /Users/shubhamjasani/.nvm/versions/node/v20.18.0/bin/npm
    pnpm: 10.7.0 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 143.0.7499.110
    Safari: 18.6
  npmPackages:
    @supabase/ssr: ^0.5.0 => 0.5.0 
    @supabase/supabase-js: ^2.45.0 => 2.45.0

Used Package Manager

npm

Logs

No response

Validations

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingretry with latestUsers should retry with latest version of the SDK.supabase-jsRelated to the supabase-js library.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions