This is a small typing game we'll be making to familiarize ourselves with Node and JavaScript in general.
- Clone this repository using
git clone https://github.com/RowanACM/acm_typing - Navigate into the repository
- Install dependencies with
npm install - Start the server using
npm run start
At this point the server should be started and you can navigate to it by going to http://localhost:3000 in your
browser.
- This is an experimental build using
babel-watch. There might be issues regarding auto transpiling. - When making any changes to the project, create a new git branch before doing so. This makes merging your changes to this repository easier. If you need help with this see this git tutorial.
- Please remember to make your changes on a different branch! You should also be pulling from
upstreamregularly to avoid merge conflicts. - Communicate future changes of yours with others as to avoid parallel creation
- When I run
npm run startI get an error something like this:Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.3".- This is caused by Babel being weird for some reason. To fix the issue you have to uninstall and reinstall it with
npm uninstall @babel/core @babel/cliand thennpm install --save-dev @babel/core @babel/cli. That should resolve the issue (If you're updated to the latest version of this project this problem should not happen).
- This is caused by Babel being weird for some reason. To fix the issue you have to uninstall and reinstall it with
- My changes aren't being updated!
babel-watchmay not be working properly. Try runningnpm run buildand thennpm run man-start
- All of my work was deleted when I built the project!
- You probably were editing files within the
distdirectory. These files are overwritten every time you manually build the project. Do not edit these files. Do all of your work within thesrcdirectory.
- You probably were editing files within the
- I can't push my changes to github!
- You do not have permission to push to the
masterbranch. You must push to a separate branch and submit a pull request.
- You do not have permission to push to the