Error running readme.js in /samples #7

Open
anandgeorge opened this Issue Feb 16, 2012 · 10 comments

Comments

Projects
None yet
4 participants

Get the following error trying to run the readme.js example

Error: Cannot find module './build/Release/sigar'

Sigar does not seem to be in this directory.

Please help.

Owner

wdavidw commented Feb 16, 2012

george,

how did u install the module and which version of node are u using?

d.

Owner

wdavidw commented Feb 16, 2012

i forgot to also ask you about your os

Hi David,

My OS is Ubuntu 10.04. Used sudo npm install sigar -g. Node version 0.6.8.

Thanks,

On Fri, Feb 17, 2012 at 1:47 AM, Worms David <
reply@reply.github.com

wrote:

i forgot to also ask you about your os


Reply to this email directly or view it on GitHub:
#7 (comment)

Owner

wdavidw commented Feb 17, 2012

it's close from my environment, i'll try to look at this tomorrow. have you try just npm install sigar, without the global argument?

Have tried that option too. Get the same error in both cases. Noticed that
I was getting a similar error installing another module too. That seems to
have been fixed using Node v0.4.7 at runtime. But this option also throws
up the same error with sigar.

On Sat, Feb 18, 2012 at 4:36 AM, Worms David <
reply@reply.github.com

wrote:

it's close from my environment, i'll try to look at this tomorrow. have
you try just npm install sigar, without the global argument?


Reply to this email directly or view it on GitHub:
#7 (comment)

Owner

wdavidw commented Feb 18, 2012

Yes, at that time, it was because the rename to final destination to Release. The binding was generated but just in a different directory. Do you have sth in build, how does it looks like?

Is this repo dead?
Following npm install sigar --save yields the missing build directory error. The repo contains no actual build directory or compiled code, and I don't fancy having to mess around with it when there's no installation instructions beyond that one line.

Owner

wdavidw commented Feb 13, 2015

no using it at the moment but i wouldn't consider it dead. build system need to be aligned with node-gyp

Hello, I am also facing this issue: Error: Cannot find module './build/Release/sigar'. Has there been a fix or is there a workaround?

Owner

wdavidw commented Jul 26, 2016

this was build against node 0.6 or something similar, need some work for current nodejs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment