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

cannot install component from bitbucket #20

Closed
frankwallis opened this issue Nov 24, 2014 · 6 comments
Closed

cannot install component from bitbucket #20

frankwallis opened this issue Nov 24, 2014 · 6 comments

Comments

@frankwallis
Copy link

A recent change has broken component installation.

I am running on Windows and everything works using component-remotes 1.1.6, but if I update to component-remotes 1.1.8 then component install fails silently.

@timaschew
Copy link
Member

can you run component install with debug please: DEBUG=* component install component/domify

@frankwallis
Copy link
Author

the problem seems to be limited to BitBucket repos:

component install jhc-systems/angular --debug

  component-resolver remote not set - defaulting to remotes's defaults +0ms
  component-resolver:locals resolving local at "C:\Work\bitbucket\app" +3ms
  component-resolver resolving "root" +1ms
  component-resolver remaining dependencies: 1 +4ms
  component-resolver remaining semver: 0 +0ms
  component-resolver finished resolving locals +1ms
  component-resolver finished resolving dependencies (1) +1ms
  component-resolver:semver resolving semver jhc-systems/angular@* +1ms
  component-resolver:dependencies resolving dependency jhc-systems/angular@1.3.1 +2s
  component-resolver:dependencies searching ["local","github","bitbucket"] for jhc-systems/angular@1.3.1 +1ms

component/domify works ok:

 component-resolver remote not set - defaulting to remotes's defaults +0ms
  component-resolver:locals resolving local at "C:\Work\bitbucket\app" +3ms
  component-resolver resolving "root" +1ms
  component-resolver remaining dependencies: 1 +4ms
  component-resolver remaining semver: 0 +0ms
  component-resolver finished resolving locals +1ms
  component-resolver finished resolving dependencies (1) +1ms
  component-resolver:semver resolving semver component/domify@* +1ms
  component-resolver:dependencies resolving dependency component/domify@1.3.1 +1s
  component-resolver:dependencies searching ["local","github","bitbucket"] for component/domify@1.3.1 +2ms
  component-resolver:dependencies found component/domify@1.3.1 from remote "github" +3ms
  component-resolver resolving "component/domify" +0ms
  component-resolver remaining dependencies: 0 +1ms
  component-resolver remaining semver: 1 +1ms
  component-resolver:semver resolved semver component/domify@* -> component/domify@1.3.1 +3ms
  component-resolver finished resolving semver +0ms
  component-resolver finished resolving dependencies(2) +1ms
   installed : component/domify@1.3.1 in 220ms
  component-resolver finished installing dependencies +224ms
     install : complete

thanks

@timaschew
Copy link
Member

thanks, can confirm the issue, will try to fix it soon.
For now, you can pin your transitive deps (in this case remotes: 1.1.6) via a npmshrinkwrap

@frankwallis
Copy link
Author

will do, thanks

@netpoetica
Copy link
Contributor

@timaschew What do you think the issue is here? In the debug output, it looks like it's just hanging up in the search? Something to do with checking version first from this commit: 7b67827#diff-8025693921c2b5a41af819d9f259b7b9R91

@timaschew
Copy link
Member

Don't know what is going on here, the tests passed: https://travis-ci.org/componentjs/remotes.js/jobs/41913111

Have no time this week, will investigate the issue next week

@timaschew timaschew changed the title Installation broken cannot install component from bitbucket Dec 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants