Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

module version mismatch #62

Closed
technoweenie opened this issue Mar 2, 2014 · 6 comments
Closed

module version mismatch #62

technoweenie opened this issue Mar 2, 2014 · 6 comments

Comments

@technoweenie
Copy link

I get this when running apm:

$ apm version 

/Applications/Atom.app/Contents/Resources/app/node_modules/keytar/node_modules/bindings/bindings.js:83
        throw e
              ^
Error: Module version mismatch. Expected 11, got 13.
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at bindings (/Applications/Atom.app/Contents/Resources/app/node_modules/keytar/node_modules/bindings/bindings.js:76:44)
    at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/node_modules/keytar/lib/keytar.js:4:31)
    at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/node_modules/keytar/lib/keytar.js:58:4)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)

I'm on Atom v0.64.0, and ran the install cli tools command.

@kevinsawicki
Copy link
Contributor

What version of node are you using?

@technoweenie
Copy link
Author

v0.10.21

@kevinsawicki
Copy link
Contributor

Can you run which apm and apm -v as well?

@kevinsawicki
Copy link
Contributor

@technoweenie Can you upgrade to 0.65.0 and see if this issue still exists after Atom is opened post upgrade?

@technoweenie
Copy link
Author

Same thing on Atom 0.65.0. I re-ran "install shell commands".

$ which apm
/opt/boxen/bin/apm

$ ls -al /opt/boxen/bin/apm
lrwxr-xr-x  1 rick  staff  67 Feb  5 10:18 /opt/boxen/bin/apm -> /Applications/Atom.app/Contents/Resources/app/node_modules/.bin/apm

Deleting /opt/boxen/bin/apm seems to work.

$ which apm
/usr/local/bin/apm

$ apm -v
apm  0.24.0
npm  1.4.4
node 0.10.26

@kevinsawicki
Copy link
Contributor

Awesome, yeah, Atom stopped installing to /opt/boxen/bin a few releases ago but never cleaned out the old commands there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants