You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
Expected behavior
I would expect the solution repository to be able to work immediately upon clone
Additional context
I found this out when testing a dependabot PR - I wanted to see that things worked as they would on master and found that master doesn't work either.
You’re missing a step which is to run npm install. It will install the required libraries and one of those libraries is react-scripts, which is responsible for spinning up the project.
@brianamarie we wouldn't want to add the dependencies to the template repo. That's against best practice. @hectorsector what are your thoughts on adding dependencies to the template repo? If you are in the camp of not doing so (the better camp 😉 ) then this issue can be moved along to done in the triage board.
The README in /githubtraining/react-solution/ is the default create-react-app README. The solution to this would be to edit that README to include proper steps for running the app. Which is a different work item.
Edit:
I have updated the README to include an npm install step.
Activity
Sid-ah commentedon May 10, 2020
You’re missing a step which is to run
npm install. It will install the required libraries and one of those libraries is react-scripts, which is responsible for spinning up the project.mattdavis0351 commentedon Jul 30, 2020
@brianamarie we wouldn't want to add the dependencies to the template repo. That's against best practice. @hectorsector what are your thoughts on adding dependencies to the template repo? If you are in the camp of not doing so (the better camp 😉 ) then this issue can be moved along to done in the triage board.
The README in /githubtraining/react-solution/ is the default
create-react-appREADME. The solution to this would be to edit that README to include proper steps for running the app. Which is a different work item.Edit:
I have updated the README to include an
npm installstep.hectorsector commentedon Jul 31, 2020
The solution isn't the template repo though, right?