You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
I am trying to reference dependencies in github with urls and I need specific versions by tag. I have found out that the second level of dependencies ( my dependencies dependencies ) are not obeying the version on the git url. However, npm registered packages do ( like underscore ). I've created this simple example to prove I'm not insane. You can clone this repo at https://github.com/dehru/earth
During one run of npm install only one version of a dependency defined via github url is installed in all modules, no matter what version the individual package.json's of these modules define.
If npm install is called inside the submodule folders, the correct versions for each module are installed
In order to fix this, we've had to install sinopia ( https://github.com/rlidwka/sinopia ) and begun publishing versions there ( since we aren't allowed to publish this code to the npm registry, even as a private module ). This is some added overhead, but has solved the issue. With the added support for "scopes" with npm, the solution is kinda nice.
We're closing this issue as it has gone thirty days without activity. In our experience if an issue has gone thirty days without any activity then it's unlikely to be addressed. In the case of bug reports, often the underlying issue will be addressed but finding related issues is quite difficult and often incomplete.
If this was a bug report and it is still relevant then we encourage you to open it again as a new issue. If this was a feature request then you should feel free to open it again, or even better open a PR.
For more information about our new issue aging policies and why we've instituted them please see our blog post.
Hello,
I am trying to reference dependencies in github with urls and I need specific versions by tag. I have found out that the second level of dependencies ( my dependencies dependencies ) are not obeying the version on the git url. However, npm registered packages do ( like underscore ). I've created this simple example to prove I'm not insane. You can clone this repo at https://github.com/dehru/earth
The cat and dog dependencies of earth have dependencies on air, but different versions of air. Cat specifically depends on air@0.1.0.
Dog specifically depends on air@0.0.2
But npm installed air@0.0.2 into both submodules as you can see above
My npm version is 2.8.3
I've also tested with npm version 2.7.5
This is disastrous when these submodules apis change. Please advise.
The text was updated successfully, but these errors were encountered: