Below I have added a video for all of you trying to use Yeoman on windows and getting a weird Git error when you are trying to install something. Eg. yeoman install backbone.
The simple solution is adding the bin directory to your windows PATH variable. For me that path is “C:\Program Files (x86)\Git\bin”. For you it could be a bit different.
This fix gets me past the initial error but there still seems to be an issue with the bower package manager. It wipes out the scripts and doesn’t get added to the components directory. I noticed it does create the backbone files in my user’s roaming folder, but seems like the issue is copying it from here to the project folder. Initial thought was maybe the “read-only” could be a problem but not sure. What are your ideas? Have you found a fix?
This solution saved my day.
Thank you Brenley!