565 questions
-2
votes
1
answer
44
views
My nested remix app flat routes are showing a 404 [closed]
I am building a Shopify App using Remix, Shopify uses flatRoutes and my folder structure is like this
/app/routes/app.discounts._index/route.jsx
/app/routes/app.discounts.$functionId.$id/route.jsx
/...
-1
votes
1
answer
211
views
GraphQL Client Unauthorized (401) when using App Proxy route despite valid session
I'm building a Shopify app using the official @shopify/shopify-app-remix framework with PrismaSessionStorage.
In my App Proxy route, I try to send an authenticated Admin GraphQL request using an ...
68
votes
3
answers
54k
views
"/.well-known/appspecific/com.chrome.devtools.json"' request
I have an app with Remix and Prisma. On the server side console I get this error:
status: 404,
statusText: 'Not Found',
internal: true,
data: 'Error: No route matches URL "/.well- known/...
-1
votes
1
answer
44
views
How to toggle checkbox with disabled JavaScript in RemixJS
Tl, Dr; I want to toggle and submit <input type="checkbox" /> without <button type="submit">
In ReactJS with enabled JavaScript, I can toggle and submit form with ...
0
votes
1
answer
52
views
Remix (React) Waiting for Submit to complete without useMemo
I have a table where the last column is a button that triggers an action which in turn queries the DB, returns a result and downloads the result as a csv. In order for the data to be processed and the ...
0
votes
1
answer
135
views
In my remix Shopify app, the resource picker is throwing an error...how can I resolve this error?
I've tried importing the shopify resource picker from app bridge react and said it didnt exist so I am now trying to import it from app bridge actions library with only slightly more success. It is ...
0
votes
1
answer
45
views
What is the URL path for a dynamic route file named ($locale).jsx in Remix?
I'm building a country selector in my Remix application. When I switch regions from US to SG or vice versa, however, the cart doesn't seem to update the buyer Identity with the change in country (the ...
1
vote
1
answer
92
views
Remix start command vs dev command
I started a Remix tutorial from this link
Basically just ran
npx create-remix@latest
And followed the instructions.
Now in my package.json I see:
"scripts": {
"build": "...
1
vote
1
answer
236
views
Why would the Supabase client cause a MiniOxygen error with "dev" script but work with "preview" script?
In my up to date shopify hydrogen/remix app, I am trying to import the supabase-js package into my server.ts or specific route. When I initialize the createClient function, then run the "shopify ...
0
votes
0
answers
71
views
My remix + prisma application gets 404 on Vercel Deployment
I wanted to try Remix app and Prisma with PostreSQL.
I have developed the project and wanted to publish.
I have followed the docs and send my project to Github. Then in Vercel I followed the publish ...
-3
votes
1
answer
267
views
Response.json not a function (only when deployed to vercel, not on localhost)
I have created a user authenticator when signing up/logging in, and all works perfectly on localhost but I run into a TypeError on my Vercel deployment. This happens when I input invalid data in the ...
0
votes
0
answers
114
views
How to Dynamically Load Translations with i18next Using a Nested Folder Structure?
I'm working on a project that we're using react-i18next remix-spa for localization, and I want to organize my translation files in the following folder structure:
/locales
├── /pages
│ ├── /...
0
votes
0
answers
151
views
How to Deploy a Shopify Remix App on DigitalOcean?
I'm trying to deploy my Shopify app built with Remix.run on DigitalOcean, but I'm running into issues during deployment. Here's what I'm using:
App Framework: Remix.run
Backend: Shopify Admin API
...
-1
votes
1
answer
53
views
Passing component from loader?
I want to use MDX for my project, but as I am getting my data (in markdown) via API, I can't just import it, I have to parse it in my app.
For this, I've made a function that'll take the raw markdown ...
0
votes
1
answer
94
views
Override style attribute in NextUI NavBar component
Problem
I cannot modify the style="--navbar-height: 4rem;" attribute on my NextUI Navbar component in my Remix app, which is breaking my setup. Although this is my first encounter with this, ...
0
votes
0
answers
66
views
Persisting useActionData After URL Updates in Remix
I am using actions to get some form data in my component. However, this data from useActionData is not getting persisted in the component when I set a new searchParams using the setSearchParams ...
5
votes
3
answers
12k
views
React Router Future Flag Warning in Remix Vite app
I'm using Remix with a modern npx create-remix@latest (cloudflare) template. It uses React router under the hood (Remix does), but I don't explicitly use React router anywhere in my code.
Now I get ...
2
votes
0
answers
389
views
Cannot make Remix working with @module-federation/vite
I am trying to create a Proof of Concept of a federated app, that is a microfrontend based app, where:
the host is a Remix app, which federation is configured using @module-federation/vite
the remote ...
0
votes
0
answers
20
views
How do I prevent an infinite loading loop in the AuthProvider using Firebase? [duplicate]
I am working on a project with Remix, Firebase and Chakra, and I am trying to fix an issue where my project is briefly flashing unstyled HTML (FOUC) when navigating pages.
I think the issue arises ...
2
votes
1
answer
908
views
React Router v7, Supabase Oauth: OAuth error: AuthApiError: invalid request: both auth code and code verifier should be non-empty
I am trying to implement oAuth (Github in this case) in my React Router V7 app using Supabase.
This is my signup action:
export const signupWithOAuth = async ({
request,
provider,
}: {
provider: ...
1
vote
2
answers
631
views
Does Remix share the same QueryClient between server and client for data caching using Tanstack React Query?
I'm working on a Remix application and trying to implement data caching using React Query's QueryClient. I want to ensure that both the server and client share the same instance of QueryClient to ...
0
votes
1
answer
94
views
Using oslo/password on a remix gave me a vitejs error
It looks like vitejs cannot handle some oslo dependencies, it gives me this error:
✘ [ERROR] No loader is configured for ".node" files: node_modules/@node-rs/argon2-darwin-arm64/argon2....
0
votes
3
answers
768
views
How to redirect users to Shopify plan page in a Shopify App using Remix?
I'm developing a Shopify app using Remix, and I want to redirect users to the pricing plan page I've set up for my app in the Shopify admin.
Here's the plan page link: https://admin.shopify.com/store/{...
0
votes
1
answer
178
views
How to download in action Resource route remix?
I have follow the guide from remix-run but fail to generate a download file.
I have checked guide from both stackoverflow :
Remix: file download
How to return a plain text or css file from remix route?...
0
votes
1
answer
596
views
How to fire off multiple actions in Remix?
My use case is a command bar for a chat app.
A single command might need to call several actions.
A pseudo code for what I am doing today is something like this...
const fetcher = useFetcher();
...