6 Replies
Hi @CAPTAIN JOHN PRICE. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
I apologize, but I don't have enough information to provide a specific answer to your issue. The error message you're encountering when running
npm run dev
is not mentioned in your question. To better assist you, I would need more details about the exact error message or behavior you're experiencing.
However, based on the knowledge sources provided, there are a few common issues that users have encountered when running npm run dev
with refine projects:
1. Port conflicts: If you're getting an error related to port 5001 or 5002 being in use, this is a known issue. The refine devtools server tries to use these ports, and if they're already occupied, it can cause problems. GitHub Issue #5294 (https://github.com/refinedev/refine/issues/5294)
2. Module resolution errors: Some users have reported issues with module resolution, particularly with rc-picker/lib/generate/dayjs
. This could be related to dependency conflicts or version mismatches. GitHub Issue #1793 (https://github.com/refinedev/refine/issues/1793)
3. Hydration errors: In Next.js projects, some users have encountered hydration-related errors. GitHub Issue #5818 (https://github.com/refinedev/refine/issues/5818)
4. ESM/CommonJS conflicts: There have been issues reported with ERR_REQUIRE_ESM
errors, which are related to conflicts between ESM and CommonJS module systems. GitHub Discussion #5280 (https://github.com/refinedev/refine/discussions/5280)
To get more specific help, I recommend:
1. Providing the exact error message you're seeing.
2. Sharing your project's configuration (e.g., which framework you're using, your package.json
contents).
3. Describing the steps you took to set up the project.
With this additional information, it would be easier to diagnose and suggest a solution to your specific problem.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@805062460927246358> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
flat-fuchsiaOP•3mo ago
on running npm run dev
its giving this error
help
unwilling-turquoise•3mo ago
I am getting the same thing also
Running to setup a new project with
Doing vite and rest api.
flat-fuchsiaOP•3mo ago
yeppp i am also using vite
vicious-gold•3mo ago
hell anyone know if refine team they remove pnpm from comand cli