I’m working on the reading exercises in parts 17.1 and 17.2.
Background to this issue:
I am a mac user, not sure if that is relevant to the actual issue. When downloading MySQL Workbench, I had to do a system update on my computer in order for Workbench to run properly. I am now running on macOS Big Sur 11.4. Since this update, I’ve had a few issues. Immediately after the update, when I tried to clone the starting branch for the coding events reading exercise 17.1 (enums branch) I tried making a new project from version control in IntelliJ. I received an error stating that I needed Git 2.9+. I tried to update git but was unsuccessful. I am currently running git 2.30.1. After leaving my computer for a few hours, I am no longer getting this error despite nothing having changed. I assumed maybe the issue fixed itself as it was working as expected. However, now the second problem has arisen.
When I made it to 17.2 in the textbook, the video instructed me to look in the “data” package ( coding-events/src/main/java/org.launchcode.codingevents/data), but this package does not exist locally for me. Neither the “data” nor “models” packages or their contents are cloned over. I have attached a screenshot of my IntelliJ file tree.
Attempts to Solve:
- I have tried deleting all previous versions of the “coding events” repository on my computer, thinking my computer might have been getting confused with multiple folders of the same name.
- I have tried to clone this repository in multiple different ways such as directly from the command line, a new project from version control in IntelliJ, and GitHub Desktop. All of these give me the same result.
- I have restarted my computer and all applications.
- I have tried to update git, but seem to be unsuccessful. Most I can find on google recommends downloading Homebrew, but I have never had nor needed this before.
This seems to be an issue with Git, but I’m not quite sure how to proceed. I can recreate the file tree by copy and pasting it from the repository, but that is only a bandaid and this will obviously be an issue moving forward if not figured out.
Has anyone else had this issue?