ambitious-aqua
ambitious-aqua2mo ago

Running app-crm on the local

Hi, I'm going to run app-crm on my local using this command. npm create refine-app@latest -- --example app-crm Once I created an app-crm on my local and when I run npm run dev and went to localhost:5173, I got the blank screen and the app is not working. How can I fix this issue?
2 Replies
kapa.ai
kapa.ai2mo ago
Hi @Olive105. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry to hear that you're having trouble running the app-crm example on your local machine. Here are a few steps you can take to troubleshoot the issue: 1. Check your Node.js version: Make sure you're using a compatible version of Node.js. As per the discussion (https://github.com/refinedev/refine/discussions/5575) on the Refine GitHub page, it's recommended to use Node.js version 18.19.0 or later. If you're new to Node.js, consider using nvm to manage your Node.js versions. 2. Reinstall the packages: Sometimes, the issue can be resolved by reinstalling the packages. You can do this by deleting the node_modules folder and the package-lock.json file in your project directory, and then running npm install. 3. Try running the project setup commands again: According to a support thread (https://discord.com/channels/837692625737613362/1183632479010164746) on Discord, you might need to bootstrap the project first before you can start it. Here are the commands you can try:
npm run bootstrap -- --scope=create-refine-app
npm run start -- --scope=create-refine-app
npm run bootstrap -- --scope=create-refine-app
npm run start -- --scope=create-refine-app
Then, you should run the CLI from the dist folder:
node packages/create-refine-app/dist/index.js
node packages/create-refine-app/dist/index.js
4. Check for error messages: If you're still having trouble, check the console for any error messages. These can provide clues about what's going wrong. If none of these steps resolve the issue, I recommend reaching out to the Refine community on GitHub (https://github.com/refinedev/refine) or Discord (https://discord.com/channels/837692625737613362/1211970364830126120) for further assistance. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2mo ago
<@887893699713978438> kapa.ai is still learning and improving, please let us know how it did by reacting below