Remix experimental cloudflare pages
See original GitHub issue- Review the documentation: https://docs.clerk.dev/
- Search for existing issues: https://github.com/clerkinc/javascript/issues
- Go through package changelog files.
- Provide the Frontend API key from your application dashboard.
Package + Version
-
@clerk/clerk-js
-
@clerk/clerk-react
-
@clerk/nextjs
-
@clerk/remix
-
@clerk/types
-
@clerk/themes
-
@clerk/clerk-expo
-
@clerk/backend-core
-
@clerk/clerk-sdk-node
-
@clerk/edge
- other:
Version:
1.4.0-staging.4
Browser/OS
If applicable e.g. Chrome latest
Description
I want to get the User
object within a loader.
So i used import {clerk} from "@clerk/remix/experimental/api.server"
.
I receive following error:
Error: Missing Clerk API Key. Go to https://dashboard.clerk.dev and get your Clerk API Key for your instance.
...
I think it is related to follwing file. https://github.com/clerkinc/javascript/blob/f6ef89d301f72efa3d1b1151162d6d17629c64f9/packages/remix/src/experimental/clerk.ts#L5
it works in the rootAuthLoader
because there the variable is read from the context
object.
Am i missing something?
Issue Analytics
- State:
- Created 10 months ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Deploy a Remix site · Cloudflare Pages docs
In this guide, you will create a new Remix application and deploy to Cloudflare Pages. Setting up a new project. Start by...
Read more >Experiments with Remix and Cloudflare Workers - Medium
After building and maintaining single page applications I have grown to miss server side functionality for front-end logic.
Read more >Serverless Remix Sessions with Cloudflare Pages
Using sessions with Remix is a pretty straightforward task. Usually, you put your session data into a...
Read more >Speed Run: Deploying Remix on Cloudflare Pages - YouTube
Deploying a Remix app on Cloudflare Pages is incredibly fast and simple. In just 7:15 I was able to create the app, connect...
Read more >Tag Archives: Full Stack - Noise
Remix is the second framework to integrate natively with full stack Cloudflare Pages, following SvelteKit, which was available at launch. But this is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You are right. We need to fix this tomorrow.
Scratch that, I just saw it says CF pages in the title of the issue. Anyway, I just pushed a PR that should fix this. https://github.com/clerkinc/javascript/pull/593