Comments (9)
I'm facing the same issue. I'm using the RedirectToSignIn
component, and it does not redirect.
from javascript.
Hi @rodolphoasb. I tested your repo and when I just cloned it, added my own keys (as a secret key is also needed) and ran the app I could see components not rendering. I also noticed that window.Clerk
returned null in the dev console, indicating Clerk hadn't loaded.
The app looked fine. I deleted node_modules and the lock file, then ran pnpm up
to install and upgrade packages and then pnpm dev
to run the app. This resulted in the components rendering and Clerk loading.
Can you test this and see if it works for you? Can you also just update all packages in this repo and see if that helps with using npm
.
from javascript.
@nsb reported that changes to their application resolved this issue, and there is no bug. With no reply from the OP at the this time, I'm going to close this Issue.
from javascript.
Hello, I have the same issue. By looking at the terminal, I see these errors if it can help.
from javascript.
@Kfnig24 it seems like this is related to the optimized-deps
plugin. Could you check if this resolves your issue: vitejs/vite#8749 (comment)
from javascript.
It still doesn't work. It seems to have a problem with react, have an idea why ?
from javascript.
@Kfnig24 Could you share a repo that reproduces the issue to investigate it?
from javascript.
Here a repo: https://github.com/Kfnig24/remix-vite-error.
I let the routes:
- /auth/sign-in
- /auth/sign-up
- /dashboard
Sorry, I can't publish the rest of the code.
from javascript.
@Kfnig24 Sorry for the late response.
Is it possible that you were trying to load the <SignIn />
/ <SignUp />
components but you already had session?
I haven't managed to reproduce your issue. I have cloned the repo, installed dependencies using pnpm install
and run the project using the pnpm dev
(after setting the envs in a .env.local
file). Here are some screenshots from the app running locally:
from javascript.
Related Issues (20)
- The German file does not have the correct Typescipt type. HOT 3
- [beta] 'currentUser' is not exported from '@clerk/nextjs' HOT 3
- NextJS protected admin folder "can't detect usage of authMiddleware()" HOT 4
- Double Quote in ENV VAR cause 500 in NextJS production builds HOT 3
- Setting both the 'Origin' and 'Authorization' headers is forbidden HOT 1
- Slim down on dependencies HOT 2
- TS2688: Cannot find type definition file for 'mime' in @clerk/clerk-sdk-node HOT 7
- A Node.js API is used (setImmediate at line: 51) which is not supported in the Edge Runtime. HOT 11
- [beta] Error in Vercel from `Request` global mismatch HOT 1
- Latest @clerk/nextjs package uses deprecated dependency. HOT 1
- Not able to use intellisense for many items that i was able to use few days ago like SignInButton etc HOT 2
- <OrganizationList /> `afterCreateOrganizationUrl` never called HOT 4
- Next.js latest (14.2.0) + Clerk + tRPC + Turbo - fails "createContext only works in Client Components" HOT 13
- Nextjs 14, docker, production error: Failed to load Clerk
- Clerk wrongly redirects to `/factor-one` route HOT 1
- Remix.run Clerk SDK server functions not returning permissions, roles, organization info, etc... HOT 6
- V5: `OrganizationProfile` throws error upon logout HOT 15
- The ignore option for @clerk/upgrade is ignored HOT 5
- React Native Support HOT 1
- Deprecated prop `afterSignInUrl` at `ClerkContextProvider` instead of `fallbackRedirectUrl` or `forceRedirectUrl` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javascript.