-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate
- I have checked the latest version of the library to replicate my issue
- I have read the contributing guidelines
- I agree to the terms within the code of conduct
Describe the issue
Hi,
I am in the process of upgrading my app to React Router 7 from Remix v2. According to the Remix author, it shouldn't be a breaking change as Remix effectively just wraps React Router at this point. After the upgrade, I am getting this error:
10:40:39 PM [vite] Error when evaluating SSR module /app/utils/_kinde.server.ts: failed to import "@kinde-oss/kinde-remix-sdk"
|- Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@remix-run/node' imported from /Users/simon/dev/amaru-web/node_modules/@kinde-oss/kinde-remix-sdk/dist/index.js
at packageResolve (node:internal/modules/esm/resolve:844:9)
at moduleResolve (node:internal/modules/esm/resolve:901:20)
at defaultResolve (node:internal/modules/esm/resolve:1121:11)
at nextResolve (node:internal/modules/esm/hooks:865:28)
at resolveBase (file:///Users/simon/dev/amaru-web/node_modules/tsx/dist/esm/index.mjs?1739767225955:2:3212)
at resolveDirectory (file:///Users/simon/dev/amaru-web/node_modules/tsx/dist/esm/index.mjs?1739767225955:2:3584)
at resolveTsPaths (file:///Users/simon/dev/amaru-web/node_modules/tsx/dist/esm/index.mjs?1739767225955:2:4073)
at resolve (file:///Users/simon/dev/amaru-web/node_modules/tsx/dist/esm/index.mjs?1739767225955:2:4447)
at nextResolve (node:internal/modules/esm/hooks:865:28)
at Hooks.resolve (node:internal/modules/esm/hooks:303:30)
Is there a recommended approach for this upgrade? I assume it shouldn't be a huge issue to upgrade this package or maybe create another one specifically for React Router, maybe just the imports need to be updated? Any help would be appreciated!
Simon
Library URL
https://github.com/kinde-oss/kinde-remix-sdk
Library version
1.1.3
Operating system(s)
macOS
Operating system version(s)
Latest
Further environment details
No response
Reproducible test case URL
No response
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working