like-gold
like-gold4mo ago

refine dev server suddenly stops listening

A few days ago I followed the tutorial by running "npm create refine-app@latest", with Nextjs and Antd. When running "npm run dev" and accessing some pages the dev server suddenly stops (dies) listening http request and I can see no error anywhere... What could cause this?
6 Replies
kapa.ai
kapa.ai4mo ago
Hi @Jugibugi. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- There could be several reasons why your dev server is stopping unexpectedly. Here are a few potential issues based on the knowledge sources: 1. Node version: There might be compatibility issues with the Node version you're using. In one of the issues (https://github.com/refinedev/refine/issues/3588), a user reported problems with Node 16.13.0 and had different results with Node 16.15.1. You might want to try using a different Node version. 2. Breaking changes in dependencies: The user in the same issue (https://github.com/refinedev/refine/issues/3588) suspected that there might be breaking changes in Refine with Next.js and Ant Design due to a new yarn install. You might want to check if there were recent updates to these dependencies that could be causing the problem. 3. Transpilation issues: In another issue (https://github.com/refinedev/refine/issues/3578), a user reported a problem with Next.js not transpiling node_modules packages by default. They fixed the issue by adding the Ant Design packages to the next.config.js file. If you're using Ant Design, you might want to check if this could be the issue. 4. Port conflicts: In a different issue (https://github.com/refinedev/refine/issues/5215), a user reported an error because the port 5001 was already in use. You might want to check if there are any port conflicts in your setup. If none of these suggestions help, you might want to create a new issue in the Refine GitHub repository (https://github.com/refinedev/refine/issues) providing as much detail as possible about your setup and the problem you're experiencing. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai4mo ago
<@93836142574575616> kapa.ai is still learning and improving, please let us know how it did by reacting below
like-gold
like-gold4mo ago
Neither of these is the issue I am facing
optimistic-gold
optimistic-gold4mo ago
Hello @Jugibugi, can you provide us npm run refine whoami please?
like-gold
like-gold4mo ago
Hello @Alican Erdurmaz thanks, actually now that after I upgraded to NextJS to 14.2.1 and 14.2.2 it has worked flawlessly but with the default "shipped" v14.1 it just kept dying without giving any visible error messages. Now I have: # npm run refine whoami
refine-project@0.1.0 refine refine whoami
System: - OS: Linux 6.6 Alpine Linux - CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz Binaries: - Node: 18.19.0 - /usr/local/bin/node - Yarn: 1.22.19 - /usr/local/bin/yarn - npm: 10.2.3 - /usr/local/bin/npm Browsers: - Chrome: Not Found Refine Packages: - @refinedev/antd: 5.37.6 - @refinedev/cli: 2.16.29 - @refinedev/core: 4.49.0 - @refinedev/devtools: 1.1.37 - @refinedev/inferencer: 4.6.0 - @refinedev/kbar: 1.3.8 - @refinedev/nextjs-router: 6.0.2 - @refinedev/react-hook-form: 4.8.16 - @refinedev/react-table: 5.6.8 - @refinedev/supabase: 5.7.8
optimistic-gold
optimistic-gold4mo ago
Thanks, We will debug and return you