2

Hi last Friday I was developing my react application which worked perfectly.However today I have come back and have tried to start it up again but it is just stuck loading the page(staying blank but showing the blue circle loading within the tab) or eventually will say that the page cannot be reached.

This is what is displayed. There is no error messages received apart from. enter image description here enter image description here

What could be causing this ? How could I fix this ?

I have tried opening in incognito, Refreshing and terminating and starting again.

Any suggestions are welcome. Thanks in advance.

6
  • 3
    This problem could have almost 1million reasons... You even did not provided any error message, so we´re unable to help here Commented Jan 13, 2020 at 9:13
  • When you start your app from CLI are there any issues reported there? Commented Jan 13, 2020 at 9:17
  • nope none. The page just loads for ages and then nothing happens Commented Jan 13, 2020 at 9:19
  • does it run in production mode? Commented Jan 13, 2020 at 9:25
  • 1
    delete the previous node module folder. and run npm i again and thn. Thr could be infinite reason for the same . check your local history for the same. Also You could check if there is anything running on the same port. or may be change your port and try again Commented Jan 13, 2020 at 9:32

1 Answer 1

1

Deleted node modules and ran npm init and seemed to fix issue.

Sign up to request clarification or add additional context in comments.

1 Comment

npm init wants to create a new package.json. In my case, the creator of the react app provides one already. Perhaps it's not useful to let npm overwrite it then?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.