pierrec / node-lz4

LZ4 fast compression algorithm for NodeJS
MIT License
438 stars 98 forks source link

xxhash_module not found #24

Closed arcoirislabs closed 9 years ago

arcoirislabs commented 9 years ago

After installing the lz4 from npm, no errors are seen. When used in project shows following error Error: Symbol xxhash_module not found. 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 Object. (C:\Users\ad-ad\xx-xxx\node_modules\lz4\lib\utils.js:4: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 Module.require (module.js:364:17)

Env - Windows 7 (64 bit), Node - v0.10.31

Any prob with my env or the module?

pierrec commented 9 years ago

Hello,

I have never tested this on windows. But it looks like the module did not get compiled for some reason? npm should have done that upon installation... If I get hold of a windows machine, I will test this.

arcoirislabs commented 9 years ago

Thanks.

pierrec commented 9 years ago

Sorry for the very late reply.

It seems you cloned from github directly without installing via npm. In this case you need to do the following extra steps:

npm i node-gyp rebuild

arcoirislabs commented 9 years ago

Thank you Mr. Curto for solving the issue. We will try the the solution. Cheers

-----Original Message----- From: "Pierre Curto" notifications@github.com Sent: ‎08-‎04-‎2015 11:59 PM To: "pierrec/node-lz4" node-lz4@noreply.github.com Cc: "Arcoiris Labs" amey@arcoirislabs.com Subject: Re: [node-lz4] xxhash_module not found (#24)

Closed #24. — Reply to this email directly or view it on GitHub.