Home > front end >  Create React App not working on node 18 LTS version
Create React App not working on node 18 LTS version

Time:01-21

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

CodePudding user response:

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.

  • Related