Refine

R

Refine

Join the community to ask questions about Refine and get answers from other members.

Join
Ffair-rose4/18/2024

im getting ```ERROR in ./node_modules/@

im getting ```ERROR in ./node_modules/@refinedev/mui/dist/index.mjs 14:0-37 Module not found: Error: Can't resolve '@mui/material/Box' in 'xxxx/node_modules/@refinedev/mui/dist' Did you mean 'index.js'? BREAKING CHANGE: The request '@mui/material/Box' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"')....
Ffascinating-indigo4/18/2024

I am not clear . What I am trying to do

I am not clear . What I am trying to do is use the template and link it to my own database . Preferably a headless cms
Vvicious-gold4/18/2024

So if you want your team to go full

So if you want your team to go full refine for all new projects is it just best to go with Vite?
Ooptimistic-gold4/18/2024

Actually, i think i found out why.

Actually, i think i found out why. useTable from import { useTable } from "@refinedev/react-table"; is not SSR compatible
Ooptimistic-gold4/17/2024

Error - Pastebin.com

I have been trying to fix this for 6 hours https://pastebin.com/HJfEwNjZ Can't figure it out. i get this error ...
Eevolutionary-blush4/17/2024

Has anyone had success integrating

Has anyone had success integrating Refine with Next.js (v14) and Chakra UI? I'm currently stuck on this.
Ooptimistic-gold4/16/2024

i have a refine + nextjs + shadcn

i have a refine + nextjs + shadcn project, very basic as it's new. I added a new resource and basically copied the resource from Blog posts which seems to work fine, but as soon as i add my own useTable replacing the blogposts useTable, i get an error saying useTable is not a function..
Sstormy-gold4/5/2024

[FEAT] Codegen with OpenAPI · Issue #562...

Hey, interested in this one as well https://github.com/refinedev/refine/issues/5623 if there was someway to consume the service method signatures. @Batu mentioned some ideas on the ticket in the road map? Maybe there is some clever way thought up by the refine team.
Fforeign-sapphire4/1/2024

hey guys, i need a help for creating

hey guys, i need a help for creating dockerfile with nginx configuration for refinedev nestjs. is anyone did this before? im struck in nginx conf when i use normal dockerfile with yarn start it works fine
Ooptimistic-gold3/28/2024

are we supposed to have the database

are we supposed to have the database structure already made with our relations and tables? or how does this integrate with a backend or data provider such as supabase or pocketbase? how does refine know where to create the table, how to create relations. etc..
Aadverse-sapphire3/24/2024

I just have a question why the vite

I just have a question why the vite template doesn't include i18n when using the CLI?
Ccontinuing-cyan3/22/2024

Hello. My name is Mateo. Handle is

Hello. My name is Mateo. Handle is Flutterbots. I was introduced to Refine.dev and cannot believe it. Nice work! We're currently using Angular but I'm a React developer. I'm a technical lead at my company and I am working on a POC to see if Refine will work as the architecture for our product. I'm following the example on the website for the authentication piece but I'm getting this error: "Warning: validateDOMNesting(...): <form> cannot appear as a descendant of <form>." Looking for help to ge...
Ffrail-apricot3/21/2024

Hi, I'm stuck while trying to re create

Hi, I'm stuck while trying to re create the backend for the CRM example (really don't understand wjhy the team is reluctant to make it public). Could someone help me out with it, please?
Ffair-rose3/20/2024

hi guys, any official Example repos

hi guys, any official Example repos involving the following stack with refine? Ant Design + Supabase + Next.js?
Ffirm-tan3/19/2024

Another question - one that seems like

Another question - one that seems like it should be way simpler. I'm trying to create a component that will send a custom query up to my backend server every time the user performs a search on an ant design <Search> field. But I'm running into an error currently of "Invalid hook call. Hooks can only be called inside the body of a function". Code is below: ```import { useCustom, useOne } from "@refinedev/core" import { Col, Input, Row } from "antd" import { API_BASE_URL } from "../../providers";...
Ffirm-tan3/19/2024

Hello, I originally asked this question

Hello, I originally asked this question to kapa, which suggested I reach out to the wider community: I want to create a dynamic list of resources available to the user at login time by fetching a list of their permissions from a backend server. Is there a way to add resources to the IResourceItem list provided to the <Refine> tag after its instantiation? Or to not provide a resources property to <Refine> initially and then set it later? The goal is to dynamically construct the menu options for a <ThemedLayoutV2> component as well as setup the associated routes based on user permissions with a call to my data provider....
Mmetropolitan-bronze3/19/2024

Hi! Can somebody help with one thing

Hi! Can somebody help with one thing that I couldn't resolve with kapa? In my app I have an accessControlProvider, and it works fine with all the resources and actions. The problem is with the routes that are not asociated with a resource or with an action that is not in the default list, for example I have created a custom route, that has nothing to do with any resource, and when I access to this route, my can function is executed with undefined resource and empty action. How can I to avoid to run the can function in this case? or how can I receive the correct action or resource? right now I edited my can function to return {can: true} if the action is not in ["list", "create", "edit", "show", "delete"] but I think that is not the best behavior. Thanks!...
Nnational-gold3/18/2024

Hey, how do you run cypress tests in

Hey, how do you run cypress tests in refine/examples? When I try to run cypress in any example, I get same error as in issue https://github.com/cypress-io/cypress/issues/8599. I managed to solve it by: 1. exporting refine/cypress/support/e2e.ts 2. creating fixCypress.ts in refine/examples/specific-example and importing mentioned export...
Sstormy-gold3/13/2024

Hello! I'm trying to be a good Refine

Hello! I'm trying to be a good Refine citizen and go through the proper channels. I had a refine-specific question and asked in the ask-any-question channel, but the bot was unable to resolve my issue. Is there a respectable way to try and escalate a question to a real person? I see the questions channel was archived.
Rrising-crimson3/10/2024

Button click not working

Hello All, I have a form that suddenly doesn' t work I have been upgrading the project to 4 and am pretty sure it was working after a upgrade for a while. Clicking the button doesn't do anything at all.
```jsx return (...
Next