vincentmac / yeoman-foundation

Yeoman generator for Zurb Foundation based projects
MIT License
14 stars 5 forks source link

Failed with git status 128 fatal #1

Closed PhilAndrew closed 11 years ago

PhilAndrew commented 11 years ago

$ yeoman init foundation Running "init:yeoman" (init) task This task will create one or more files in the current directory, based on the environment and the answers to a few questions. Note that answering "?" to any question will show question-specific help and answering "none" to most questions will leave its value blank.

"yeoman" template notes:

invoke foundation create .editorconfig create .gitattributes create .jshintrc create .npmignore create app/.htaccess create app/404.html create app/config.rb create app/favicon.ico create app/humans.txt create app/images/foundation/orbit/bullets.jpg create app/images/foundation/orbit/left-arrow-small.png create app/images/foundation/orbit/left-arrow.png create app/images/foundation/orbit/loading.gif create app/images/foundation/orbit/mask-black.png create app/images/foundation/orbit/pause-black.png create app/images/foundation/orbit/right-arrow-small.png create app/images/foundation/orbit/right-arrow.png create app/images/foundation/orbit/rotator-black.png create app/images/foundation/orbit/timer-black.png create app/index.html create app/javascripts/app.js create app/javascripts/main.js create app/javascripts/vendor/foundation/app.js create app/javascripts/vendor/foundation/jquery.cookie.js create app/javascripts/vendor/foundation/jquery.event.move.js create app/javascripts/vendor/foundation/jquery.event.swipe.js create app/javascripts/vendor/foundation/jquery.foundation.accordion.js create app/javascripts/vendor/foundation/jquery.foundation.alerts.js create app/javascripts/vendor/foundation/jquery.foundation.buttons.js create app/javascripts/vendor/foundation/jquery.foundation.clearing.js create app/javascripts/vendor/foundation/jquery.foundation.forms.js create app/javascripts/vendor/foundation/jquery.foundation.joyride.js create app/javascripts/vendor/foundation/jquery.foundation.magellan.js create app/javascripts/vendor/foundation/jquery.foundation.mediaQueryToggle.js create app/javascripts/vendor/foundation/jquery.foundation.navigation.js create app/javascripts/vendor/foundation/jquery.foundation.orbit.js create app/javascripts/vendor/foundation/jquery.foundation.reveal.js create app/javascripts/vendor/foundation/jquery.foundation.tabs.js create app/javascripts/vendor/foundation/jquery.foundation.tooltips.js create app/javascripts/vendor/foundation/jquery.foundation.topbar.js create app/javascripts/vendor/foundation/jquery.js create app/javascripts/vendor/foundation/jquery.offcanvas.js create app/javascripts/vendor/foundation/jquery.placeholder.js create app/javascripts/vendor/foundation/modernizr.foundation.js create app/MIT-LICENSE.txt create app/robots.txt create app/sass/app.scss create app/sass/customization/_settings.scss create app/stylesheets/app.css create component.json create Gruntfile.js create package.json create test/index.html create test/lib/chai.js create test/lib/expect.js create test/lib/mocha/mocha.css create test/lib/mocha/mocha.js create test/runner/mocha.js create test/spec/.gitkeep Finished generating foundation scaffold. Installing latest jQuery, Backbone, Require.js, and require-jade... Running "bower:install:jquery:backbone:requirejs:require-jade" (bower) task

GET https://bower.herokuapp.com/packages/jquery

GET https://bower.herokuapp.com/packages/backbone

GET https://bower.herokuapp.com/packages/requirejs

GET https://bower.herokuapp.com/packages/require-jade

bower cloning git://github.com/documentcloud/backbone.git

bower cached git://github.com/documentcloud/backbone.git

bower fetching backbone

bower cloning git://github.com/components/jquery.git

bower cached git://github.com/components/jquery.git

bower fetching jquery

Git status: 128

Latest components successfully installed.

vincentmac commented 11 years ago

Any additional information? Yeoman version? What OS?... I've experienced the Git status 128 error before. This thread may help.

Is it only this generator that's failing for you? If you use another generator (perhaps the default) and then install a package via yeoman install package-name do you still get the same error?

One thing that this generator is doing differently from other ones is installing packages from source using the yeoman command internally after generating the initial scaffold.

PhilAndrew commented 11 years ago

Hi Vincent, thanks for the link to the thread. After I deleted rm -rf .bower as it said in the home directory and some other steps, cannot remember exactly what as it was more a trial and error approach. Good! now I can play around with Foundation.

PhilAndrew commented 11 years ago

Mac OSX yeoman --version 0.9.6 npm --version 1.2.11 brew --version 0.9.4 git --version git version 1.7.7.5 (Apple Git-26)

vincentmac commented 11 years ago

Glad you got it working for you. Now that yeoman is now being split up into its separate components (yo, grunt, and bower) and not obfuscating them under a single yeoman command, I will need to update this generator to account for that. Hopefully using bower directly will eliminate the 128 error moving forward.