stormy-gold
stormy-gold•2y ago

Getting Error when using buildin hooks in my custom hook.

I tried to use the useResource hook inside my custom hook. but getting this error. I am using the fork repo and use the start command with (refine-core, core-use-select example and refine-react-router-dom) scopes
No description
No description
5 Replies
Omer
Omer•2y ago
Hey @sebabratakundu , Could you try re-install npm packages?
stormy-gold
stormy-gold•2y ago
on the root?
npm run bootstrap
npm run bootstrap
Omer
Omer•2y ago
Contributing | refine
We follow a code of conduct when participating in the community. Please read it before you make any contributions.
stormy-gold
stormy-gold•2y ago
already did, let me try it once again I got it. I was using the wrong path. it should be
import {useResource} from @hooks/resource
import {useResource} from @hooks/resource
thanks anyway
Omer
Omer•2y ago
🚀