question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ungit throws error at startup and quits

See original GitHub issue

I haven’t been able to run ungit since the last update. I get the following error:

internal/modules/cjs/loader.js:596

throw err;
^

Error: Cannot find module 'editions'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
    at Function.Module._load (internal/modules/cjs/loader.js:520:25)
    at Module.require (internal/modules/cjs/loader.js:650:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (C:\Users\<username>\AppData\Roaming\npm\node_modules\ungit\node_modules\getmac\index.js:4:18)
    at Module._compile (internal/modules/cjs/loader.js:702:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
    at Module.load (internal/modules/cjs/loader.js:612:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
    at Function.Module._load (internal/modules/cjs/loader.js:543:3)

The module editions is installed globally, and so is ungit.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:25 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
baluptoncommented, Aug 26, 2018

I’ll see what they say. Regardless, I’ll push up a workaround (using underscores instead of colons) tomorrow. Sorry for the stuff up everyone.

2reactions
baluptoncommented, Sep 3, 2018

getmac 1.4.6 is incoming which will resolve this issue

if you experience it again, clear your npm cache and try again

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git GUI crashes every time it opens a repository - Stack Overflow
By making the Git path C:\prgs\git\PortableGit-1.8.5.2-preview20131230\bin\ come first in my %PATH% , the error message disappeared! No need to ...
Read more >
Chronic fatigue syndrome (CFS) - Better Health Channel
Research clearly demonstrates that ME/CFS is a biological illness, and it is not caused by being unfit or mental health problems.
Read more >
this is a variation on that - this new development leaves us with a ...
this is a variation on that - this new development leaves us with a problem dans le Dictionnaire Collaboratif Anglais - Allemand :...
Read more >
Stories and experiences - iCanQuit
Hi I plan on quitting cold turkey tomorrow, I am in need of some helpful tips to resist the urge to start smoking...
Read more >
Chinese increasingly worried about graft, inequality - survey
... comes ahead of a Communist Party congress starting on November 8, ... a very big problem, up 11 percentage points from four...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found