Problem
Fresh installs of @raystack/apsara fail to build since @base-ui/react@1.6.0 was published on 2026-06-18.
Apsara's OTP field component imports OTPFieldPreview from @base-ui/react/otp-field:
[MISSING_EXPORT] Error: "OTPFieldPreview" is not exported by "node_modules/@base-ui/react/otp-field/index.mjs"
base-ui 1.6.0 removed the flat OTPFieldPreview export. The module now only exposes the OTPField namespace. All published apsara versions (up to and including 1.0.1) still use the old import.
Why this hits every consumer
Apsara declares "@base-ui/react": "^1.4.1", so any install without a lockfile pinning an older version resolves to 1.6.0 and breaks. Last working base-ui release is 1.5.0.
Repro
mkdir repro && cd repro && bun init -y
bun add @raystack/apsara react react-dom
# bundle anything importing apsara -> MISSING_EXPORT error above
Suggested fix
Either:
- Update the OTP field component to the base-ui 1.6 API (namespace import), or
- Cap the dependency range:
"@base-ui/react": ">=1.4.1 <1.6" until (1) is done.
Downstream context: this currently breaks @raystack/chronicle fresh installs and its Docker smoke-test CI.
Problem
Fresh installs of
@raystack/apsarafail to build since@base-ui/react@1.6.0was published on 2026-06-18.Apsara's OTP field component imports
OTPFieldPreviewfrom@base-ui/react/otp-field:base-ui 1.6.0 removed the flat
OTPFieldPreviewexport. The module now only exposes theOTPFieldnamespace. All published apsara versions (up to and including 1.0.1) still use the old import.Why this hits every consumer
Apsara declares
"@base-ui/react": "^1.4.1", so any install without a lockfile pinning an older version resolves to 1.6.0 and breaks. Last working base-ui release is 1.5.0.Repro
Suggested fix
Either:
"@base-ui/react": ">=1.4.1 <1.6"until (1) is done.Downstream context: this currently breaks
@raystack/chroniclefresh installs and its Docker smoke-test CI.