componentjs / component

frontend package manager and build tool for modular web applications
https://github.com/componentjs/guide
MIT License
4.55k stars 305 forks source link

"no remote found for dependency" - issue with semver? #614

Closed jameslnewell closed 9 years ago

jameslnewell commented 9 years ago

Hi.

I have a large project and am getting the error Error: no remote found for dependency "detects/dom-support". It seems that component isn't resolving a version correctly remotes:github GET "https://raw.githubusercontent.com/detects/dom-support/undefined/component.json".

Github is returning an empty array of tags (the component has no tags) and undefined is being used instead of master.

Mon, 08 Dec 2014 06:12:18 GMT component-resolver:semver resolving semver detects/dom-support@*
Mon, 08 Dec 2014 06:12:18 GMT remotes:github GET "https://api.github.com/repos/detects/dom-support/tags"
Mon, 08 Dec 2014 06:12:18 GMT cogent options: { protocol: 'https:',
  slashes: true,
  auth: 'nib-build-agent:******',
  host: 'api.github.com',
   port: null,
   hostname: 'api.github.com',
   hash: null,
   search: null,
   query: null,
   pathname: '/repos/detects/dom-support/tags',
   path: '/repos/detects/dom-support/tags',
   href: 'https://api.github.com/repos/detects/dom-support/tags',
   headers: 
    { 'accept-encoding': 'gzip',
      'user-agent': 'https://github.com/cojs/cogent',
      accept: 'application/json' },
   method: 'GET' }

I'm using the libs themselves: "dependencies": { "component-validator": "~1.1.1", "component-resolver": "~1.2.4", "component-builder": "~1.1.13" }

Strangely setting up a test component.json with the command line works fine.

Any ideas? Where do I look next?

timaschew commented 9 years ago

damn, the tests passed, but not in the parent project which are not executed automatically :scream_cat:

I close this one in favor of https://github.com/componentjs/remotes.js/issues/22