I want to download and then to customize an ungit project. But when I make:
git clone https://github.com/FredrikNoren/ungit
and then
npm install -g ./ungit
I can't run, it throws the following error:
module.js:442
throw err;
^
Error: Cannot find module '../src/config'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/ungit/bin/ungit:4:14)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
When I install it as npm install -g ungit
it works flawlessly. I have tried different versions (tags) but same error.
What am I missing?