clerk-react-starter
clerk-react-starter copied to clipboard
Attempted import error: 'SWRConfig' is not exported from 'swr' (imported as 'SWRConfig').
Please help i was trying to start with convex + clerk
terminal logs
> [email protected] dev
> next dev
▲ Next.js 14.2.2
- Local: http://localhost:3000
- Environments: .env.local
✓ Starting...
✓ Ready in 5.5s
○ Compiling / ...
⨯ ./node_modules/@clerk/shared/dist/react/index.mjs
Attempted import error: 'SWRConfig' is not exported from 'swr' (imported as 'SWRConfig').
Import trace for requested module:
./node_modules/@clerk/shared/dist/react/index.mjs
./node_modules/@clerk/clerk-react/dist/index.mjs
./app/layout.tsx
⨯ ./node_modules/@clerk/shared/dist/react/index.mjs
Attempted import error: 'SWRConfig' is not exported from 'swr' (imported as 'SWRConfig').
Import trace for requested module:
./node_modules/@clerk/shared/dist/react/index.mjs
./node_modules/@clerk/clerk-react/dist/index.mjs
./app/layout.tsx
⨯ ./node_modules/@clerk/shared/dist/react/index.mjs
Attempted import error: 'SWRConfig' is not exported from 'swr' (imported as 'SWRConfig').
Import trace for requested module:
./node_modules/@clerk/shared/dist/react/index.mjs
./node_modules/@clerk/clerk-react/dist/index.mjs
./app/layout.tsx
GET / 500 in 25544ms
GET / 500 in 17431ms
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/home/user/chat-app/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/home/user/chat-app/.next/cache/webpack/client-development-fallback/0.pack.gz'
GET / 500 in 36ms
⨯ ./node_modules/@clerk/shared/dist/react/index.mjs
Attempted import error: 'SWRConfig' is not exported from 'swr' (imported as 'SWRConfig').
Import trace for requested module:
./node_modules/@clerk/shared/dist/react/index.mjs
./node_modules/@clerk/clerk-react/dist/index.mjs
./app/layout.tsx
GET /_next/static/webpack/74e029e8f8a4bf70.webpack.hot-update.json 500 in 1276ms
GET /_next/static/webpack/74e029e8f8a4bf70.webpack.hot-update.json 500 in 344ms
⚠ Fast Refresh had to perform a full reload. Read more: https://nextjs.org/docs/messages/fast-refresh-reload
⚠ Fast Refresh had to perform a full reload due to a runtime error.
GET / 500 in 23ms