broad-emeraldB
Refine3y ago
14 replies
broad-emerald

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?
Was this page helpful?