NilsB
NilsB
RRefine
Created by extended-salmon on 3/26/2023 in #ask-any-question
Help with "Failed to resolve '@refinedev/inferencer/mantine"?
Hi, I'm trying to adapt Refine into an existing React project (bundled by Parcel). I'm struggling to import the mantine inferencer, as follows:
@parcel/core: Failed to resolve '@refinedev/inferencer/mantine' from './src/Routes.tsx' [...]/frontend/src/Routes.tsx:13:35 12 | import { Refine } from "@refinedev/core"; 13 | import { MantineInferencer } from "@refinedev/inferencer/mantine"; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I've manually checked and it seems like everything is installed properly in node_modules - package.json and mantine.js look reasonable in the node_module. My editor also wouldn't auto-import the MantineInferencer, so something's off... I'm not sure how to debug this -- any suggestions?
15 replies
RRefine
Created by absent-sapphire on 3/23/2023 in #ask-any-question
Add Refine to an existing React project?
I'm wondering what the best way is to add Refine to an existing project. I tried adding the CLI, yarn add @refinedev/cli, and added a refine script to package.json. But when I run yarn refine, it fails with an error: TypeError: Cannot read properties of undefined (reading 'description') Any suggestions how to integrate refine into an existing app?
59 replies