All Questions
55 questions
1
vote
1
answer
902
views
Vite build hangs after npm run build despite successful build message (Remix)
My docker build hung after it says it was successfully built. I've tried just about everything but my options are limited because it's rather difficult to find any errors. Here's the build log:
docker ...
0
votes
0
answers
99
views
Uploading files in Remix gives me a file return type of application/octet-stream
I am following the remix guide on how to upload files from a form. https://remix.run/docs/en/main/utils/unstable-create-file-upload-handler.
In my action I have a file uploader that looks like so,
...
4
votes
3
answers
2k
views
nodejs_compat is not working on Cloudflare Pages
I deploy Remix to Cloudflare Pages with Remix official Cloudflare template.
All went well until I added jsonwebtoken package. It shows Could not resolve "crypto" as well as "stream"...
0
votes
0
answers
136
views
Error [ERR_REQUIRE_ESM]: require() of ES Module not supported when using mdxeditor and several React components
I am building a remix-run application wherein I want to use a react markdown editor component, such as mdx-editor in a one of my routes. When I insert this editor in my application
<MDXEditor ...
1
vote
1
answer
329
views
Remix run: Authentication succeeds on validation failures
I am trying to validate the login information. If the login fields are empty or have wrong information, I should be able to return the user back to login with an error displayed beneath fields. ...
0
votes
0
answers
56
views
Problem in login with firebase and admin sdk
We use the firebase athentification to login and check the session of user. But we d'ont know why, the serveur make a 500 code error.
In the web, we have this:
POST https://www.falc-on.fr/login?_data=...
0
votes
1
answer
103
views
Remix with remix-flat-routes: Redirect does not work when navigating to slug route
I have a form where you submit the ID of a record. The action validates the input and returns a redirect to the child page that loads the details of the record. The file structure looks like this:
...
0
votes
1
answer
131
views
remix-run: application crashes on unhandled promise rejection in deferred data #9340
I just can't figure it out. When I throw error at the deferred data application crashes with below error.
If I simply return an error Response or catch the promise, then the @remix-run/react/Await ...
1
vote
0
answers
337
views
remix-run (node.js) drizzle-orm multi-tenancy
So I have a main database where I store users, tenants, contstants etc. And multiple schemas to store tenant data separately. I'm using remix.
Case 1: If I don't store the connection in memory, it ...
0
votes
1
answer
498
views
using npx remix vite:build unexpected token ? due to "??"
This may be similar to npx hardhat compile Unexpected token?
I'm using Node 20.12 and npm 10.5. I'm going through the Quick start for Remix as I start a new project learning React and Remix. When I ...
0
votes
1
answer
2k
views
Remix Vite base not reading asset or public path correctly in deep subpaths url with Kong Gateway
Hello brothers and sisters,
I'm currently exploring how to deploy Remix Vite to my server and just found out that Vite "base" config have 1 major problem (in my case). So I've been reading ...
-1
votes
1
answer
168
views
remix vite:build works fine on macOS, stalls at ✓ 1311 modules transformed. when moving to linux server
My remix app was using classic build, I've migrated to vite, and all is fine on my macOS development machine. When moving to the Linux server, I do
remix Vite:build and it stalls at
"✓ 1311 ...
1
vote
1
answer
2k
views
Could not resolve "stream" error nodeJS in remix JS with "npm run dev" command
2 days ago i erased my node_modules folder to erase an error but another one more problematic showed up when reinstalling the folder.
When entering the command "npm run dev" this is what i ...
1
vote
1
answer
1k
views
remix - npm run dev stuck on built
When I run npm run dev on a remix project (default template used), I am noticing that my build gets stuck on the step of built.
Version of remix used,
"@remix-run/node": "^2.5.1",
...
1
vote
1
answer
496
views
Remix session is not persisting on page refresh
I am having an issue where Remix is not persisting the session when the page is refreshed or the user navigates to a new child route. I have looked through other issues and unfortunately, the ...