Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create React App not working on node 18 LTS version

Hi I am trying to npx create-react-app myapp on my terminal but it starts to execute but always hangs up on random node module but the operation can be terminated by ctrl c but the main issue is when I try to install the same node module on which it hangs up it gets install seperately with success but when trying to run cra again it hangs on another node modules I have lates npm version 8 also and 9 also and having node 18 also and 19 also.... And I have installed the create-react-app version of 5.0.10 Please help me I m stuck in this... Cra is creating the main error I think

like image 748
Aryan Rajput Avatar asked Nov 02 '25 10:11

Aryan Rajput


1 Answers

I didn't look into this in depth but at a glance there does currently seem to be quite a few issues with CRA regarding compatibility with node 18. What I would recommend is to use Vite instead to build your apps, it's faster and often preferred over CRA nowadays.

like image 168
aurelienrichard Avatar answered Nov 04 '25 23:11

aurelienrichard



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!