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

It should be possible to do Npm.depends with a url ({"module": "https://......tar.gz"}) #9236

edi9999 opened this Issue Oct 16, 2017 · 3 comments


None yet
3 participants

edi9999 commented Oct 16, 2017

meteor version :

Create a package with following package.js file :

	async: "",

Actual behavior :

The code is failing with :

package.js:1:-26: must declare valid version of dependency: async@

Expected behavior.

It should install the module

npm install works as expected.

I have found the source of the problem and will do a small Merge request.


This comment has been minimized.


hwillson commented Oct 17, 2017

Thanks for reporting this @edi9999. I wouldn't necessarily call this a bug; Npm.depends was designed to meet NPM's original dependency requirements, which at the time didn't include supporting any type of http/https URL. Adjusting Npm.depends to line up with is more of a feature request. That being said, since you're already submitted a PR to address this, we'll leave this issue open here (instead of migrating it to Thanks for your work on this!


This comment has been minimized.

bmanturner commented Oct 24, 2017

I actually do this already... The following works for me.

  'ionic-sdk': '',

This comment has been minimized.


hwillson commented Oct 24, 2017

@bmanturner That works, but the submitted PR (#9237) is interested in opening things up further. The current implementation supports tarball links in the format you mentioned, with a commit hash. The PR opens this up to any http/https based link.

@benjamn benjamn closed this in 16b74e5 Nov 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment