TooTallNate / ref

Turn Buffer instances into "pointers"
http://tootallnate.github.com/ref
453 stars 141 forks source link

Module not found error installing ref #16

Closed devaKumaraswamy closed 10 years ago

devaKumaraswamy commented 10 years ago

Trying to move my app from windows to Linux(Centos to be accurate). Initially ran into issues like EPERM etc... But it always occurred around installing ref. So when I try to install ref by itself I get the following error. Any guidance will be helpful.

ref@0.3.2 install /sasusr/u/kumar/slimsasServer/node_modules/ref
> node-gyp rebuild

\
module.js:340
    throw err;
          ^
Error: Cannot find module '../'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/sasusr/u/kumar/node-v0.10.29-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:13:11)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
npm ERR! ref@0.3.2 install: `node-gyp rebuild`
npm ERR! Exit status 8
npm ERR! 
npm ERR! Failed at the ref@0.3.2 install script.
npm ERR! This is most likely a problem with the ref package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls ref
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 2.6.32-358.11.1.el6.x86_64
npm ERR! command "/r/ge.xxx.com/vol/vol610/u61/kumar/sasusr/node-v0.10.29-linux-x64/bin/node" "/r/ge.xxx.com/vol/vol610/u61/kumar/sasusr/node-v0.10.29-linux-x64/bin/npm" "install" "ref"
npm ERR! cwd /sasusr/u/kumar/slimsasServer
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /sasusr/u/kumar/slimsasServer/npm-debug.log
npm ERR! not ok code 0
JazzItUp>
devaKumaraswamy commented 10 years ago

Closing the entry - in retrospect this probably belongs in the node-gyp discussion