0

I'm trying to figure out some things in bower but am having some issues. Mainly, when I try and install a locally hosted repo's specific branch.

For instance, I run this command:

bower install appName=/path/to/file

However, when I do that, I get:

ENORESTARGET Tag/branch master does not exist

Additional error details:
Available tags: some-tag-1,
Available branches: integration, origin/bower

I'm specifically trying to get to the 'orgin/bower' branch. Can anyone help?

streetlight
  • 5,968
  • 13
  • 62
  • 101
  • Is this a duplicate? the other question is talking about packages hosted in bower, this one is specifically about packages hosted locally? – streetlight Feb 28 '14 at 20:21

1 Answers1

2

The correct syntax would be:

bower install appname=/path/to/file#bower

Make sure the path is valid and that it points to a git repo which contains a bower branch.

Also note that appname should be lowercase.

Sindre Sorhus
  • 62,972
  • 39
  • 168
  • 232