You are not logged in.

#1 2022-12-19 05:31:44

nikinbaidarr
Member
Registered: 2021-05-06
Posts: 101

[SOLVED] Xserver seems to crash during react developement

When I start a react app in my browser with

npx create-react-app test
cd test
npm start

the xserver seems to automatically restart after a few minutes. i.e. All of my applications gets closed and I get prompted to my login shell.

$ npm --version
8.19.2
$ uname -r
6.0.11-arch1-1

This does not happen if I'm I don't run npm start. I don't know what's causing the problem. I'm not even sure if this is an arch specific issue.

Last edited by nikinbaidarr (2023-07-15 04:31:37)

Offline

#2 2022-12-19 06:47:27

talleyhoe
Member
Registered: 2022-05-11
Posts: 1

Re: [SOLVED] Xserver seems to crash during react developement

¯\_(ツ)_/¯
Look for some errors in the logs (journalctl -e). I'll help ya debug if you post any errors you find.

Offline

#3 2022-12-20 07:35:51

Busyvar
Member
Registered: 2022-11-03
Posts: 2

Re: [SOLVED] Xserver seems to crash during react developement

I got also that sort of crash of X several times. Maybe are you using an unstable release of node, could you check node version?

Last edited by Busyvar (2022-12-20 07:36:19)

Offline

#4 2023-07-15 04:31:22

nikinbaidarr
Member
Registered: 2021-05-06
Posts: 101

Re: [SOLVED] Xserver seems to crash during react developement

Maybe are you using an unstable release of node, could you check node version?

I posted this and totally forgot to mark it solved. Yes. A system upgrade had solved this problem.

Offline

Board footer

Powered by FluxBB