You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```
✘ [ERROR] No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "UNSAFE_convertRouteMatchToUiMatch"
✘ [ERROR] No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "redirectDocument"
✘ [ERROR] No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "UNSAFE_ErrorResponseImpl"
✘ [ERROR] No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "redirectDocument"
[vite] error while updating dependencies:
Error: Build failed with 4 errors:
node_modules/react-auth-kit/node_modules/react-router-dom/dist/index.js:14:95: ERROR: No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "UNSAFE_ErrorResponseImpl"
node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/react-router/dist/index.js:12:143: ERROR: No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "UNSAFE_convertRouteMatchToUiMatch"
node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/react-router/dist/index.js:13:163: ERROR: No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "redirectDocument"
node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/react-router/dist/index.js:13:163: ERROR: No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "redirectDocument"
at failureErrorWithLog (/Users/xxx/work/project/node_modules/esbuild/lib/main.js:1636:15)
at /Users/xxx/work/project/node_modules/esbuild/lib/main.js:1048:25
at /Users/xxx/work/project/node_modules/esbuild/lib/main.js:1512:9
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Thank you for providing a useful library!!
I need to write Routes in jsx to make it compatible with AuthProvider like below??
In react-auth-kit document, it is written as below.
but now I'm using createBrowserRouter intead of BrowserRoute / Routes / Route. like below
this is my package.json
best regards.
✘ [ERROR] No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "redirectDocument"
✘ [ERROR] No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "UNSAFE_ErrorResponseImpl"
✘ [ERROR] No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "redirectDocument"
[vite] error while updating dependencies:
Error: Build failed with 4 errors:
node_modules/react-auth-kit/node_modules/react-router-dom/dist/index.js:14:95: ERROR: No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "UNSAFE_ErrorResponseImpl"
node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/react-router/dist/index.js:12:143: ERROR: No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "UNSAFE_convertRouteMatchToUiMatch"
node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/react-router/dist/index.js:13:163: ERROR: No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "redirectDocument"
node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/react-router/dist/index.js:13:163: ERROR: No matching export in "node_modules/react-auth-kit/node_modules/react-router-dom/node_modules/@remix-run/router/dist/router.js" for import "redirectDocument"
at failureErrorWithLog (/Users/xxx/work/project/node_modules/esbuild/lib/main.js:1636:15)
at /Users/xxx/work/project/node_modules/esbuild/lib/main.js:1048:25
at /Users/xxx/work/project/node_modules/esbuild/lib/main.js:1512:9
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5
Beta Was this translation helpful? Give feedback.
All reactions