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...
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?
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.
try to write in your terminal: npm install