deep-jade
deep-jade4mo ago

Creating a project with example pages doesn't work

Hello, I have tried to create a project using pnpm. I selected REST API, and installed packages with pnpm. It is not loading and showing me this error. When I deleted node_modules folder, and reinstalled with npm, everything is working as expected. Is this a bug or pnpm problem?
No description
3 Replies
kapa.ai
kapa.ai4mo ago
Hi @:P. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the information provided in the extracts, it seems like there might be some issues with using pnpm to install packages for a Refine project. There have been several reported issues where using pnpm resulted in errors, while switching to npm resolved the problem. For example, in one issue (https://github.com/refinedev/refine/issues/4921), a user reported that a new project generated by create-refine-app failed to start with pnpm, but worked correctly with npm. In another issue (https://github.com/refinedev/refine/issues/4439), a user reported that a clean install didn't compile and suggested running pnpm store prune to purge the cached modules or manually installing dependencies via pnpm install --force. While these issues might not be exactly the same as yours, they suggest that there might be some compatibility issues between pnpm and Refine. If you're experiencing problems with pnpm, it might be a good idea to stick with npm for now, as it seems to work more reliably with Refine. However, please note that these are just possible solutions based on the information provided in the extracts. For a more accurate diagnosis and solution, it would be best to provide more detailed information about the error you're encountering, such as the error message and the steps you took before encountering the error. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai4mo ago
<@661126652948119562> kapa.ai is still learning and improving, please let us know how it did by reacting below
deep-jade
deep-jade4mo ago
I tried using pnpm store prune and reinstalling, but still it doesn't work