Skip to content

rename Hover.css => Hover in bower.json#55

Merged
IanLunn merged 1 commit intoIanLunn:masterfrom
ratbeard:rename-bower-name-to-just-Hover
Feb 17, 2015
Merged

rename Hover.css => Hover in bower.json#55
IanLunn merged 1 commit intoIanLunn:masterfrom
ratbeard:rename-bower-name-to-just-Hover

Conversation

@ratbeard
Copy link
Copy Markdown
Contributor

I checked out the github page, saw the bower.json file and opened it and copy pasted the name into my terminal to install it but it failed:

bower install Hover.css
bower ENOTFOUND     Package Hover.css not found

I ran bower search and saw its called just Hover, so I installed it successfully w/ bower install Hover.

I forked the library to add a new feature and used bower's link command to point my app at my local copy instead of your copy that bower installed. It couldn't find Hover though:

bower link Hover
bower ENOENT        Failed to create link to Hover

Additional error details:
/Users/mfrawley/.local/share/bower/Hover does not exist or points to a non-existent file

I looked inside that directory and saw that the directory was Hover.css, so bower link Hover.css worked successfully.

Seems like bower strips the .css out of the name for some commands but not all (probably a bug on their part), though its also confusing not being able to install from the name in the bower.json file, so I propose renaming it to just Hover. Since the library is already installed as bower install Hover, I don't think this should affect normal usage.

Bower seems to be stripping out the .css in
some commands like install and search, but
not others like link.
IanLunn added a commit that referenced this pull request Feb 17, 2015
@IanLunn IanLunn merged commit 610aac6 into IanLunn:master Feb 17, 2015
@IanLunn
Copy link
Copy Markdown
Owner

IanLunn commented Feb 17, 2015

Thanks. It's now Hover

MUDev1994 pushed a commit to MUDev1994/Hover that referenced this pull request May 26, 2023
…-Hover

rename Hover.css => Hover in bower.json
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

Successfully merging this pull request may close these issues.

2 participants