assemble-boilerplate-bootstrap icon indicating copy to clipboard operation
assemble-boilerplate-bootstrap copied to clipboard

Fatal error: >> Please run "bower install" before continuing.

Open newaeonweb opened this issue 10 years ago • 5 comments

Prompt always ask to install bower before running grunt command.

git clone git://github.com/assemble/boilerplate-bootstrap.git Cloning into 'boilerplate-bootstrap'... remote: Counting objects: 838, done. remote: Total 838 (delta 0), reused 0 (delta 0) Receiving objects: 100% (838/838), 2.88 MiB | 471.00 KiB/s, done. Resolving deltas: 100% (319/319), done. Checking connectivity... done. MacBook-Pro-de-fernando:blog2015 fernandomonteiro$ npm install MacBook-Pro-de-fernando:blog2015 fernandomonteiro$ grunt Fatal error: >> Please run "bower install" before continuing. MacBook-Pro-de-fernando:blog2015 fernandomonteiro$ bower install MacBook-Pro-de-fernando:blog2015 fernandomonteiro$ grunt Fatal error: >> Please run "bower install" before continuing.

newaeonweb avatar Jan 07 '15 00:01 newaeonweb

Looks like you skipped this step.

doowb avatar Jan 07 '15 00:01 doowb

@doowb Ok, i´ll try again. Thanks

newaeonweb avatar Jan 07 '15 15:01 newaeonweb

Have same issue. Same output. What step was skipped?

cschweda avatar Jan 08 '15 21:01 cschweda

@doowb ... started with brand new empty directory from step 1. the step: npm i && git clone git://github.com/twbs/bootstrap.git "vendor/bootstrap" && cd Vendor/bootstrap && npm i

is yelling: fatal: destination path 'vendor/bootstrap' already exists and is not an empty directory.

Daniel-Peder avatar Apr 20 '15 14:04 Daniel-Peder

in the gruntfile.js it contains

----------------------------------------------------
if(!grunt.file.exists('vendor/bootstrap/_config.yml')) {
    grunt.fail.fatal('>> Please run "bower install" before continuing.');
  }
-----------------------------------------------------

if the file _config.yml is not in the vendor/bootstrap directory it will display the error to overcome this you need to copy the file _config.yml from the root directory into the /vendor/bootstrap/ dirctory.

pacav69 avatar Oct 11 '15 19:10 pacav69