flat-fuchsia
flat-fuchsia11mo ago

Error with refinedev node_modules

with the node_module refinedev i kept receiving this error: Unable to read file 'c:/Users/anime/OneDrive/Scipts/2024/Personal/Bootcamps/Js-Mastery/vite-dashboard-app/node_modules/tsconfig.build.json'.ts and on the frontend i am receiving this error: useKBar.js:38 Uncaught TypeError: getState is not a function at useKBar (useKBar.js:38:98) at KBarPortal (KBarPortal.js:29:33) at renderWithHooks (react-dom.development.js:16305:18) at mountIndeterminateComponent (react-dom.development.js:20074:13) at beginWork (react-dom.development.js:21587:16) at HTMLUnknownElement.callCallback2 (react-dom.development.js:4164:14) at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:16) at invokeGuardedCallback (react-dom.development.js:4277:31) at beginWork$1 (react-dom.development.js:27451:7) at performUnitOfWork (react-dom.development.js:26557:12)
6 Replies
kapa.ai
kapa.ai11mo ago
Hi @DarlanZero. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The extracts provided do not contain information related to the specific error you're encountering with tsconfig.build.json or useKBar.js. It's recommended to check the official documentation or raise an issue in the refine's GitHub repository for more specific help. Here are some useful links: - Refine Documentation (https://refine.dev/docs) - Refine GitHub Repository (https://github.com/refinedev/refine) ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai11mo ago
<@960976402067382282> kapa.ai is still learning and improving, please let us know how it did by reacting below
fair-rose
fair-rose11mo ago
Hey @DarlanZero you shouldn't have tsconfig.json in your node_modules folder. Please check if you created app properly and didn't manually move files accidently.
flat-fuchsia
flat-fuchsiaOP11mo ago
It's what is generated on core of the package on extends But it doesn't exists on node_modules I even reinstalled all the packages But the error persists
fair-rose
fair-rose11mo ago
Can you send me the exact command you are running ?
flat-fuchsia
flat-fuchsiaOP11mo ago
npm run dev