Skip to content

Bug: Runtime expo-secure-store error on 0.30.0 #212

@hanneswidrig

Description

@hanneswidrig

Prerequisites

Describe the issue

Using pnpm in a TanStack Start application, and when I updated to the latest version of @kinde-oss/kinde-auth-react (5.11.1), it also upgraded @kinde/js-utils. After the update, I started experiencing a runtime error.

This happens when running on @kinde-oss/kinde-auth-react@5.11.1 but not @kinde-oss/kinde-auth-react@5.11.0. I'm not using expo-secure-store anywhere in my application.

Error: Could not resolve "expo-secure-store" imported by "@kinde/js-utils".
    at file:///Users/hannes.widrig/.../.output/server/_libs/@kinde-oss/kinde-auth-react+%5B...%5D.mjs:1369:7
    ... 2 lines matching cause stack trace ...
    at async file:///Users/hannes.widrig/.../node_modules/.pnpm/nitro@3.0.260311-beta_dotenv@17.4.2_jiti@2.6.1_vite@8.0.8_@types+node@25.6.0_esbuild@0.27.7_jiti@2.6.1_tsx@4.21.0_/node_modules/nitro/dist/vite.mjs:457:33

Library URL

https://github.com/kinde-oss/js-utils

Library version

0.30.0

Operating system(s)

macOS

Operating system version(s)

26

Further environment details

Node 24, pnpm 10, TanStack Start RC, Vite 8.

Reproducible test case URL

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions