Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,090 members, 7,807,260 topics. Date: Wednesday, 24 April 2024 at 11:40 AM

I Have Issues With Starting React - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / I Have Issues With Starting React (604 Views)

Issues With JS For Loops. Can Anyone Help Me Out? / I Am Having Issues With My Flutter Language. / Issues with mvc/codeIgniter (2) (3) (4)

(1) (Reply) (Go Down)

I Have Issues With Starting React by Peterpan007(m): 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(m): 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(m): 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(m): 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

1 Like

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

1 Like

Re: I Have Issues With Starting React by Peterpan007(m): 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)

Top 5 Highest-paying IT Certifications For 2023: Boost Your Career And Earn More / I Need Explanation On This Code?? Php Programmers / Rate My Portfolio Website

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 17
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.