phidelta/NodeJS-FSEvents — Issue #6: Failed at the fsevents@0.0.2 preinstall script
Author: viatropos
Created: 2011-11-14 04:01:15+00:00
State: open

Hey there,

I was using your lib for a while on node 0.4.7, now I've upgraded to 0.4.11, and now 0.6.1, and I'm getting this error all the time on `npm install fsevents`:

```

> fsevents@0.0.2 preinstall /Users/viatropos/git/plugins/design.io/node_modules/fsevents
> node-waf clean || true; node-waf configure build

Nothing to clean (project not configured)
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /usr/local/lib/node
Checking for node prefix : ok /usr/local/Cellar/node/0.6.1
'configure' finished successfully (0.564s)
Waf: Entering directory `/Users/viatropos/git/plugins/design.io/node_modules/fsevents/build'
[1/2] cxx: nodefsevents.cc -> build/Release/nodefsevents_1.o
../nodefsevents.cc:2:25: error: node_events.h: No such file or directory
../nodefsevents.cc:4:16: error: ev.h: No such file or directory
Waf: Leaving directory `/Users/viatropos/git/plugins/design.io/node_modules/fsevents/build'
Build failed: -> task failed (err #1):
{task: cxx nodefsevents.cc -> nodefsevents_1.o}
npm ERR! error installing fsevents@0.0.2 Error: fsevents@0.0.2 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing fsevents@0.0.2 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing fsevents@0.0.2 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing fsevents@0.0.2 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing fsevents@0.0.2 at maybeExit (child_process.js:359:16)
npm ERR! error installing fsevents@0.0.2 at Process.onexit (child_process.js:395:5)
npm ERR! fsevents@0.0.2 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the fsevents@0.0.2 preinstall script.
npm ERR! This is most likely a problem with the fsevents package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || true; node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls fsevents
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 10.7.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "fsevents"
npm ERR! cwd /Users/viatropos/git/plugins/design.io
npm ERR! node -v v0.6.1
npm ERR! npm -v 1.0.105
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/viatropos/git/plugins/design.io/npm-debug.log
npm not ok
```

Any ideas how to fix this? Thanks for your help.

Lance