Skip to content
New issue

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

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

Already on GitHub? # to your account

Installing bare Bower dependencies from a Git repo fails #665

Closed
devinus opened this issue Oct 11, 2016 · 4 comments
Closed

Installing bare Bower dependencies from a Git repo fails #665

devinus opened this issue Oct 11, 2016 · 4 comments
Labels

Comments

@devinus
Copy link

devinus commented Oct 11, 2016

Do you want to request a feature or report a bug? Bug

What is the current behavior?

Installing bare Bower dependencies from a Git repo fails.

-> % yarn install
yarn install v0.15.1
[1/4] 🔍  Resolving packages...
error Couldn't find manifest in "https://github.com/CD1212/jQuery-Font-Chooser.git".
info Visit http://yarnpkg.com/en/docs/cli/install for documentation about this command.

If the current behavior is a bug, please provide the steps to reproduce.

Use this bower.json file:

{
  "name": "foo",
  "dependencies": {
    "jQuery-Font-Chooser": "CD1212/jQuery-Font-Chooser#6d6c1d5a3274002058f5e3218fc453c03c7f34cc"
  }
}

What is the expected behavior?

It downloads the dependency like Bower.

Please mention your node.js, yarn and operating system version.
Node: v6.7.0
Yarn: v0.15.1
macOS: v10.11.6

@RustyToms
Copy link
Contributor

RustyToms commented Oct 11, 2016

Related, but slightly different from #616
This simple repo might be useful for demonstrating this issue as well: https://github.com/RustyToms/yarn-issue-616

@omnisite
Copy link

If you add the following to package.json, bower install will be called and it works. It is a workaround though:

"scripts": { "postinstall": "bower install" }

@samccone
Copy link
Member

this is a multi issue.

This fixed one part
#1393

The other part is working with short github paths which there is an issue for but I can not find atm :)

@sebmck
Copy link
Contributor

sebmck commented Oct 26, 2016

We've removed support for Bower, see #1441.

@sebmck sebmck closed this as completed Oct 26, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants