diverse-rose
diverse-rose3mo ago

I am unable to run different examples locally

I tried to run the commands that were in the contribution guide section of the page, but when I change the name to different(eg. apppwrite), it just runs the project that ran during the first build process
3 Replies
kapa.ai
kapa.ai3mo ago
Hi @Zeref. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- It seems like you're having trouble running different examples locally. Here are some steps you can follow to run different examples: 1. Clone the refine repository. 2. Change the directory to the example you want to run. 3. Restore the packages. If npm install fails, try using yarn. 4. Run yarn start. If you're still having issues, it could be due to the environment you're running the examples in. Some users have reported more errors when running in a Linux environment with the same version of Node.js. If you're trying to run a specific example, you can use the npm create refine-app@latest -- --example [example-name] command. Replace [example-name] with the name of the example you want to run. For instance, if you want to run the app-crm example, you would use the following command:
npm create refine-app@latest -- --example app-crm
npm create refine-app@latest -- --example app-crm
If you're still having issues, please provide more details about the errors you're encountering so we can provide more specific assistance. Sources: - Github Issue (closed): [BUG] Many examples fail to run out of box > Original post (https://github.com/refinedev/refine/issues/1445) - Github Issue (closed): [FEAT] Dynamic window title > Comments Part 3 (https://github.com/refinedev/refine/issues/2810) - Refinedev > Refine > Blob > Master > Examples > App-crm > Try this example on your local (https://github.com/refinedev/refine/blob/master/examples/app-crm/README.md) ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3mo ago
<@1085515512538206228> kapa.ai is still learning and improving, please let us know how it did by reacting below
diverse-rose
diverse-rose3mo ago
when I run npm run bootstrap -- --scope @refinedev/chakra-ui --scope base-antd --includeDependencies it basically run the same project as if I were running the commands given in the contribution section, i.e. npm run bootstrap -- --scope @refinedev/antd --scope base-antd --includeDependencies