dat-ecosystem-archive/dat-desktop

v2.0.0 npm ERR! Command failed: /usr/bin/git checkout fix/missing-events

jcalfee opened this issue · 2 comments

Just tried a fresh checkout and install using node 11 on Debian stretch. Npm did not like this path in package.json:

"delegate-electron-events": "github:juliangruber/delegate-electron-events#fix/missing-events",

or my tweak:
"delegate-electron-events": "https://github.com/juliangruber/delegate-electron-events#fix/missing-events",

$ npm i
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git checkout fix/missing-events
npm ERR! error: pathspec 'fix/missing-events' did not match any file(s) known to git.
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/james/.npm/_logs/2019-01-18T19_52_44_027Z-debug.log

$ npm --version
6.5.0-next.0

$ node --version
v11.6.0

$ git branch
* (HEAD detached at v2.0.0)
  master

The branch has been removed from julians fork.

This should work now, let us know if you have more issues!