Does anyone know how to disable the devtools or to change the server port ?

We are creating a microfront-end structure with multiple refine projects, but when we run host and microfrontend with yarn dev we face the problem: refine devtools failed to start. Port 5002 is already in use, please make sure no other devtools server is running. I've tried to remove the devtool provider from the app and remove dependecies from one app but it still give the same error.
2 Replies
kapa.ai3mo ago
Hi @kerolos.salib. I'm, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- You can disable the devtools server from starting by using the parameter npm run refine dev -- --devtools=false as mentioned in this Github issue ( If you want to remove devtools from your project temporarily, you can delete the @refinedev/devtools dependency. As for changing the server port, there seems to be an issue when trying to run multiple Refine projects simultaneously. The devtools server throws an error saying that the port is already in use. This issue is discussed in this Github issue ( A workaround for this issue is to disable the devtools server when starting your project. You can do this by updating your refine dependencies to @latest and use refine dev --devtools=false to start your project as mentioned in this Discord thread ( Please note that these are temporary solutions and the Refine team is working on implementing a permanent solution. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai3mo ago
<@503618532991565835> is still learning and improving, please let us know how it did by reacting below