Bower error on installing Roots 7.0.1

After I cloned roots theme to my local, I run “npm install”. It has some issues on bower install part. Throw error message of “ENORESRARGET No tag found that was able to satify 1.4.2”. I did search about it, and it seemed related to bower. I cleaned cache, updated bower and still run into the same problem.

Anyone has the similar issue?

T

Try this: https://github.com/bower/bower/issues/852

Tried those suggestion, including “rm bower.json bower init”. It worked with a fresh bower.json. But once I added dependency back to the fresh one, it broke again. Here is the full error msg:


$ npm install

roots@7.0.1 postinstall c:\Users\Yangzi\Documents\Web-Projects-Test\rootstest2
\roots
node node_modules/bower/bin/bower install && grunt dev

bower not-cached git://github.com/Modernizr/Modernizr.git#2.8.2
bower resolve git://github.com/Modernizr/Modernizr.git#2.8.2
bower not-cached git://github.com/twbs/bootstrap.git#3.2.0
bower resolve git://github.com/twbs/bootstrap.git#3.2.0
bower not-cached git://github.com/scottjehl/Respond.git#1.4.2
bower resolve git://github.com/scottjehl/Respond.git#1.4.2
bower cached git://github.com/jquery/jquery.git#1.11.1
bower validate 1.11.1 against git://github.com/jquery/jquery.git#1.11.1
bower ENORESTARGET No tag found that was able to satisfy 1.4.2

Additional error details:
No versions found in git://github.com/scottjehl/Respond.git

npm ERR! roots@7.0.1 postinstall: node node_modules/bower/bin/bower install && grunt dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the roots@7.0.1 postinstall script.
npm ERR! This is most likely a problem with the roots package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node node_modules/bower/bin/bower install && grunt dev
npm ERR! You can get their info via:
npm ERR! npm owner ls roots
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command “c:\Program Files\nodejs\node.exe” “c:\Program Files\nodej
s\node_modules\npm\bin\npm-cli.js” “install”
npm ERR! cwd c:\Users\Yangzi\Documents\Web-Projects-Test\rootstest2\roots
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! c:\Users\Yangzi\Documents\Web-Projects-Test\rootstest2\roots\npm-de
bug.log
npm ERR! not ok code 0


Which dependencies are you adding?

The same set from source bower.json -

“dependencies”: {
“modernizr”: “2.8.2”,
“jquery”: “1.11.1”,
“bootstrap”: “3.2.0”,
“respond”: “1.4.2”
}

Try running npm -g upgrade anywhere, then npm upgrade inside your theme root.

Tried, with no luck. :frowning: Could this be something to do my Win7 dev envorinment?

I tried a fresh install of Composer and Roots in a Mac. It seems bower install is fine. No errors at all. I guess the issue in PC was probably related to permission on access certain files.

Anyone use PC for Roots theme development?

Same here. Windows 7

C:\Users\USER\Desktop\roots-roots-1b333d6>npm install

roots@7.0.1 postinstall C:\Users\USER\Desktop\roots-roots-1b333d6
node node_modules/bower/bin/bower install && grunt dev

bower not-cached git://github.com/Modernizr/Modernizr.git#2.8.2
bower resolve git://github.com/Modernizr/Modernizr.git#2.8.2
bower not-cached git://github.com/twbs/bootstrap.git#3.2.0
bower resolve git://github.com/twbs/bootstrap.git#3.2.0
bower cached git://github.com/jquery/jquery.git#1.11.1
bower validate 1.11.1 against git://github.com/jquery/jquery.git#1.11.1
bower cached git://github.com/scottjehl/Respond.git#1.4.2
bower validate 1.4.2 against git://github.com/scottjehl/Respond.git#1.4.2
bower ENORESTARGET No tag found that was able to satisfy 1.4.2

Additional error details:
No versions found in git://github.com/scottjehl/Respond.git

npm ERR! roots@7.0.1 postinstall: node node_modules/bower/bin/bower install && grunt dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the roots@7.0.1 postinstall script.
npm ERR! This is most likely a problem with the roots package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node node_modules/bower/bin/bower install && grunt dev
npm ERR! You can get their info via:
npm ERR! npm owner ls roots
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command “C:\Program Files\nodejs\\node.exe” “C:\Program Files\no
ejs\node_modules\npm\bin\npm-cli.js” “install”
npm ERR! cwd C:\Users\USER\Desktop\roots-roots-1b333d6
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\USER\Desktop\roots-roots-1b333d6\npm-debug.log
npm ERR! not ok code 0

I also have this issue on Win7 dev environment. I reverted to an older version of Roots.