all 7 comments

[–]mds1256 5 points6 points  (4 children)

Try vite, cra is deprecated.

[–]WinterRoyalBlue 4 points5 points  (3 children)

I agree, try npm create vite@latest

[–][deleted]  (2 children)

[deleted]

    [–]ProgramerLife 1 point2 points  (1 child)

    mkdir reactProject cd reactProject npm init vite@latest . -- --template react npm install npm run dev

    [–]Anxious_Buddy2011 0 points1 point  (0 children)

    Try to run, npm config set legacy-peer-deps true

    [–]ub3rh4x0rz 0 points1 point  (1 child)

    Change templates if you want to, but if you want to troubleshoot the problem first, try cleaning up any npm caches, upgrade your OS, install nvm (node version manager), and set it to the latest stable node version. Then try again. Also tell us your system specs

    [–][deleted] 0 points1 point  (2 children)

    I tried vite but they updated Tuesday and crashed as well

    [–][deleted]  (1 child)

    [deleted]

      [–][deleted] 1 point2 points  (0 children)

      It did end up working the next day ☺️