Trying to Build React-Admin, Keeps Getting "Edit Src/App. Js and Save to Reload"

I am very new to React, so please bare with me :/

Currently I am trying to build React-Admin, so I did as instructed:

yarn create react-app test-admin
cd test-admin/
yarn add react-admin ra-data-json-server prop-types
yarn start

I added "homepage: ".", to the package.json as well;

Next I entered "yarn build".

I have tried every possible way to fix this, but I keep getting the message "Edit src/App.js and save to reload." (on );

What am I missing here?

1

3 Answers

It's not an error message, it's the home page (in your file src/App.js) of your app react, you can find this sentence in your file App.js (if there is a component or a page, look at it!) If you only have this sentence 'Edit src/App.js and save to reload.' it's probably because you removed the logo of react, so only the sentence left, but it's not an error! So you can continue to develop

In Visual Studio, Click the save button at the top, go back to the react website and reload the page. That should fix it.

1

try to write in your terminal: npm install

3

Your Answer

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

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest