Skip to content

Instantly share code, notes, and snippets.

@SeriousM
Created April 16, 2015 21:56
Show Gist options
  • Save SeriousM/28c8142fe38a3550f76c to your computer and use it in GitHub Desktop.
Save SeriousM/28c8142fe38a3550f76c to your computer and use it in GitHub Desktop.
Installing ungit on ubuntu (-like) os
nodejs is called differently on ubunto (for whatever reason) - https://github.com/FredrikNoren/ungit/issues/401
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo -H npm install -g ungit
@BuonOmo
Copy link

BuonOmo commented Jan 30, 2017

I made the same here!

@DireStraits01
Copy link

Hi, i have problem with it, cal you help me?

WARN engine ungit@1.5.4: wanted: {"node":">=10.18"} (current: {"node":"8.10.0","npm":"3.5.2"})
WARN engine ungit@1.5.4: wanted: {"node":">=10.18"} (current: {"node":"8.10.0","loadDep:yargs → addNamed ▐ ╢██████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine diff2html@3.1.2: wanted: {"node":">=10.13"} (current: {"node":"8.10.npm ERR! Linux 5.3.0-40-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "ungit"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror http://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /home/direstraits/npm-debug.log

@SeriousM
Copy link
Author

SeriousM commented Feb 28, 2020 via email

@DireStraits01
Copy link

thank you dude, good luck

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