Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to fetch package using "bower list" #16

Closed
johjacb opened this issue Jul 15, 2013 · 2 comments
Closed

Unable to fetch package using "bower list" #16

johjacb opened this issue Jul 15, 2013 · 2 comments

Comments

@johjacb
Copy link

johjacb commented Jul 15, 2013

I've just installed normalize.css with bower, using "bower install normalize.scss --save" in a local Yeoman project on Mac 10.7.5.

Installation works fine, but when I attempt the command "bower list" I receive the output:

bower error Unable to fetch package normalize-scss (if the cache was deleted, run install again)

If I uninstall the package, "bower list" returns the installed components as expected.

I could very well be doing something wrong. Anybody else having a similar issue?

@JohnAlbin
Copy link
Owner

Ah! Finally figured out what the issues is. The project is called normalize-scss on github, but I had to register it as "normalize.scss" on bower because the namespace was taken. :-\

A very careful reader will note that it shows the proper command on the project README. https://github.com/JohnAlbin/normalize-scss#install

Here's what I get when I run the commands:

$ bower install --save normalize.scss
bower normalize.scss#*          cached git://github.com/JohnAlbin/normalize-scss.git#3.0.1+normalize.3.0.1
bower normalize.scss#*        validate 3.0.1+normalize.3.0.1 against git://github.com/JohnAlbin/normalize-scss.git#*
bower normalize.scss#~3.0.1+normalize.3.0.1          install normalize.scss#3.0.1+normalize.3.0.1

normalize.scss#3.0.1+normalize.3.0.1 bower_components/normalize.scss

$ bower list
bower check-new     Checking for new versions of the project dependencies..
flower#1.0.0 ~/Sites/flower/www
└── normalize.scss#3.0.1+normalize.3.0.1

@JohnAlbin
Copy link
Owner

Hmm… Actually, you did say you used the proper command. bower install normalize.scss --save

Weird. The error message bower error Unable to fetch package normalize-scss shows a different project name than it does when I do a bower list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants