₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,413 members, 8,421,799 topics. Date: Sunday, 07 June 2026 at 04:35 AM

Toggle theme

I Have Issues With Starting React - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingI Have Issues With Starting React (921 Views)

1 Reply (Go Down)

I Have Issues With Starting React by Peterpan007(op): 5:45pm On Oct 07, 2022
Good evening techlanders,

Please I don't know what is wrong with my VS code today. I tried to create a react app today and to my greatest surprise it didn't load rather it was showing me error upon error. All the time I tried it was the same thing please what do I do ??
Re: I Have Issues With Starting React by qtguru(m): 6:13pm On Oct 07, 2022
Why not post the error for others to see, saying you have an error doesn't help tell us anything.
Re: I Have Issues With Starting React by Peterpan007(op): 6:34pm On Oct 07, 2022
I've tried uploading the picture but it not uploading but the error looks like this




I am trying to use npx create-react app but i have errors that is shown below:

npm ERR! Unexpected end of Json input while parsing near
'...eact-app/-/create-rea'

npm ERR! A complete log of this run can be found in: npm ERR!
C:\Users\dp\AppData\Roaming\npm-cache\_logs\2018-12-06T18-42-56-293Z-debug.log

Install for create-react-app@latest failed with
Re: I Have Issues With Starting React by Nobody: 6:50pm On Oct 07, 2022
Use vite.
Re: I Have Issues With Starting React by jbreezy: 7:19pm On Oct 07, 2022
Probably your network is bad.
Re: I Have Issues With Starting React by Peterpan007(op): 8:00pm On Oct 07, 2022
jbreezy:
Probably your network is bad.
Maybe �

I'll try another network
Re: I Have Issues With Starting React by chukwuebuka65(m): 8:35pm On Oct 07, 2022
Peterpan007:
I've tried uploading the picture but it not uploading but the error looks like this




I am trying to use npx create-react app but i have errors that is shown below:

npm ERR! Unexpected end of Json input while parsing near
'...eact-app/-/create-rea'

npm ERR! A complete log of this run can be found in: npm ERR!
C:\Users\dp\AppData\Roaming\npm-cache\_logs\2018-12-06T18-42-56-293Z-debug.log

Install for create-react-app@latest failed with
Could be poor network. You could also try creating it with a different name for the app. I had the same problem trying to create an app named luppo, it was giving me this error, I just say make try a different name, I tried luppi and it worked. You could give it a try
Re: I Have Issues With Starting React by Peterpan007(op): 1:50am On Oct 08, 2022
chukwuebuka65:
Could be poor network. You could also try creating it with a different name for the app. I had the same problem trying to create an app named luppo, it was giving me this error, I just say make try a different name, I tried luppi and it worked. You could give it a try
Thanks man will try it again later
Re: I Have Issues With Starting React by Zabiboy: 1:42pm On Oct 08, 2022
Could be one of these
*Node js not installed
*Poor network or name like someone pointed out

Try yarn if npx doesnt work for you
Re: I Have Issues With Starting React by qtguru(m): 2:18pm On Oct 08, 2022
clear npm cache or use yarn
Re: I Have Issues With Starting React by Sleekcode: 4:20pm On Oct 08, 2022
React the ment sometimes


I just created one reacted app and customized it and install the dependencies I normally work with



Instead of creating new app all the time



I just copy past and rename
Re: I Have Issues With Starting React by Peterpan007(op): 5:26pm On Oct 08, 2022
Thanks guys
I used npm update -g
Then used the npx create-react-app

It worked
Re: I Have Issues With Starting React by emmyN(m): 6:02pm On Oct 08, 2022
qtguru:
clear npm cache or use yarn
Could that me a possible reason my create react app takes a long time to initialize? Like stuff takes up to 10 minutes many times if not more. I like to think it's my internet, but do you have an idea how large a single create react app is?
Re: I Have Issues With Starting React by Sleekcode: 8:14pm On Oct 08, 2022
emmyN:
Could that me a possible reason my create react app takes a long time to initialize? Like stuff takes up to 10 minutes many times if not more. I like to think it's my internet, but do you have an idea how large a single create react app is?
I presume your pc is 1Gb Ram


Right?
Re: I Have Issues With Starting React by emmyN(m): 9:10pm On Oct 08, 2022
Sleekcode:
I presume your pc is 1Gb Ram


Right?
Lol, 8gb
1 Reply

Having Issues With Your Payment Gateway? How Would Your Business Accept Payment?Issues With JS For Loops. Can Anyone Help Me Out?I Am Having Issues With My Flutter Language.234

Introduction To Web 3.0Internet ConnectionHelp With Connecting To Remote Mysql