bitcoinjs/node-bitcoin-exit — Issue #6: Error executing server.js - wrong ELF class
Author: RobKohr
Created: 2011-12-18 16:00:42+00:00
State: open

Do you know what ELF class means?

sudo node server.js

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: /node/lib/node_modules/bitcoin-p2p/node_modules/buffertools/buffertools.node: wrong ELF class: ELFCLASS64
at Object..node (module.js:416:11)
at Module.load (module.js:336:31)
at Function._load (module.js:297:12)
at require (module.js:348:19)
at Object. (/node/lib/node_modules/bitcoin-p2p/node_modules/buffertools/buffertools.js:1:77)
at Module._compile (module.js:404:26)
at Object..js (module.js:410:10)
at Module.load (module.js:336:31)
at Function._load (module.js:297:12)
at require (module.js:348:19)