Support (or at least non-fatal handling) for git dependencies?
See original GitHub issueGit dependencies are causing fatal errors on my system.
My npm-shrinkwrap.json contains this github dependency entry:
"techan": {
"version": "0.6.0",
"from": "techan@git://github.com/andredumas/techan.js#f7d1489b61a2dd951036f9dc207d1c91339b00f9",
"resolved": "git://github.com/andredumas/techan.js#f7d1489b61a2dd951036f9dc207d1c91339b00f9"
},
This derives from my package.json entry: "techan": "andredumas/techan.js#0.6.0"
Shrinkpack (or maybe it’s npm’s cache API) doesn’t seem to know how to respond:
error adding techan@0.6.0 to npm cache: Error: Registry returned 404 for GET on https://registry.npmjs.org/techan
Please raise an issue at https://github.com/JamieMason/shrinkpack/issues
TypeError: Cannot read property 'npm' of undefined
at Object.addPackage (D:\dev\apps\GeonomicsCarbonSim\deploy\WebRoot\node_modules\shrinkpack\src\shrinkpack.js:24:33)
at addToShrinkpack (D:\dev\apps\GeonomicsCarbonSim\deploy\WebRoot\node_modules\shrinkpack\index.js:117:27)
at tryCatchReject (D:\dev\apps\GeonomicsCarbonSim\deploy\WebRoot\node_modules\shrinkpack\node_modules\when\lib\makePromise.js:845:30)
at runContinuation1 (D:\dev\apps\GeonomicsCarbonSim\deploy\WebRoot\node_modules\shrinkpack\node_modules\when\lib\makePromise.js:804:4)
at Fulfilled.when (D:\dev\apps\GeonomicsCarbonSim\deploy\WebRoot\node_modules\shrinkpack\node_modules\when\lib\makePromise.js:592:4)
at Pending.run (D:\dev\apps\GeonomicsCarbonSim\deploy\WebRoot\node_modules\shrinkpack\node_modules\when\lib\makePromise.js:483:13)
at Scheduler._drain (D:\dev\apps\GeonomicsCarbonSim\deploy\WebRoot\node_modules\shrinkpack\node_modules\when\lib\Scheduler.js:62:19)
at Scheduler.drain (D:\dev\apps\GeonomicsCarbonSim\deploy\WebRoot\node_modules\shrinkpack\node_modules\when\lib\Scheduler.js:27:9)
at process._tickCallback (node.js:419:13)
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Git and Project Dependencies | Atlassian Git Tutorial
Dependencies are an important aspect of software development. Allows you to manage the versions of other libraries used by your code. Read and...
Read more >Dependency Scanning - GitLab Docs
Supported languages and package managers. Dependency Scanning automatically detects the languages used in the repository. All analyzers matching the detected ...
Read more >support for git dependencies · Issue #238 - GitHub
In this case haxelib.json must be exists in root of repo;; What about another (potential) supported systems such as Mercurial or Subversion?
Read more >Git dependencies - Unity - Manual
Git dependencies. When the Package Manager fetches a package from a Git repository, it adds the package locally to your project.
Read more >EAPI Usage and Description - Gentoo Development Guide
Gentoo policy is to support upgrades for installations at least a year old ... The :slot dependency syntax continues to behave like in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Version 0.5.0 has been released, please could you give it a try and update or close this issue?
Thanks a lot @thedewi @DylanPiercey
Closing just as part of issue housekeeping, please re-open if needed.