You are not logged in.

#1 2016-11-02 01:35:34

Flylowguy
Member
Registered: 2014-12-21
Posts: 8

Atom and APM broken after update to NodeJs

I recently updated NodeJs to version 7.0.0. Whenever I try to use the atom text editor, I get the following error.

module.js:600
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: The module '/usr/lib/node_modules/atom-package-manager/node_modules/git-utils/build/Release/git.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 51. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or`npm install`).
    at Object.Module._extensions..node (module.js:600:18)
    at Module.load (module.js:490:32)
    at tryModuleLoad (module.js:449:12)
    at Function.Module._load (module.js:441:3)
    at Module.require (module.js:500:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/node_modules/git-utils/lib/git.js:8:16)
    at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/node_modules/git-utils/lib/git.js:371:4)
    at Module._compile (module.js:573:32)
    at Object.Module._extensions..js (module.js:582:10)

I tried running "npm install git-utils" which ran successfully. I'm not sure why apm is so broken or what I can do to try and fix it.

Offline

#2 2016-11-02 02:10:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Atom and APM broken after update to NodeJs

What version of Atom?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-11-02 02:20:25

Flylowguy
Member
Registered: 2014-12-21
Posts: 8

Re: Atom and APM broken after update to NodeJs

Atom 1.11.2

Offline

#4 2016-11-02 02:23:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Atom and APM broken after update to NodeJs

File a bug report


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-11-02 10:10:29

cle1109
Member
Registered: 2012-10-15
Posts: 7

Re: Atom and APM broken after update to NodeJs

Offline

Board footer

Powered by FluxBB