Adapt Remix package to run on Cloudflare Workers
See original GitHub issuePackage
-
@clerk/clerk-js
-
@clerk/clerk-react
-
@clerk/nextjs
-
@clerk/remix
-
@clerk/clerk-expo
-
@clerk/backend-core
-
@clerk/clerk-sdk-node
-
@clerk/edge
- other:
Description
The rootAuthLoader uses http2 which is a node package. Cloudflare Workers does not have access to Node.js packages, just plain javascript. Can this not be changed to fetch?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:21 (10 by maintainers)
Top Results From Across the Web
Deploy a Remix site · Cloudflare Pages docs
Create a new project directory and then intialize a Remix project by running: $ npx create-remix@latest. After running the above command, ...
Read more >Experiments with Remix and Cloudflare Workers
Instead of running an application on a server waiting for requests, each route is defined as a serverless function. When a request is...
Read more >remix-run/cloudflare-workers
Cloudflare worker request handler for Remix. Latest version: 1.9.0, last published: 8 days ago. Start using @remix-run/cloudflare-workers in ...
Read more >Remix Directory
The Remix blog stack for deploying to Fly with MDX, SQLite, testing, linting, formatting, etc. View on GitHub remix-worker-template. cloudflare; tailwind ...
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
Thanks for the update! Not sure if this helps, but CF workers implements the web crypto api and there seems to be something similar to cross-fetch for that use case. https://www.npmjs.com/package/isomorphic-webcrypto
There also seems to be support for the web crypto API in node directly but the earliest LTS with support seems to be 16 https://nodejs.org/api/webcrypto.html#web-crypto-api
Any update on this? Would be good to be finally able use Clerk with Remix and CF Pages. 🙏