davidguttman / cssify

Simple middleware for Browserify to add css styles to the browser.
122 stars 19 forks source link

fatal: Not a git repository: /Users/Mathias/Projects/punycode.js/.git/modules/ve ndor/docdown #18

Open pford68 opened 9 years ago

pford68 commented 9 years ago

After updating cssify (while updating browserify). I am getting this error when I try to add cssify to GIT.

Yes, I add node_modules to GIT. No, I don't want to stop doing it at this time. :)

davidguttman commented 9 years ago

Strange... I'll see if I can reproduce.

davidguttman commented 9 years ago

Anything in particular I need to do? I tried the following, but didn't get any errors:

mkdir cssify-git
npm init
npm i -S browserify cssify
git init
git add .
git commit -m "test"
pford68 commented 9 years ago

My steps were as follows.

  1. First I updated browserify: npm update --save-dev browserify.. I don't remember the previous and current versions: I am not at that computer at the moment.
  2. Later I attempted to add all new files to GIT: git add -A.
  3. I ran git status and saw that I still had untracked files in browserify, cssify and brfs. And the error shown above appeared.
  4. I added each directory one at a time until I narrowed the problem down to cssify.

Googling indicates that an author of one of cssify's dependencies (punycode) accidentally checked in something he shouldn't have. I was hoping that you had an update with an update for that dependency. :)