Giter VIP home page Giter VIP logo

fsevents's Introduction

fsevents

Native access to MacOS FSEvents in Node.js

The FSEvents API in MacOS allows applications to register for notifications of changes to a given directory tree. It is a very fast and lightweight alternative to kqueue.

This is a low-level library. For a cross-platform file watching module that uses fsevents, check out Chokidar.

Usage

npm install fsevents

Supports only Node.js v8.16 and higher.

const fsevents = require('fsevents');

// To start observation
const stop = fsevents.watch(__dirname, (path, flags, id) => {
  const info = fsevents.getInfo(path, flags);
});

// To end observation
stop();

Important note: The API behaviour is slightly different from typical JS APIs. The stop function must be retrieved and stored somewhere, even if you don't plan to stop the watcher. If you forget it, the garbage collector will eventually kick in, the watcher will be unregistered, and your callbacks won't be called anymore.

The callback passed as the second parameter to .watch get's called whenever the operating system detects a a change in the file system. It takes three arguments:

fsevents.watch(dirname: string, (path: string, flags: number, id: string) => void): () => Promise<undefined>
  • path: string - the item in the filesystem that have been changed
  • flags: number - a numeric value describing what the change was
  • id: string - an unique-id identifying this specific event

Returns closer callback which when called returns a Promise resolving when the watcher process has been shut down.

fsevents.getInfo(path: string, flags: number, id: string): FsEventInfo

The getInfo function takes the path, flags and id arguments and converts those parameters into a structure that is easier to digest to determine what the change was.

The FsEventsInfo has the following shape:

/**
 * @typedef {'created'|'modified'|'deleted'|'moved'|'root-changed'|'cloned'|'unknown'} FsEventsEvent
 * @typedef {'file'|'directory'|'symlink'} FsEventsType
 */
{
  "event": "created", // {FsEventsEvent}
  "path": "file.txt",
  "type": "file",    // {FsEventsType}
  "changes": {
    "inode": true,   // Had iNode Meta-Information changed
    "finder": false, // Had Finder Meta-Data changed
    "access": false, // Had access permissions changed
    "xattrs": false  // Had xAttributes changed
  },
  "flags": 0x100000000
}

Changelog

  • v2.3 supports Apple Silicon ARM CPUs
  • v2 supports node 8.16+ and reduces package size massively
  • v1.2.8 supports node 6+
  • v1.2.7 supports node 4+

Troubleshooting

  • I'm getting EBADPLATFORM Unsupported platform for fsevents error.
  • It's fine, nothing is broken. fsevents is macos-only. Other platforms are skipped. If you want to hide this warning, report a bug to NPM bugtracker asking them to hide ebadplatform warnings by default.

License

The MIT License Copyright (C) 2010-2020 by Philipp Dunkel, Ben Noordhuis, Elan Shankar, Paul Miller — see LICENSE file.

Visit our GitHub page and NPM Page

fsevents's People

Contributors

aleksanb avatar andreialecu avatar arcanis avatar aredridel avatar arikon avatar armed avatar bajtos avatar bnoordhuis avatar cclauss avatar chanced avatar elia avatar es128 avatar fengmk2 avatar fenichelar avatar fitztrev avatar henje avatar indieisaconcept avatar ofrobots avatar paulmillr avatar pdunkel avatar pietermees avatar pipobscure avatar pmq20 avatar rdil avatar realityking avatar romanhotsiy avatar shinnn avatar simenb avatar southpolesteve avatar valera-rozuvan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fsevents's Issues

Errors installing using io.js 3.0.0

Trying to install fsevents 0.3.7 using io.js 3.0.0 and npm 2.13.3 (both installed via the OS X package from iojs.org), and I'm getting the following errors:

$ npm i fsevents

> [email protected] install /Users/rgrove/tmp/node_modules/fsevents
> node-gyp rebuild

  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:324:27: error: redefinition of 'NanEnsureHandleOrPersistent'
  NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) {
                          ^
../node_modules/nan/nan.h:319:17: note: previous definition is here
  v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {
                ^
../node_modules/nan/nan.h:344:27: error: redefinition of 'NanEnsureLocal'
  NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) {
                          ^
../node_modules/nan/nan.h:334:27: note: previous definition is here
  NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Local<T> &val) {
                          ^
../node_modules/nan/nan.h:757:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../node_modules/nan/nan.h:768:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/rgrove/.node-gyp/3.0.0/include/node/node_buffer.h:35:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/rgrove/.node-gyp/3.0.0/include/node/node_buffer.h:47:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/rgrove/.node-gyp/3.0.0/include/node/node_buffer.h:32:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/rgrove/.node-gyp/3.0.0/include/node/node_buffer.h:40:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:772:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument
class Local {
      ^
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
class Local {
      ^
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:327:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'
  V8_INLINE Local(S* that)
            ^
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:779:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/rgrove/.node-gyp/3.0.0/include/node/node.h:42:
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:501:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/rgrove/.node-gyp/3.0.0/include/node/node.h:42:
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:511:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/rgrove/.node-gyp/3.0.0/include/node/node.h:42:
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1645:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/rgrove/.node-gyp/3.0.0/include/node/node.h:42:
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/rgrove/.node-gyp/3.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1776:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
    return NanEscapeScope(
           ^
../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))
                             ^
10 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.0.0
gyp ERR! command "/usr/local/bin/iojs" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/rgrove/tmp/node_modules/fsevents
gyp ERR! node -v v3.0.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "i" "fsevents"
npm ERR! node v3.0.0
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls fsevents
npm ERR! There is likely additional logging output above.

I don't know anything about node-gyp, but I'm happy to provide any information necessary to help debug.

cannot install on Yosemite with XCode 6

$  npm install fsevents
 [email protected] install /usr/local/lib/node_modules/fsevents
> node-gyp rebuild

child_process: customFds option is deprecated, use stdio instead.
  SOLINK_MODULE(target) Release/.node
  SOLINK_MODULE(target) Release/.node: Finished
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from /usr/include/dispatch/dispatch.h:51:0,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,
                 from ../fsevents.cc:10:
/usr/include/dispatch/object.h:143:15: error: expected unqualified-id before '^' token
 typedef void (^dispatch_block_t)(void);
               ^
/usr/include/dispatch/object.h:143:15: error: expected ')' before '^' token
/usr/include/dispatch/object.h:362:3: error: 'dispatch_block_t' has not been declared
   dispatch_block_t notification_block);
   ^

fsevents not watching directories (in some weird circumstances)

The issue is coming from Karma / chokidar.
Sometimes, watching a directory does not trigger any event.

Here is a code that reproduce the issue (always; on my machine):
https://gist.github.com/vojtajina/8076226

There is some sort of race condition going on, because:

  1. if you set ignoreInitial to false, it will work (that is a chokidar option)
  2. if you don't fetch the socket.io.js it will also work (note, that socket.io does generate that socket.io.js file once you request it, because it only include code that you need, based on your configuration, that's why fetching/not-fetching the file matters)

Also, if you run the code as it is, very often you will see the #16 crash, if you do 1. or 2., you won't see this crash. It might be related.

MacBook Pro, OS 10.9, node 0.10.13 (0.10.22 behaves the same).
Originally started as paulmillr/chokidar#87

//cc @paulmillr

Failed at the [email protected] preinstall script

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:


> [email protected] 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 [email protected] Error: [email protected] preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing [email protected] `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing [email protected]     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected]     at ChildProcess.emit (events.js:70:17)
npm ERR! error installing [email protected]     at maybeExit (child_process.js:359:16)
npm ERR! error installing [email protected]     at Process.onexit (child_process.js:395:5)
npm ERR! [email protected] 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 [email protected] 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

Only works in REPL

So I think the previous issue I posted wasn't detailed right. I did some more testing and I found that the following code works fine in the repl (running just "node", then pasting the code in), but doesn't trigger any events when I put the code in a .js file and run it with: node test.js)

var fsevents = require('fsevents');
var watcher = fsevents('/Users/ryanstout/Sites/infinitydrive/drive');

watcher.on('fsevent', function(path) { console.log(path); });
watcher.start();

Another person on the #node.js irc channel confirmed the issue on their machine.

Thanks

iojs 3.0.0 support

iojs --version
v3.0.0

npm --version
2.13.4

I do this:

npm install --save-dev forever

Part of output:

> [email protected] install /Users/dsxack/workspace/src/unpublished/forever-test/node_modules/forever/node_modules/forever-monitor/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

gyp: /Users/dsxack/.node-gyp/3.0.0/common.gypi not found (cwd: /Users/dsxack/workspace/src/unpublished/forever-test/node_modules/forever/node_modules/forever-monitor/node_modules/chokidar/node_modules/fsevents) while reading includes of binding.gyp while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/dsxack/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:357:16)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.4.0
gyp ERR! command "/Users/dsxack/.nvm/versions/io.js/v3.0.0/bin/iojs" "/Users/dsxack/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/dsxack/workspace/src/unpublished/forever-test/node_modules/forever/node_modules/forever-monitor/node_modules/chokidar/node_modules/fsevents
gyp ERR! node -v v3.0.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm WARN optional dep failed, continuing [email protected]

I found #49, but i dont understand, how to use pangyp for this case

0.3.8 broke install

I just got fsevents installed by some other package and it broke the install as of the latest release that was just published.

> node-gyp rebuild

  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:2104:
../node_modules/nan/nan_weak.h:363:42: error: cannot create a non-constant pointer to member function
    v8::PersistentBase<T>::SetWeak(wcbd, wcbd->invoke);
                                         ^~~~~~~~~~~~
../node_modules/nan/nan_object_wrap.h:56:18: note: in instantiation of function template specialization 'Nan::Persistent<v8::Object,
      v8::NonCopyablePersistentTraits<v8::Object> >::SetWeak<Nan::ObjectWrap>' requested here
    persistent().SetWeak(this, WeakCallback, WeakCallbackType::kParameter);
                 ^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:2104:
../node_modules/nan/nan_weak.h:378:42: error: cannot create a non-constant pointer to member function
    v8::PersistentBase<T>::SetWeak(wcbd, wcbd->invoke);
                                         ^~~~~~~~~~~~
2 errors generated.

npm install fails with io.js 2.0.0

zaggino-mac:temp zaggino$ node --version
v2.0.0
zaggino-mac:temp zaggino$ npm install fsevents
|
> [email protected] install /Users/zaggino/github/temp/node_modules/fsevents
> node-gyp rebuild

  SOLINK_MODULE(target) Release/.node
  SOLINK_MODULE(target) Release/.node: Finished
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:74:
In file included from ../node_modules/nan/nan_new.h:181:
../node_modules/nan/nan_implementation_12_inl.h:172:66: error: too many arguments to function call, expected at most 2, have 4
  return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
         ~~~~~~~~~~~~~~~~~~                                      ^~~~~~~~~~
/Users/zaggino/.node-gyp/2.0.0/deps/v8/include/v8.h:4188:3: note: 'New' declared here
  static Local<Signature> New(
  ^
1 error generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:169:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1009:12)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "/usr/local/bin/iojs" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/zaggino/github/temp/node_modules/fsevents
gyp ERR! node -v v2.0.0
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Darwin 14.3.0
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "install" "fsevents"
npm ERR! node v2.0.0
npm ERR! npm  v2.9.0
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls fsevents
npm ERR! There is likely additional logging output above.

0.3.8 introduces a segfault

We've started seeing people experience this again today with the release [email protected].

segmentation fault 11

This was resolved in [email protected] which I have confirmed locally.
However my research shows that it was reintroduced in [email protected] with the introduction of nan@2.

My investigation is in sass/node-sass#1107 (comment)

The segfaults stacktrace is

PID 47259 received SIGSEGV for address: 0x46
0   segfault-handler.node               0x00000001033c390f _ZL16segfault_handleriP9__siginfoPv + 287
1   libsystem_platform.dylib            0x00007fff8e80a5aa _sigtramp + 26
2   ???                                 0x0000000103429870 0x0 + 4349663344
3   fse.node                            0x00000001035d8616 _ZN3Nan3imp10GetWrapperIPFvRKNS_20FunctionCallbackInfoIN2v85ValueEEEENS0_15FunctionWrapperEEEPT0_T_ + 142
4   fse.node                            0x00000001035d7a40 _ZN3fse8FSEvents10InitializeEN2v86HandleINS1_6ObjectEEE + 194
5   node                                0x0000000100601047 _ZN4node6DLOpenERKN2v820FunctionCallbackInfoINS0_5ValueEEE + 725
6   node                                0x00000001001749ee _ZN2v88internal25FunctionCallbackArguments4CallEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEE + 158
7   node                                0x000000010019c97b _ZN2v88internalL19HandleApiCallHelperILb0EEENS0_11MaybeHandleINS0_6ObjectEEEPNS0_7IsolateERNS0_12_GLOBAL__N_116BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEE + 811
8   node                                0x000000010019f1cd _ZN2v88internalL21Builtin_HandleApiCallEiPPNS0_6ObjectEPNS0_7IsolateE + 61
9   ???                                 0x0000340e442060bb 0x0 + 57235877159099

My system

$ node -v
v2.5.0
$ npm -v
2.13.2
$ node -p process.versions
{ http_parser: '2.5.0',
  node: '2.5.0',
  v8: '4.2.77.21',
  uv: '1.6.1',
  zlib: '1.2.8',
  ares: '1.10.1-DEV',
  modules: '44',
  openssl: '1.0.2d' }
$ node -p process.platform
darwin
$ node -p process.arch
x64

io.js support

nodejs/node#456

> [email protected] install /usr/local/lib/node_modules/6to5/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp http GET http://nodejs.org/dist/v1.0.1/node-v1.0.1.tar.gz
gyp http 404 http://nodejs.org/dist/v1.0.1/node-v1.0.1.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 404 status code downloading tarball
gyp ERR! stack     at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:246:14)
gyp ERR! stack     at Request.emit (events.js:117:20)
gyp ERR! stack     at Request.onRequestResponse (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1255:10)
gyp ERR! stack     at ClientRequest.emit (events.js:95:17)
gyp ERR! stack     at HTTPParser.parserOnIncomingClient (_http_client.js:399:21)
gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:89:23)
gyp ERR! stack     at Socket.socketOnData (_http_client.js:290:20)
gyp ERR! stack     at Socket.emit (events.js:95:17)
gyp ERR! stack     at readableAddChunk (_stream_readable.js:143:16)
gyp ERR! stack     at Socket.Readable.push (_stream_readable.js:106:10)
gyp ERR! System Darwin 14.1.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/6to5/node_modules/chokidar/node_modules/fsevents
gyp ERR! node -v v1.0.1
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok

osx 10.11 Beta (15A262e) npm install error

node-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-g', 'fsevents' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink /usr/local/bin/node
5 silly cache add args [ 'fsevents', null ]
6 verbose cache add spec fsevents
7 silly cache add parsed spec { raw: 'fsevents',
7 silly cache add scope: null,
7 silly cache add name: 'fsevents',
7 silly cache add rawSpec: '',
7 silly cache add spec: '',
7 silly cache add type: 'range' }
8 verbose addNamed fsevents@

9 silly addNamed semver.valid null
10 silly addNamed semver.validRange *
11 silly addNameRange { name: 'fsevents', range: '', hasData: false }
12 silly mapToRegistry name fsevents
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry uri https://registry.npmjs.org/fsevents
16 verbose addNameRange registry:https://registry.npmjs.org/fsevents not in flight; fetching
17 verbose request uri https://registry.npmjs.org/fsevents
18 verbose request no auth needed
19 info attempt registry request try #1 at 07:40:03
20 verbose request id 79a7509d38b06688
21 verbose etag "COXOGCLNIP8YR51ECWUMBY33U"
22 http request GET https://registry.npmjs.org/fsevents
23 http 304 https://registry.npmjs.org/fsevents
24 silly get cb [ 304,
24 silly get { date: 'Thu, 27 Aug 2015 23:40:04 GMT',
24 silly get via: '1.1 varnish',
24 silly get 'cache-control': 'max-age=60',
24 silly get etag: '"COXOGCLNIP8YR51ECWUMBY33U"',
24 silly get age: '0',
24 silly get connection: 'keep-alive',
24 silly get 'x-served-by': 'cache-nrt6126-NRT',
24 silly get 'x-cache': 'HIT',
24 silly get 'x-cache-hits': '1',
24 silly get 'x-timer': 'S1440718804.053756,VS0,VE467',
24 silly get vary: 'Accept' } ]
25 verbose etag https://registry.npmjs.org/fsevents from cache
26 verbose get saving fsevents to /Users/zz/.npm/registry.npmjs.org/fsevents/.cache.json
27 silly addNameRange number 2 { name: 'fsevents', range: '
', hasData: true }
28 silly addNameRange versions [ 'fsevents',
28 silly addNameRange [ '0.1.1',
28 silly addNameRange '0.1.3',
28 silly addNameRange '0.1.4',
28 silly addNameRange '0.1.5',
28 silly addNameRange '0.1.6',
28 silly addNameRange '0.2.0',
28 silly addNameRange '0.3.0',
28 silly addNameRange '0.3.1',
28 silly addNameRange '0.3.2',
28 silly addNameRange '0.3.3',
28 silly addNameRange '0.3.4',
28 silly addNameRange '0.3.5',
28 silly addNameRange '0.3.6',
28 silly addNameRange '0.3.7',
28 silly addNameRange '0.3.8' ] ]
29 verbose addNamed [email protected]
30 silly addNamed semver.valid 0.3.8
31 silly addNamed semver.validRange 0.3.8
32 silly cache afterAdd [email protected]
33 verbose afterAdd /Users/zz/.npm/fsevents/0.3.8/package/package.json not in flight; writing
34 verbose afterAdd /Users/zz/.npm/fsevents/0.3.8/package/package.json written
35 silly install resolved [ { name: 'fsevents',
35 silly install resolved version: '0.3.8',
35 silly install resolved description: 'Native Access to Mac OS-X FSEvents',
35 silly install resolved main: 'fsevents.js',
35 silly install resolved dependencies: { nan: '^2.0.2' },
35 silly install resolved os: [ 'darwin' ],
35 silly install resolved engines: { node: '>=0.8.0' },
35 silly install resolved scripts: { test: 'tap ./test', install: 'node-gyp rebuild' },
35 silly install resolved repository:
35 silly install resolved { type: 'git',
35 silly install resolved url: 'git+https://github.com/strongloop/fsevents.git' },
35 silly install resolved keywords: [ 'fsevents', 'mac' ],
35 silly install resolved author: { name: 'Philipp Dunkel', email: '[email protected]' },
35 silly install resolved license: 'MIT',
35 silly install resolved bugs: { url: 'https://github.com/strongloop/fsevents/issues' },
35 silly install resolved homepage: 'https://github.com/strongloop/fsevents',
35 silly install resolved devDependencies: { tap: '~0.4.8' },
35 silly install resolved gypfile: true,
35 silly install resolved gitHead: 'f24d1478198676908c646b5b2b4975786dd2954b',
35 silly install resolved _id: '[email protected]',
35 silly install resolved _shasum: '9992f1032c925c829554d0d59801dca0313a5356',
35 silly install resolved from: 'fsevents@',
35 silly install resolved _npmVersion: '2.11.3',
35 silly install resolved _nodeVersion: '2.3.2',
35 silly install resolved _npmUser: { name: 'bnoordhuis', email: '[email protected]' },
35 silly install resolved maintainers: [ [Object], [Object], [Object], [Object] ],
35 silly install resolved dist:
35 silly install resolved { shasum: '9992f1032c925c829554d0d59801dca0313a5356',
35 silly install resolved size: 7398,
35 silly install resolved noattachment: false,
35 silly install resolved tarball: 'http://registry.npm.taobao.org/fsevents/download/fsevents-0.3.8.tgz' },
35 silly install resolved directories: {},
35 silly install resolved publish_time: 1438894420505,
35 silly install resolved _cnpm_publish_time: 1438894420505,
35 silly install resolved _resolved: 'https://registry.npm.taobao.org/fsevents/download/fsevents-0.3.8.tgz',
35 silly install resolved readme: 'ERROR: No README data found!' } ]
36 info install [email protected] into /usr/local/lib
37 info installOne [email protected]
38 verbose installOne of fsevents to /usr/local/lib not in flight; installing
39 verbose lock using /Users/zz/.npm/locks/fsevents-d63d94cccebff5a8.lock for /usr/local/lib/node_modules/fsevents
40 silly install write writing fsevents 0.3.8 to /usr/local/lib/node_modules/fsevents
41 silly cache addNamed cb [email protected]
42 verbose unbuild lib/node_modules/fsevents
43 silly gentlyRm /usr/local/lib/node_modules/fsevents is being purged from base /usr/local
44 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/fsevents
45 verbose tar unpack /Users/zz/.npm/fsevents/0.3.8/package.tgz
46 verbose tar unpacking to /usr/local/lib/node_modules/fsevents
47 silly gentlyRm /usr/local/lib/node_modules/fsevents is being purged
48 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/fsevents
49 silly gunzTarPerm modes [ '755', '644' ]
50 silly gunzTarPerm extractEntry package.json
51 silly gunzTarPerm extractEntry .npmignore
52 silly gunzTarPerm extractEntry LICENSE
53 silly gunzTarPerm extractEntry fsevents.js
54 silly gunzTarPerm extractEntry Readme.md
55 silly gunzTarPerm extractEntry .travis.yml
56 silly gunzTarPerm extractEntry fsevents.cc
57 silly gunzTarPerm extractEntry CHANGELOG.md
58 silly gunzTarPerm extractEntry test/fsevents.js
59 silly gunzTarPerm extractEntry test/function.js
60 silly gunzTarPerm extractEntry src/async.cc
61 silly gunzTarPerm extractEntry src/constants.cc
62 silly gunzTarPerm extractEntry src/locking.cc
63 silly gunzTarPerm extractEntry src/methods.cc
64 silly gunzTarPerm extractEntry src/storage.cc
65 silly gunzTarPerm extractEntry src/thread.cc
66 silly gunzTarPerm extractEntry binding.gyp
67 info preinstall [email protected]
68 silly prepareForInstallMany adding nan@^2.0.2 from fsevents dependencies
69 silly cache add args [ 'nan@^2.0.2', null ]
70 verbose cache add spec nan@^2.0.2
71 silly cache add parsed spec { raw: 'nan@^2.0.2',
71 silly cache add scope: null,
71 silly cache add name: 'nan',
71 silly cache add rawSpec: '^2.0.2',
71 silly cache add spec: '>=2.0.2 <3.0.0',
71 silly cache add type: 'range' }
72 verbose addNamed nan@>=2.0.2 <3.0.0
73 silly addNamed semver.valid null
74 silly addNamed semver.validRange >=2.0.2 <3.0.0
75 silly addNameRange { name: 'nan', range: '>=2.0.2 <3.0.0', hasData: false }
76 silly mapToRegistry name nan
77 silly mapToRegistry using default registry
78 silly mapToRegistry registry https://registry.npmjs.org/
79 silly mapToRegistry uri https://registry.npmjs.org/nan
80 verbose addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching
81 verbose request uri https://registry.npmjs.org/nan
82 verbose request no auth needed
83 info attempt registry request try #1 at 07:40:04
84 verbose etag "1E9ZPWSY0D5J95SNERYY3JUEX"
85 http request GET https://registry.npmjs.org/nan
86 http 304 https://registry.npmjs.org/nan
87 silly get cb [ 304,
87 silly get { date: 'Thu, 27 Aug 2015 23:40:04 GMT',
87 silly get via: '1.1 varnish',
87 silly get 'cache-control': 'max-age=60',
87 silly get etag: '"1E9ZPWSY0D5J95SNERYY3JUEX"',
87 silly get age: '0',
87 silly get connection: 'keep-alive',
87 silly get 'x-served-by': 'cache-nrt6130-NRT',
87 silly get 'x-cache': 'HIT',
87 silly get 'x-cache-hits': '1',
87 silly get 'x-timer': 'S1440718804.782633,VS0,VE503',
87 silly get vary: 'Accept' } ]
88 verbose etag https://registry.npmjs.org/nan from cache
89 verbose get saving nan to /Users/zz/.npm/registry.npmjs.org/nan/.cache.json
90 silly addNameRange number 2 { name: 'nan', range: '>=2.0.2 <3.0.0', hasData: true }
91 silly addNameRange versions [ 'nan',
91 silly addNameRange [ '0.3.0-wip',
91 silly addNameRange '0.3.0-wip2',
91 silly addNameRange '0.3.0',
91 silly addNameRange '0.3.1',
91 silly addNameRange '0.3.2',
91 silly addNameRange '0.4.0',
91 silly addNameRange '0.4.1',
91 silly addNameRange '0.4.2',
91 silly addNameRange '0.4.3',
91 silly addNameRange '0.4.4',
91 silly addNameRange '0.5.0',
91 silly addNameRange '0.5.1',
91 silly addNameRange '0.5.2',
91 silly addNameRange '0.6.0',
91 silly addNameRange '0.7.0',
91 silly addNameRange '0.7.1',
91 silly addNameRange '0.8.0',
91 silly addNameRange '1.0.0',
91 silly addNameRange '1.1.0',
91 silly addNameRange '1.1.1',
91 silly addNameRange '1.1.2',
91 silly addNameRange '1.2.0',
91 silly addNameRange '1.3.0',
91 silly addNameRange '1.4.0',
91 silly addNameRange '1.4.1',
91 silly addNameRange '1.5.0',
91 silly addNameRange '1.4.2',
91 silly addNameRange '1.4.3',
91 silly addNameRange '1.5.1',
91 silly addNameRange '1.5.2',
91 silly addNameRange '1.6.0',
91 silly addNameRange '1.5.3',
91 silly addNameRange '1.6.1',
91 silly addNameRange '1.6.2',
91 silly addNameRange '1.7.0',
91 silly addNameRange '1.8.0',
91 silly addNameRange '1.8.1',
91 silly addNameRange '1.8.2',
91 silly addNameRange '1.8.3',
91 silly addNameRange '1.8.4',
91 silly addNameRange '1.9.0',
91 silly addNameRange '2.0.0',
91 silly addNameRange '2.0.1',
91 silly addNameRange '2.0.2',
91 silly addNameRange '2.0.3',
91 silly addNameRange '2.0.4',
91 silly addNameRange '2.0.5',
91 silly addNameRange '2.0.6',
91 silly addNameRange '2.0.7' ] ]
92 verbose addNamed [email protected]
93 silly addNamed semver.valid 2.0.7
94 silly addNamed semver.validRange 2.0.7
95 silly cache afterAdd [email protected]
96 verbose afterAdd /Users/zz/.npm/nan/2.0.7/package/package.json not in flight; writing
97 verbose afterAdd /Users/zz/.npm/nan/2.0.7/package/package.json written
98 silly install resolved [ { name: 'nan',
98 silly install resolved version: '2.0.7',
98 silly install resolved description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',
98 silly install resolved main: 'include_dirs.js',
98 silly install resolved repository: { type: 'git', url: 'git://github.com/nodejs/nan.git' },
98 silly install resolved scripts:
98 silly install resolved { test: 'tap --gc test/js/
-test.js',
98 silly install resolved 'rebuild-tests': 'pangyp rebuild --msvs_version=2013 --directory test',
98 silly install resolved docs: 'doc/.build.sh' },
98 silly install resolved contributors:
98 silly install resolved [ [Object],
98 silly install resolved [Object],
98 silly install resolved [Object],
98 silly install resolved [Object],
98 silly install resolved [Object],
98 silly install resolved [Object],
98 silly install resolved [Object] ],
98 silly install resolved devDependencies:
98 silly install resolved { bindings: '~1.2.1',
98 silly install resolved commander: '^2.8.1',
98 silly install resolved glob: '^5.0.14',
98 silly install resolved 'node-gyp': '~2.0.2',
98 silly install resolved pangyp: '~2.2.0',
98 silly install resolved tap: '~0.7.1',
98 silly install resolved xtend: '~4.0.0' },
98 silly install resolved license: 'MIT',
98 silly install resolved gitHead: 'c68f4bee08ceca279f264903f2b91b54e6e5e168',
98 silly install resolved bugs: { url: 'https://github.com/nodejs/nan/issues' },
98 silly install resolved homepage: 'https://github.com/nodejs/nan#readme',
98 silly install resolved _id: '[email protected]',
98 silly install resolved _shasum: 'c726ce45dbd863b46234e4dfe5bf02d0cb309cd8',
98 silly install resolved _from: 'nan@>=2.0.2 <3.0.0',
98 silly install resolved _npmVersion: '2.13.3',
98 silly install resolved _nodeVersion: '3.0.0',
98 silly install resolved _npmUser: { name: 'kkoopa', email: '[email protected]' },
98 silly install resolved maintainers: [ [Object], [Object] ],
98 silly install resolved dist:
98 silly install resolved { shasum: 'c726ce45dbd863b46234e4dfe5bf02d0cb309cd8',
98 silly install resolved tarball: 'http://registry.npmjs.org/nan/-/nan-2.0.7.tgz' },
98 silly install resolved directories: {},
98 silly install resolved _resolved: 'https://registry.npmjs.org/nan/-/nan-2.0.7.tgz',
98 silly install resolved readme: 'ERROR: No README data found!' } ]
99 info install [email protected] into /usr/local/lib/node_modules/fsevents
100 info installOne [email protected]
101 verbose installOne of nan to /usr/local/lib/node_modules/fsevents not in flight; installing
102 verbose lock using /Users/zz/.npm/_locks/nan-8a1173ba4b3c50c9.lock for /usr/local/lib/node_modules/fsevents/node_modules/nan
103 silly install write writing nan 2.0.7 to /usr/local/lib/node_modules/fsevents/node_modules/nan
104 silly cache addNamed cb [email protected]
105 verbose unbuild lib/node_modules/fsevents/node_modules/nan
106 silly gentlyRm /usr/local/lib/node_modules/fsevents/node_modules/nan is being purged from base /usr/local
107 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/fsevents/node_modules/nan
108 verbose tar unpack /Users/zz/.npm/nan/2.0.7/package.tgz
109 verbose tar unpacking to /usr/local/lib/node_modules/fsevents/node_modules/nan
110 silly gentlyRm /usr/local/lib/node_modules/fsevents/node_modules/nan is being purged
111 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/fsevents/node_modules/nan
112 silly gunzTarPerm modes [ '755', '644' ]
113 silly gunzTarPerm extractEntry package.json
114 silly gunzTarPerm modified mode [ 'package.json', 436, 420 ]
115 silly gunzTarPerm extractEntry README.md
116 silly gunzTarPerm modified mode [ 'README.md', 436, 420 ]
117 silly gunzTarPerm extractEntry include_dirs.js
118 silly gunzTarPerm modified mode [ 'include_dirs.js', 436, 420 ]
119 silly gunzTarPerm extractEntry nan_converters.h
120 silly gunzTarPerm modified mode [ 'nan_converters.h', 436, 420 ]
121 silly gunzTarPerm extractEntry LICENSE.md
122 silly gunzTarPerm modified mode [ 'LICENSE.md', 436, 420 ]
123 silly gunzTarPerm extractEntry .dntrc
124 silly gunzTarPerm modified mode [ '.dntrc', 436, 420 ]
125 silly gunzTarPerm extractEntry appveyor.yml
126 silly gunzTarPerm modified mode [ 'appveyor.yml', 436, 420 ]
127 silly gunzTarPerm extractEntry doc/new.md
128 silly gunzTarPerm modified mode [ 'doc/new.md', 436, 420 ]
129 silly gunzTarPerm extractEntry doc/.build.sh
130 silly gunzTarPerm modified mode [ 'doc/.build.sh', 509, 493 ]
131 silly gunzTarPerm extractEntry doc/buffers.md
132 silly gunzTarPerm modified mode [ 'doc/buffers.md', 436, 420 ]
133 silly gunzTarPerm extractEntry doc/callback.md
134 silly gunzTarPerm modified mode [ 'doc/callback.md', 436, 420 ]
135 silly gunzTarPerm extractEntry doc/converters.md
136 silly gunzTarPerm modified mode [ 'doc/converters.md', 436, 420 ]
137 silly gunzTarPerm extractEntry doc/errors.md
138 silly gunzTarPerm modified mode [ 'doc/errors.md', 436, 420 ]
139 silly gunzTarPerm extractEntry doc/maybe_types.md
140 silly gunzTarPerm modified mode [ 'doc/maybe_types.md', 436, 420 ]
141 silly gunzTarPerm extractEntry doc/methods.md
142 silly gunzTarPerm modified mode [ 'doc/methods.md', 436, 420 ]
143 silly gunzTarPerm extractEntry doc/asyncworker.md
144 silly gunzTarPerm modified mode [ 'doc/asyncworker.md', 436, 420 ]
145 silly gunzTarPerm extractEntry doc/node_misc.md
146 silly gunzTarPerm modified mode [ 'doc/node_misc.md', 436, 420 ]
147 silly gunzTarPerm extractEntry doc/persistent.md
148 silly gunzTarPerm modified mode [ 'doc/persistent.md', 436, 420 ]
149 silly gunzTarPerm extractEntry doc/scopes.md
150 silly gunzTarPerm modified mode [ 'doc/scopes.md', 436, 420 ]
151 silly gunzTarPerm extractEntry doc/script.md
152 silly gunzTarPerm modified mode [ 'doc/script.md', 436, 420 ]
153 silly gunzTarPerm extractEntry doc/string_bytes.md
154 silly gunzTarPerm modified mode [ 'doc/string_bytes.md', 436, 420 ]
155 silly gunzTarPerm extractEntry doc/v8_internals.md
156 silly gunzTarPerm modified mode [ 'doc/v8_internals.md', 436, 420 ]
157 silly gunzTarPerm extractEntry doc/v8_misc.md
158 silly gunzTarPerm modified mode [ 'doc/v8_misc.md', 436, 420 ]
159 silly gunzTarPerm extractEntry nan.h
160 silly gunzTarPerm modified mode [ 'nan.h', 436, 420 ]
161 silly gunzTarPerm extractEntry nan_callbacks.h
162 silly gunzTarPerm modified mode [ 'nan_callbacks.h', 436, 420 ]
163 silly gunzTarPerm extractEntry nan_callbacks_12_inl.h
164 silly gunzTarPerm modified mode [ 'nan_callbacks_12_inl.h', 436, 420 ]
165 silly gunzTarPerm extractEntry nan_callbacks_pre_12_inl.h
166 silly gunzTarPerm modified mode [ 'nan_callbacks_pre_12_inl.h', 436, 420 ]
167 silly gunzTarPerm extractEntry nan_converters_43_inl.h
168 silly gunzTarPerm modified mode [ 'nan_converters_43_inl.h', 436, 420 ]
169 silly gunzTarPerm extractEntry nan_converters_pre_43_inl.h
170 silly gunzTarPerm modified mode [ 'nan_converters_pre_43_inl.h', 436, 420 ]
171 silly gunzTarPerm extractEntry nan_implementation_12_inl.h
172 silly gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 420 ]
173 silly gunzTarPerm extractEntry nan_implementation_pre_12_inl.h
174 silly gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 420 ]
175 silly gunzTarPerm extractEntry nan_maybe_43_inl.h
176 silly gunzTarPerm modified mode [ 'nan_maybe_43_inl.h', 436, 420 ]
177 silly gunzTarPerm extractEntry nan_maybe_pre_43_inl.h
178 silly gunzTarPerm modified mode [ 'nan_maybe_pre_43_inl.h', 436, 420 ]
179 silly gunzTarPerm extractEntry nan_new.h
180 silly gunzTarPerm modified mode [ 'nan_new.h', 436, 420 ]
181 silly gunzTarPerm extractEntry nan_object_wrap.h
182 silly gunzTarPerm modified mode [ 'nan_object_wrap.h', 436, 420 ]
183 silly gunzTarPerm extractEntry nan_persistent_12_inl.h
184 silly gunzTarPerm modified mode [ 'nan_persistent_12_inl.h', 436, 420 ]
185 silly gunzTarPerm extractEntry nan_persistent_pre_12_inl.h
186 silly gunzTarPerm modified mode [ 'nan_persistent_pre_12_inl.h', 436, 420 ]
187 silly gunzTarPerm extractEntry nan_string_bytes.h
188 silly gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 420 ]
189 silly gunzTarPerm extractEntry nan_weak.h
190 silly gunzTarPerm modified mode [ 'nan_weak.h', 436, 420 ]
191 silly gunzTarPerm extractEntry CHANGELOG.md
192 silly gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 420 ]
193 silly gunzTarPerm extractEntry tools/package.json
194 silly gunzTarPerm modified mode [ 'tools/package.json', 436, 420 ]
195 silly gunzTarPerm extractEntry tools/README.md
196 silly gunzTarPerm modified mode [ 'tools/README.md', 436, 420 ]
197 silly gunzTarPerm extractEntry tools/1to2.js
198 silly gunzTarPerm modified mode [ 'tools/1to2.js', 509, 493 ]
199 info preinstall [email protected]
200 silly install resolved []
201 verbose about to build /usr/local/lib/node_modules/fsevents/node_modules/nan
202 info build /usr/local/lib/node_modules/fsevents/node_modules/nan
203 verbose linkStuff [ true,
203 verbose linkStuff '/usr/local/lib/node_modules',
203 verbose linkStuff false,
203 verbose linkStuff '/usr/local/lib/node_modules/fsevents/node_modules' ]
204 info linkStuff [email protected]
205 verbose linkBins [email protected]
206 verbose linkMans [email protected]
207 verbose rebuildBundles [email protected]
208 info install [email protected]
209 info postinstall [email protected]
210 verbose unlock done using /Users/zz/.npm/_locks/nan-8a1173ba4b3c50c9.lock for /usr/local/lib/node_modules/fsevents/node_modules/nan
211 verbose about to build /usr/local/lib/node_modules/fsevents
212 info build /usr/local/lib/node_modules/fsevents
213 verbose linkStuff [ true,
213 verbose linkStuff '/usr/local/lib/node_modules',
213 verbose linkStuff true,
213 verbose linkStuff '/usr/local/lib/node_modules' ]
214 info linkStuff [email protected]
215 verbose linkBins [email protected]
216 verbose linkMans [email protected]
217 verbose rebuildBundles [email protected]
218 verbose rebuildBundles [ 'nan' ]
219 info install [email protected]
220 verbose unsafe-perm in lifecycle true
221 info [email protected] Failed to exec install script
222 verbose unlock done using /Users/zz/.npm/_locks/fsevents-d63d94cccebff5a8.lock for /usr/local/lib/node_modules/fsevents
223 verbose stack Error: [email protected] install: node-gyp rebuild
223 verbose stack Exit status 1
223 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
223 verbose stack at EventEmitter.emit (events.js:110:17)
223 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:14:12)
223 verbose stack at ChildProcess.emit (events.js:110:17)
223 verbose stack at maybeClose (child_process.js:1015:16)
223 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
224 verbose pkgid [email protected]
225 verbose cwd /Users/zz/github/webpack
226 error Darwin 15.0.0
227 error argv "node" "/usr/local/bin/npm" "install" "-g" "fsevents"
228 error node v0.12.2
229 error npm v2.7.5
230 error code ELIFECYCLE
231 error [email protected] install: node-gyp rebuild
231 error Exit status 1
232 error Failed at the [email protected] install script 'node-gyp rebuild'.
232 error This is most likely a problem with the fsevents package,
232 error not with npm itself.
232 error Tell the author that this fails on your system:
232 error node-gyp rebuild
232 error You can get their info via:
232 error npm owner ls fsevents
232 error There is likely additional logging output above.
233 verbose exit [ 1, true ]
234 verbose unbuild lib/node_modules/fsevents
235 info preuninstall [email protected]
236 info uninstall [email protected]
237 verbose unbuild rmStuff [email protected] from /usr/local/lib/node_modules
238 info postuninstall [email protected]
239 silly gentlyRm /usr/local/lib/node_modules/fsevents is being purged from base /usr/local
240 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/fsevents
241 silly vacuum-fs purging /usr/local/lib/node_modules/fsevents
242 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules

Build error on Mac OS 10.6

A colleague of mine is getting an error when he installs [email protected] on his 10.6 machine. Is this something in the library, or does it look like we're missing some tools?

Thanks

> [email protected] install /Library/Projects/shunter/node_modules/fsevents
> node-gyp rebuild
npm http GET https://registry.npmjs.org/buster-format
  CXX(target) Release/obj.target/fswatch/nodefsevents.o
npm http 200 https://registry.npmjs.org/buster-format
npm http GET https://registry.npmjs.org/buster-format/-/buster-format-0.5.5.tgz
../nodefsevents.cc: In static member function ‘static void* node_fsevents::NodeFSEvents::Run(void*)’:
../nodefsevents.cc:117: error: ‘kFSEventStreamCreateFlagFileEvents’ was not declared in this scope
make: *** [Release/obj.target/fswatch/nodefsevents.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 10.8.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Library/Projects/shunter/node_modules/fsevents
gyp ERR! node -v v0.10.7
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok 
npm ERR! weird error 1
npm http 200 https://registry.npmjs.org/buster-format/-/buster-format-0.5.5.tgz
npm ERR! not ok code 0

Build error - OS X 10.9.3

I'm getting the following error when trying to install fsevents. I have tried via npm as well as cloning and building locally.

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:339:13: error: no member named 'New' in 'v8::String'
    return  _NAN_ERROR(v8::Exception::Error, errmsg);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:343:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../node_modules/nan/nan.h:343:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:348:9: error: no type named 'ThrowException' in namespace 'v8'
    v8::ThrowException(error);
    ~~~~^
../node_modules/nan/nan.h:355:65: error: no member named 'New' in 'v8::String'
    v8::Local<v8::Value> err = v8::Exception::Error(v8::String::New(msg));
                                                    ~~~~~~~~~~~~^
../node_modules/nan/nan.h:357:26: error: no member named 'New' in 'v8::String'
    obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
             ~~~~~~~~~~~~^
../node_modules/nan/nan.h:369:12: error: no member named 'New' in 'v8::String'
    return _NAN_ERROR(v8::Exception::TypeError, errmsg);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:373:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../node_modules/nan/nan.h:373:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:377:12: error: no member named 'New' in 'v8::String'
    return _NAN_ERROR(v8::Exception::RangeError, errmsg);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:381:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../node_modules/nan/nan.h:381:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../node_modules/nan/nan.h:727:49: error: too few arguments to function call, single argument 'isolate' was not specified
    v8::Local<v8::Object> obj = v8::Object::New();
                                ~~~~~~~~~~~~~~~ ^
/Users/chance/.node-gyp/0.11.13/deps/v8/include/v8.h:2457:3: note: 'New' declared here
  static Local<Object> New(Isolate* isolate);
  ^
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:733:49: error: too few arguments to function call, single argument 'isolate' was not specified
    v8::Local<v8::Object> obj = v8::Object::New();
                                ~~~~~~~~~~~~~~~ ^
/Users/chance/.node-gyp/0.11.13/deps/v8/include/v8.h:2457:3: note: 'New' declared here
  static Local<Object> New(Isolate* isolate);
  ^
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:740:12: error: no member named 'Dispose' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    handle.Dispose();
    ~~~~~~ ^
../node_modules/nan/nan.h:741:12: error: no member named 'Clear' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    handle.Clear();
    ~~~~~~ ^
../node_modules/nan/nan.h:746:39: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?
    NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn);
                                      ^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:181:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^
/Users/chance/.node-gyp/0.11.13/deps/v8/include/v8.h:1441:8: note: 'IsSymbol' declared here
  bool IsSymbol() const;
       ^
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:746:39: error: call to non-static member function without an object argument
    NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn);
                                      ^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:181:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^~~~~~~~~
../node_modules/nan/nan.h:750:46: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?
    return NanPersistentToLocal(handle)->Get(NanSymbol("callback"))
                                             ^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:181:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^
/Users/chance/.node-gyp/0.11.13/deps/v8/include/v8.h:1441:8: note: 'IsSymbol' declared here
  bool IsSymbol() const;
       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1046:12)
gyp ERR! System Darwin 13.2.0
gyp ERR! command "node" "/usr/local/bin/node-gyp" "build"
gyp ERR! cwd /Users/chance/code/fsevents
gyp ERR! node -v v0.11.13
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok 

Node exits without reason

Hi,

I'm quite new to node, but I suppose a process should normally not exist when an event listener is attached to an event emitter.

When I run

var FSEvents, fso;
FSEvents = require('fsevents');
fso = new FSEvents("../some-dir");
fso.on("change", function(path, flags, evtid) {
  return console.log("" + evtid + ": " + path + " (" + flags + ")");
});

I can see some (probably) correct output when I run the program. I.e. 36501239: /Users/meryn/Work/... (119808), etc. However, invariably the process exits after a few seconds. The exact time seems to vary.

I checked the exit code of node with echo $?. This gives 0.

The build output of fsevents looks as follows:

'clean' finished successfully (0.008s)
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/bin/node 
Checking for node prefix                 : ok /usr/local/Cellar/node/0.6.14 
'configure' finished successfully (0.032s)
Waf: Entering directory `/Users/meryn/Code/NodeJS-FSEvents/build'
[1/2] cxx: nodefsevents.cc -> build/Release/nodefsevents_1.o
[2/2] cxx_link: build/Release/nodefsevents_1.o -> build/Release/bindings.node
Waf: Leaving directory `/Users/meryn/Code/NodeJS-FSEvents/build'
'build' finished successfully (0.496s)

I'm using a fresh checkout from the github repo.

Any help would be appreciated.

I cannot use fsevents with Atoms package manager

Since I am not getting any reply on APM's side of things, trying it here. I want to use chokidar in Atom shell and it fails to run properly on Mac when fsevents are used. The issue seems to be that fsevents does not properly run in the Atom environment because the native node.js part in Atom seems a bit different.

The bug on APMs side has all the details how to repro: atom/apm#220

The error I am getting on Mac is:

➜ MacOS ./Atom ~/Desktop/watchapp
Assertion failed: (handle->InternalFieldCount() > 0), function Wrap, file /Users/bpasero/.atom/.node-gyp/.node-gyp/0.19.4/src/node_object_wrap.h, line 77.
[1] 4859 abort ./Atom ~/Desktop/watchapp

Any ideas or help is appreciated!
Thanks,
ben

Package fsevents on windows

I am windows user and when work with generator-angular I get this following warning message:

npm WARN optional dep failed, continuing [email protected]

Is possible fix this exception? When windows do not show anything...

Problem with create event

On OSX 10.10.4 if you delete a watched file and then you recreate it the creation event will be deleted instead of created.

If you create a new file the event will be unknown.

"pointer being freed was not allocated"

Seeing an issue when attempting to use this plugin, installed via npm. Using a script similar to the example provided I see the following error, after a few moments.

Script:

var FSEvents = require("fsevents");
var fso = new FSEvents("/path/do/folder");
fso.on("change",function(path, flags, evtid) {
    console.log(evtid+": "+path+" ("+flags+")");
});

Error:

node(87702,0x7fff70cecca0) malloc: *** error for object 0x101028e14: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap

Tests fail on OS X 10.10.3 (14D131)

Hi everyone,

I'm using Watchify on one of my projects and after recent update watcher functionality seem to be broken. After hours of debugging I came to conclusion that fsevents module is the one to blame. So I've cloned the repository, run npm i && npm test and tests seem to be failing. Here's the console output I get:

ok test/fsevents.js ..................................... 6/6
===========================================================================
    writeFileSync(__dirname + '/temp/created-fsevent', 'created-fsevent');
===========================================================================
id: 0
flags:  32
name:   /Users/andriipavlosiuk/Git/fsevents/test/temp
base:   temp
event:  root-changed
info:   {"path":"/Users/andriipavlosiuk/Git/fsevents/test/temp","event":"root-changed","changes":{"inode":false,"finder":false,"access":false,"xattrs":false},"flags":32,"id":0}
===========================================================================
    renameSync(__dirname + '/temp/created-fsevent', __dirname + '/temp/moved-fsevent');
===========================================================================
id: 0
flags:  32
name:   /Users/andriipavlosiuk/Git/fsevents/test/temp
base:   temp
event:  root-changed
info:   {"path":"/Users/andriipavlosiuk/Git/fsevents/test/temp","event":"root-changed","changes":{"inode":false,"finder":false,"access":false,"xattrs":false},"flags":32,"id":0}
===========================================================================
    unlinkSync(__dirname + '/temp/moved-fsevent');
===========================================================================
id: 0
flags:  32
name:   /Users/andriipavlosiuk/Git/fsevents/test/temp
base:   temp
event:  root-changed
info:   {"path":"/Users/andriipavlosiuk/Git/fsevents/test/temp","event":"root-changed","changes":{"inode":false,"finder":false,"access":false,"xattrs":false},"flags":32,"id":0}
===========================================================================
    rmdirSync(__dirname + '/temp');
===========================================================================
id: 0
flags:  32
name:   /Users/andriipavlosiuk/Git/fsevents/test/temp
base:   temp
event:  root-changed
info:   {"path":"/Users/andriipavlosiuk/Git/fsevents/test/temp","event":"root-changed","changes":{"inode":false,"finder":false,"access":false,"xattrs":false},"flags":32,"id":0}
not ok test/function.js ................................. 0/1
    Command: "/usr/local/Cellar/node/0.12.0/bin/node function.js"
    TAP version 13
    not ok 1 test/function.js
      ---
        exit:     ~
        timedOut: true
        signal:   SIGTERM
        stderr:   |
          ===========================================================================
            writeFileSync(__dirname + '/temp/created-fsevent', 'created-fsevent');
          ===========================================================================
          id:   0
          flags:    32
          name: /Users/andriipavlosiuk/Git/fsevents/test/temp
          base: temp
          event:    root-changed
          info: {"path":"/Users/andriipavlosiuk/Git/fsevents/test/temp","event":"root-changed","changes":{"inode":false,"finder":false,"access":false,"xattrs":false},"flags":32,"id":0}
          ===========================================================================
            renameSync(__dirname + '/temp/created-fsevent', __dirname + '/temp/moved-fsevent');
          ===========================================================================
          id:   0
          flags:    32
          name: /Users/andriipavlosiuk/Git/fsevents/test/temp
          base: temp
          event:    root-changed
          info: {"path":"/Users/andriipavlosiuk/Git/fsevents/test/temp","event":"root-changed","changes":{"inode":false,"finder":false,"access":false,"xattrs":false},"flags":32,"id":0}
          ===========================================================================
            unlinkSync(__dirname + '/temp/moved-fsevent');
          ===========================================================================
          id:   0
          flags:    32
          name: /Users/andriipavlosiuk/Git/fsevents/test/temp
          base: temp
          event:    root-changed
          info: {"path":"/Users/andriipavlosiuk/Git/fsevents/test/temp","event":"root-changed","changes":{"inode":false,"finder":false,"access":false,"xattrs":false},"flags":32,"id":0}
          ===========================================================================
            rmdirSync(__dirname + '/temp');
          ===========================================================================
          id:   0
          flags:    32
          name: /Users/andriipavlosiuk/Git/fsevents/test/temp
          base: temp
          event:    root-changed
          info: {"path":"/Users/andriipavlosiuk/Git/fsevents/test/temp","event":"root-changed","changes":{"inode":false,"finder":false,"access":false,"xattrs":false},"flags":32,"id":0}
        command:  "/usr/local/Cellar/node/0.12.0/bin/node function.js"
      ...

    1..1
    # tests 1
    # fail  1

total ................................................... 6/7

not ok
npm ERR! Test failed.  See above for more details.

Segmentation fault

var fsevents = require('./');

var watcher = fsevents('../jquery/node_modules').start().on('change', console.log);
cd ../jquery && rm-rf node_modules && npm i

I used jquery's repo as the example because it has enough deps to trigger the issue reliably, none of which compile anything with gyp - ruling that out as being related to the cause. That said, YMMV, it may take more than one attempt to trigger the segfault.

Adding https://www.npmjs.com/package/segfault-handler to the test script yields the following stack trace:

PID 20242 received SIGSEGV for address: 0x10
0   segfault-handler.node               0x0000000100cef90f _ZL16segfault_handleriP9__siginfoPv + 287
1   libsystem_platform.dylib            0x00007fff8d776f1a _sigtramp + 26
2   ???                                 0x00007fff5fbf6278 0x0 + 140734799766136
3   CoreFoundation                      0x00007fff91f7fe68 __CFArrayReleaseValues + 264
4   CoreFoundation                      0x00007fff91fa3398 CFArrayRemoveAllValues + 120
5   fse.node                            0x0000000100cf2b55 _Z15async_propagateP10uv_async_s + 217
6   node                                0x000000010051b7af uv__async_event + 62
7   node                                0x000000010051b922 uv__async_io + 136
8   node                                0x000000010052937d uv__io_poll + 1491
9   node                                0x000000010051bd92 uv_run + 267
10  node                                0x00000001004be8b8 _ZN4node5StartEiPPc + 336
11  node                                0x00000001000011f4 start + 52

cc/ @bajtos @bnoordhuis

paulmillr/chokidar#219

Wrong fsevents processing

Hi,

OSX ORs fsevents flags.
So in case when I remove and create the same file multiple times, I get wrong changed events.

The events dumping script and the go.sh script to create & rm the same file are at https://gist.github.com/iliakan/a1c0f018df03e02521da.

The result (OSX 10.9.4, node 0.11.13):

~/tmp
iliakan> source go.sh
fsevent /Users/iliakan/tmp/a ItemCreated,ItemIsFile 192844111
change /Users/iliakan/tmp/a unknown file
fsevent /Users/iliakan/tmp/a ItemCreated,ItemRemoved,ItemIsFile 192844114
change /Users/iliakan/tmp/a deleted file
fsevent /Users/iliakan/tmp/a ItemCreated,ItemRemoved,ItemIsFile 192844123
change /Users/iliakan/tmp/a deleted file
fsevent /Users/iliakan/tmp/a ItemCreated,ItemRemoved,ItemIsFile 192844129
change /Users/iliakan/tmp/a deleted file
fsevent /Users/iliakan/tmp/a ItemCreated,ItemRemoved,ItemIsFile 192844132
change /Users/iliakan/tmp/a deleted file

~/tmp
iliakan> fsevent /Users/iliakan/tmp/a ItemCreated,ItemRemoved,ItemIsFile 192844135
change /Users/iliakan/tmp/a deleted file

As you can see, change events saying that the file was "deleted" so many times... When it was in fact created.

P.S. The approach to tell change/delete may be to either use stats OR somehow recreate fs event listener?

Error installing using io.js v2.3.1

Using io.js v2.3.1 (installed via nvm) and and npm v3.0 (same with v2.12.0), getting the following error when running npm install fsevents:

> [email protected] install /Users/yamalight/Eccenca/elds-ui/datamanager/node_modules/fsevents
> node-gyp rebuild

gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 404 response dowloading http://nodejs.org/dist/v2.3.1/node-v2.3.1.tar.gz
gyp ERR! stack     at Request.<anonymous> (/Users/yamalight/.nvm/versions/io.js/v2.3.1/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:251:14)
gyp ERR! stack     at emitOne (events.js:82:20)
gyp ERR! stack     at Request.emit (events.js:169:7)
gyp ERR! stack     at Request.onRequestResponse (/Users/yamalight/.nvm/versions/io.js/v2.3.1/lib/node_modules/npm/node_modules/request/request.js:985:10)
gyp ERR! stack     at emitOne (events.js:77:13)
gyp ERR! stack     at ClientRequest.emit (events.js:169:7)
gyp ERR! stack     at HTTPParser.parserOnIncomingClient (_http_client.js:415:21)
gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
gyp ERR! stack     at Socket.socketOnData (_http_client.js:305:20)
gyp ERR! stack     at emitOne (events.js:77:13)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "/Users/yamalight/.nvm/versions/io.js/v2.3.1/bin/iojs" "/Users/yamalight/.nvm/versions/io.js/v2.3.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/yamalight/Eccenca/elds-ui/datamanager/node_modules/fsevents
gyp ERR! node -v v2.3.1
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Darwin 14.3.0
npm ERR! argv "/Users/yamalight/.nvm/versions/io.js/v2.3.1/bin/iojs" "/Users/yamalight/.nvm/versions/io.js/v2.3.1/bin/npm" "i" "fsevents"
npm ERR! node v2.3.1
npm ERR! npm  v3.0.0
npm ERR! code ELIFECYCLE

If I try to export location of io.js using npm_config_nodedir=/Users/yamalight/.nvm/versions/io.js/v2.3.1/include/node/ as note in #55, I get the following error:

> [email protected] install /Users/yamalight/Eccenca/elds-ui/datamanager/node_modules/fsevents
> node-gyp rebuild

  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
../../nan/nan.h:23:10: fatal error: 'uv.h' file not found
#include <uv.h>
         ^
1 error generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/yamalight/.nvm/versions/io.js/v2.3.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "/Users/yamalight/.nvm/versions/io.js/v2.3.1/bin/iojs" "/Users/yamalight/.nvm/versions/io.js/v2.3.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/yamalight/Eccenca/elds-ui/datamanager/node_modules/fsevents
gyp ERR! node -v v2.3.1
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Darwin 14.3.0
npm ERR! argv "/Users/yamalight/.nvm/versions/io.js/v2.3.1/bin/iojs" "/Users/yamalight/.nvm/versions/io.js/v2.3.1/bin/npm" "install" "fsevents"
npm ERR! node v2.3.1
npm ERR! npm  v3.0.0
npm ERR! code ELIFECYCLE

Everything works OK when using previous version of io.js (v2.2.1).

git config returned wrong result

When I run npm install karma -g I get the following error:
git config --get remote.origin.url returned wrong result (git://github.com/pipobscure/fsevents)

I've played around with this error for a bit but I've been getting this on various packages. So some packages install correctly while others don't but they're all this same error....

I've reinstalled nodejs, npm, deleted node_modules (from global), cleaned the cache, deleted .gitconfig - I'm out of options have any ideas on what this could be?


Windows 8.1

$ node -v
> v0.10.30
$ git --version
> 1.9.4.msysgit.0

Error handling for OS X system limits

If too many fsevents instances are spawned, the underlying system components start to print errors that can't be caught in node-land.

Node.js dealt with the same thing for fs.watch at nodejs/node-v0.x-archive#5463. The solution is in libuv at joyent/libuv#894, but has not been backported to node 0.10.x.

The limit is 400-something, and I haven't come across any way to change it. As @indutny said, it almost seems like a practical joke Apple is playing on us.

I'm not sure that the fsevents module ought to be rearranged as substantially as was done there, but if it could at least catch these errors and expose them via regular node callbacks or events that would be a great start in being able to come up with more elegant solutions to this limitation.

Build warning on OS X 10.10 / Xcode 6

I get the following warning when installing fsevents on Yosemite.

> [email protected] install ./node_modules/fsevents
> node-gyp rebuild

  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:86:
../src/constants.cc:10:66: warning: template argument uses unnamed type [-Wunnamed-type-template-args]
  object->Set(NanNew<v8::String>("kFSEventStreamEventFlagNone"), NanNew<v8::Integer>(kFSEventStreamEventFlagNone));
                                                                 ^~~~~~
/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:309:1: note:
      unnamed type used in template argument was declared here
enum {
^
1 warning generated.

Folder deletes not being tracked over AFP

I've got a shared drive (AFP) that I'm tracking changes on. Say I copy in a folder with images in it to the shared folder, when the folder is deleted from another computer via finder (on the shared drive over AFP), I get a deleted event for all files, but not for the folder that contained them (and was also deleted). Any ideas why this might be?

Thanks

Build warnings and spewing of errors

Build warnings:

> [email protected] install /Users/contra/Projects/react-swipeable/node_modules/watchify/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:86:
../src/constants.cc:10:66: warning: template argument uses unnamed type
      [-Wunnamed-type-template-args]
  object->Set(NanNew<v8::String>("kFSEventStreamEventFlagNone"), NanNew<v8::I...
                                                                 ^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:309:1: note:
      unnamed type used in template argument was declared here
enum {
^
1 warning generated.
  SOLINK_MODULE(target) Release/fse.node
  SOLINK_MODULE(target) Release/fse.node: Finished

Errors spewed running watchify which uses fsevents

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop: failed to create the cffd
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)2014-11-04 20:12 gulp[521] (FSEvents.framework)
FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop: failed to create the cffd
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: watch_path() failed for '/Users/contra/Projects/react-swipeable/node_modules/react/lib/getMarkupWrap.js'
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework)
FSEventStreamCreate: _FSEventStreamCreate: ERROR: watch_path() failed for '/Users/contra/Projects/react-swipeable/node_modules/react-draggable/node_modules/react/lib/hyphenateStyleName.js'FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)FSEventStreamCreate: _FSEventStreamCreate: ERROR: watch_path() failed for '/Users/contra/Projects/react-swipeable/node_modules/react-draggable/node_modules/react/lib/ReactInputSelection.js'FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueueFSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueueFSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)FSEventStreamScheduleWithRunLoop: failed to create the cffdFSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueueFSEventStreamScheduleWithRunLoop: failed to create the cffdFSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueueFSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)











2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'
FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'
FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'
FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'
FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'
FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'






2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'
FSEventStreamStart(): failed assertion 'streamRef != NULL'
FSEventStreamStart(): failed assertion 'streamRef != NULL'
FSEventStreamStart(): failed assertion 'streamRef != NULL'
FSEventStreamStart(): failed assertion 'streamRef != NULL'
FSEventStreamStart(): failed assertion 'streamRef != NULL'






2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'
FSEventStreamStop(): failed assertion 'streamRef != NULL'
FSEventStreamStop(): failed assertion 'streamRef != NULL'
FSEventStreamStop(): failed assertion 'streamRef != NULL'
FSEventStreamStop(): failed assertion 'streamRef != NULL'
FSEventStreamStop(): failed assertion 'streamRef != NULL'






2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'
FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'
FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'
FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'
FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'
FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'






2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'
FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'
FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'
FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'
FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'
FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'






2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'
2014-11-04 20:12 gulp[521] (FSEvents.framework) 2014-11-04 20:12 gulp[521] (FSEvents.framework)
FSEventStreamRelease(): failed assertion 'streamRef != NULL'

FSEventStreamRelease(): failed assertion 'streamRef != NULL'
FSEventStreamRelease(): failed assertion 'streamRef != NULL'



2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop: failed to create the cffd
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop: failed to create the cffd
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop: failed to create the cffd
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not open kqueue
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop: failed to create the cffd
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: watch_path() failed for '/Users/contra/Projects/react-swipeable/node_modules/react-draggable/node_modules/react/lib/SyntheticInputEvent.js'
2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamStop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamUnscheduleFromRunLoop(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamInvalidate(): failed assertion 'streamRef != NULL'

2014-11-04 20:12 gulp[521] (FSEvents.framework) FSEventStreamRelease(): failed assertion 'streamRef != NULL'

Node 0.10.33 on OSX Yosemite

seems not to build under mac os 10.6.8 with node v0.8.4

$ node-waf configure build
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 : not found
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.048s)
Waf: Entering directory /Users/oliver/.npm/fsevents_src/build' [1/2] cxx: nodefsevents.cc -> build/Release/nodefsevents_1.o ../nodefsevents.cc: In constructor ‘node_fsevents::NodeFSEvents::NodeFSEvents(const char*, FSEventStreamEventId)’: ../nodefsevents.cc:81: error: invalid conversion from ‘void (*)(ev_async*, int)’ to ‘void (*)(ev_loop*, ev_async*, int)’ ../nodefsevents.cc:83: error: cannot convert ‘ev_async*’ to ‘ev_loop*’ for argument ‘1’ to ‘void ev_async_start(ev_loop*, ev_async*)’ ../nodefsevents.cc: In member function ‘void node_fsevents::NodeFSEvents::Shutdown()’: ../nodefsevents.cc:95: error: cannot convert ‘ev_async*’ to ‘ev_loop*’ for argument ‘1’ to ‘void ev_async_stop(ev_loop*, ev_async*)’ ../nodefsevents.cc: In static member function ‘static void node_fsevents::NodeFSEvents::Event(const __FSEventStream*, void*, size_t, void*, const FSEventStreamEventFlags*, const FSEventStreamEventId*)’: ../nodefsevents.cc:136: error: cannot convert ‘ev_async*’ to ‘ev_loop*’ for argument ‘1’ to ‘void ev_async_send(ev_loop*, ev_async*)’ Waf: Leaving directory/Users/oliver/.npm/fsevents_src/build'
Build failed: -> task failed (err #1):
{task: cxx nodefsevents.cc -> nodefsevents_1.o}

Looking Up EventIds

Is there a list of event id mappings to the different FSEvents being triggered?

Events not firing (tried start also)

I'm on OSX 10.9.3 and I'm not seeing events fire at all. I tried using .start() as was suggested in one issue. Any ideas. I'm using the code supplied in the readme and filling in the directory to watch.

Thanks.

Documentation is missing

example.js:

var FSEvents = require("fsevents");
var fso = new FSEvents("/tmp/foo");
fso.on("change",function(path, flags, evtid) {
        console.log(evtid+": "+path+" ("+flags+")");
});
➤ node example.js &
➤ cd /tmp/foo
➤ echo asdf > bar
83905704: /private/tmp/NodeJS-FSEvents/temp/ (0)
➤ rm bar
83905756: /private/tmp/NodeJS-FSEvents/temp/ (0)

The flag is always 0. What is it? How do I know what file changed, modified or deleted?

First event fires, nothing afterwords

var FSEvents = require('fsevents');
var watcher = new FSEvents('.');
watcher.on('change', handleFile);

function handleFile(file) {
  console.log("Got event: " + file);
}

When I run the above and change a file, I see the console output on the first file change, but then nothing on all subsequent changes to that file or any others:

Got event /Users/brikis98/source/fsevent/foo.bar

(no more output)

I'm on OSX 10.5.8 and am running Node v0.4.8.

Build error on OS X 10.9.1

Following these steps:
$ npm install -g node-gyp
$ git clone https://github.com/pipobscure/fsevents.git fsevents
$ cd fsevents
$ node-gyp configure build

Produced this on last step:
ldmsmp51:fsevents ldm$ node-gyp configure build
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn python
gyp info spawn args [ '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Volumes/Macintosh HD/Users/ldm/workspace/fsevents/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Volumes/Macintosh HD/Users/ldm/.node-gyp/0.10.23/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Volumes/Macintosh HD/Users/ldm/.node-gyp/0.10.23',
gyp info spawn args '-Dmodule_root_dir=/Volumes/Macintosh HD/Users/ldm/workspace/fsevents',
gyp info spawn args '--depth=.',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]

module.js:340
throw err;
^
Error: Cannot find module 'nan'
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 [eval]:1:1
at Object. ([eval]-wrapper:6:22)
at Module._compile (module.js:456:26)
at evalScript (node.js:532:25)
at startup (node.js:80:7)
at node.js:902:3
gyp: Call to 'node -e "require('nan')"' returned exit status 8.
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:337:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 13.0.0
gyp ERR! command "node" "/usr/local/bin/node-gyp" "configure" "build"
gyp ERR! cwd /Volumes/Macintosh HD/Users/ldm/workspace/fsevents
gyp ERR! node -v v0.10.23
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
ldmsmp51:fsevents ldm$

Build Error (Xcode 6.1 / OSX 10.10)

I can't install fsevents. I get the following error. It's weird because it looks like it's not really in the codebase of fsevents.

npm install -g fsevents@latest
-
> [email protected] install /usr/local/lib/node_modules/fsevents
> node-gyp rebuild

  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43:
In file included from /System/Library/Frameworks/Security.framework/Headers/Security.h:54:
/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h:43:1: error: expected function body after function declarator
__OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
^
/usr/include/Availability.h:159:50: note: expanded from macro '__OSX_AVAILABLE_STARTING'
    #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
                                                 ^
<scratch space>:92:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_10
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43:
In file included from /System/Library/Frameworks/Security.framework/Headers/Security.h:54:
/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h:60:1: error: expected function body after function declarator
__OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
^
/usr/include/Availability.h:159:50: note: expanded from macro '__OSX_AVAILABLE_STARTING'
    #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
                                                 ^
<scratch space>:92:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_10
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43:
In file included from /System/Library/Frameworks/Security.framework/Headers/Security.h:60:
/System/Library/Frameworks/Security.framework/Headers/SecItem.h:421:39: error: expected ';' after top level declarator
extern CFTypeRef kSecAttrAccessControl
                                      ^
/System/Library/Frameworks/Security.framework/Headers/SecItem.h:572:65: error: expected ';' after top level declarator
extern CFTypeRef kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly
                                                                ^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43:
In file included from /System/Library/Frameworks/Security.framework/Headers/Security.h:86:
/System/Library/Frameworks/Security.framework/Headers/CMSDecoder.h:354:5: error: expected function body after function declarator
    __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_NA);
    ^
/usr/include/Availability.h:159:50: note: expanded from macro '__OSX_AVAILABLE_STARTING'
    #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
                                                 ^
<scratch space>:8:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_10
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43:
In file included from /System/Library/Frameworks/Security.framework/Headers/Security.h:87:
/System/Library/Frameworks/Security.framework/Headers/CMSEncoder.h:403:5: error: expected function body after function declarator
    __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_NA);
    ^
/usr/include/Availability.h:159:50: note: expanded from macro '__OSX_AVAILABLE_STARTING'
    #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
                                                 ^
<scratch space>:8:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_10
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:227:63: error: expected function body after function declarator
  LSItemInfoRecord *  outItemInfo)                            __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "Use LSCopyItemInfoForUR...
                                                              ^
/usr/include/Availability.h:163:53: note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
                                                    __AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
                                                    ^
<scratch space>:92:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_10_MSG
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:340:63: error: expected function body after function declarator
  CFStringRef *  outDisplayName)                              __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_1, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "Use LSCopyDisplayNameFo...
                                                              ^
/usr/include/Availability.h:163:53: note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
                                                    __AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
                                                    ^
<scratch space>:92:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_10_MSG
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:413:63: error: expected function body after function declarator
  Boolean        inHide)                                      __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_1, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "Use LSSetExtensionHidde...
                                                              ^
/usr/include/Availability.h:163:53: note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
                                                    __AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
                                                    ^
<scratch space>:2:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_10_MSG
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:486:63: error: expected function body after function declarator
  CFStringRef *  outKindString)                               __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "Use LSCopyKindStringFor...
                                                              ^
/usr/include/Availability.h:163:53: note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
                                                    __AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
                                                    ^
<scratch space>:2:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_10_MSG
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:576:63: error: expected function body after function declarator
  CFStringRef *  outKindString)                               __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_2, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "Use UTTypeCopyDescripti...
                                                              ^
/usr/include/Availability.h:163:53: note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
                                                    __AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
                                                    ^
<scratch space>:2:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_10_MSG
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:613:63: error: expected function body after function declarator
  CFStringRef *  outKindString)                               __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_2, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "Use UTTypeCopyDescripti...
                                                              ^
/usr/include/Availability.h:163:53: note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
                                                    __AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
                                                    ^
<scratch space>:2:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_10_MSG
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:664:63: error: expected function body after function declarator
  CFURLRef *     outAppURL)        /* can be NULL */          __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "Use LSCopyDefaultApplic...
                                                              ^
/usr/include/Availability.h:163:53: note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
                                                    __AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
                                                    ^
<scratch space>:2:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_10_MSG
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:726:63: error: expected function body after function declarator
  CFURLRef *    outAppURL)         /* can be NULL */          __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "Use LSCopyDefaultApplic...
                                                              ^
/usr/include/Availability.h:163:53: note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
                                                    __AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
                                                    ^
<scratch space>:2:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_10_MSG
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:772:63: error: expected function body after function declarator
  CFURLRef *    outAppURL)                                    __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_2, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "Use LSCopyDefaultApplic...
                                                              ^
/usr/include/Availability.h:163:53: note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
                                                    __AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
                                                    ^
<scratch space>:2:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_10_MSG
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:824:63: error: expected function body after function declarator
  CFURLRef *    outAppURL)        /* can be NULL */           __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "Use LSCopyDefaultApplic...
                                                              ^
/usr/include/Availability.h:163:53: note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
                                                    __AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
                                                    ^
<scratch space>:2:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_10_MSG
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:879:63: error: expected function body after function declarator
  CFURLRef *    outAppURL)        /* can be NULL */           __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "Use LSCopyApplicationUR...
                                                              ^
/usr/include/Availability.h:163:53: note: expanded from macro '__OSX_AVAILABLE_BUT_DEPRECATED_MSG'
                                                    __AVAILABILITY_INTERNAL##_osxIntro##_DEP##_osxDep##_MSG(_msg)
                                                    ^
<scratch space>:2:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_10_MSG
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:922:63: error: expected function body after function declarator
  CFErrorRef *  outError)                                     __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_NA);
                                                              ^
/usr/include/Availability.h:159:50: note: expanded from macro '__OSX_AVAILABLE_STARTING'
    #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
                                                 ^
<scratch space>:2:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_10
^
In file included from ../fsevents.cc:11:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:27:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LSInfo.h:963:63: error: expected function body after function declarator
  CFErrorRef *  outError)                                     __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_NA);
                                                              ^
/usr/include/Availability.h:159:50: note: expanded from macro '__OSX_AVAILABLE_STARTING'
    #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
                                                 ^
<scratch space>:2:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_10
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/fsevents
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok 
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "fsevents@latest"
npm ERR! node v0.10.33
npm ERR! npm  v2.1.6
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install 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-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls fsevents
npm ERR! There is likely additional logging output above.

Issues w/ Node 0.5.4

This was working on Node 0.4.8, but, when I updated to 0.5.4 I kept getting a Segmentation fault each time I tried to require in FSEvents. So I thought maybe I needed to rebuild FSevents w/ the newer version of Node, but, I'm now seeing this error:

$ sudo npm install fsevents
Password:

> [email protected] preinstall /Dropbox/fsevents-test/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 /Users/mpowell/.node_libraries 
Checking for node prefix                 : ok /opt/local 
'configure' finished successfully (0.189s)
Waf: Entering directory `/Dropbox/fsevents-test/node_modules/fsevents/build'
[1/2] cxx: nodefsevents.cc -> build/default/nodefsevents_1.o
../nodefsevents.cc:2:25: error: node_events.h: No such file or directory
Waf: Leaving directory `/Dropbox/fsevents-test/node_modules/fsevents/build'
Build failed:  -> task failed (err #1): 
    {task: cxx nodefsevents.cc -> nodefsevents_1.o}
npm ERR! error installing [email protected] Error: [email protected] preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing [email protected] `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing [email protected]     at ChildProcess.<anonymous> (/opt/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected]     at ChildProcess.emit (events.js:70:17)
npm ERR! error installing [email protected]     at ChildProcess.onexit (child_process_legacy.js:246:12)
npm ERR! [email protected] 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 [email protected] 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.1
npm ERR! command "node" "/opt/local/bin/npm" "install" "fsevents"
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Dropbox/fsevents-test/npm-debug.log
npm not ok

Thanks and let me know if you need more info....

Please tag releases in git

Would you mind tagging the releases in git? I was tracking down a bug that happens when I upgrade from 0.2.0 to 0.3.0, and not having the tags made it kinda difficult.

I ran diffs against the code published to NPM against commits in history and found the commits for v0.2.0 and v0.3.0.

$ git tag -a -m v0.2.0 v0.2.0 cceb172 
$ git tag -a -m v0.3.0 v0.3.0 5014843
$ git push --tags

Thanks!

Strange Error

Hello, I have a very convoluted error message. I think it's coming from FSEvents but I can't be totally sure as it is very hard to debug. Basically no file system events are fired and when I restart my node app, this error is thrown:

Assertion failed: (handle->flags & UV_CLOSING), function uv__finish_close, file ../deps/uv/src/unix/core.c, line 171.

The original error stemmed from chokidar. Please see paulmillr/chokidar#80 for more info.

NPM 3 issue

    generator.GenerateOutput(flat_list, targets, data, params)
  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 2000, in G
enerateOutput
    sln_projects, project_objects, flat=msvs_version.FlatSolution())
  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 1759, in _
GatherSolutionFolders
    return _DictsToFolders('', root, flat)
  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 1712, in _
DictsToFolders
    for folder, contents in bucket.iteritems():
AttributeError: 'MSVSProject' object has no attribute 'iteritems'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configur
e.js:355:16)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuil
d"
gyp ERR! cwd C:\git\pos\node_modules\fsevents
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm WARN EPACKAGEJSON [email protected] No license field.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i
nstall" "--save-dev" "fsevents"
npm ERR! node v0.12.7
npm ERR! npm  v3.1.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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-gyp rebuild
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! Please include the following file with any support request:

Non-aligned pointer being freed

var FSEvents = require('fsevents');
var watcher = new FSEvents('.');
watcher.on('change', handleFile);

function handleFile(file) {
  console.log("Got event: " + file);
}

When I run the above and change a file, I see an event, but a few seconds later, I get an error:

Got event /Users/brikis98/source/fsevent/foo.bar

node(48959,0xa01a2720) malloc: *** error for object 0x109680c: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug

I'm on OSX 10.5.8 and am running Node v0.4.8.

Installation failure via npm on OS X 10.8

I have node v0.8.8 and npm v1.1.59 on an OS X 10.8 system, and here's the failure when installing fsevents:


~ > npm install fsevents
npm http GET https://registry.npmjs.org/fsevents
npm http 304 https://registry.npmjs.org/fsevents
npm WARN engine [email protected]: wanted: {"node":"0.4"} (current: {"node":"v0.8.8","npm":"1.1.59"})

> [email protected] install /Users/antoine/node_modules/fsevents
> node-waf clean ; 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                   : not found 
Checking for node prefix                 : ok /usr/local 
'configure' finished successfully (0.053s)
Waf: Entering directory `/Users/antoine/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
../nodefsevents.cc: In constructor ‘node_fsevents::NodeFSEvents::NodeFSEvents(const char*, FSEventStreamEventId)’:
../nodefsevents.cc:83: error: invalid conversion from ‘void (*)(ev_async*, int)’ to ‘void (*)(ev_loop*, ev_async*, int)’
../nodefsevents.cc:85: error: cannot convert ‘ev_async*’ to ‘ev_loop*’ for argument ‘1’ to ‘void ev_async_start(ev_loop*, ev_async*)’
../nodefsevents.cc: In member function ‘void node_fsevents::NodeFSEvents::Shutdown()’:
../nodefsevents.cc:97: error: cannot convert ‘ev_async*’ to ‘ev_loop*’ for argument ‘1’ to ‘void ev_async_stop(ev_loop*, ev_async*)’
../nodefsevents.cc: In static member function ‘static void node_fsevents::NodeFSEvents::Event(const __FSEventStream*, void*, size_t, void*, const FSEventStreamEventFlags*, const FSEventStreamEventId*)’:
../nodefsevents.cc:138: error: cannot convert ‘ev_async*’ to ‘ev_loop*’ for argument ‘1’ to ‘void ev_async_send(ev_loop*, ev_async*)’
Waf: Leaving directory `/Users/antoine/node_modules/fsevents/build'
Build failed:  -> task failed (err #1): 
    {task: cxx nodefsevents.cc -> nodefsevents_1.o}
npm ERR! [email protected] install: `node-waf clean ; node-waf configure build`
npm ERR! `sh "-c" "node-waf clean ; node-waf configure build"` failed with 1
npm ERR! 
npm ERR! Failed at the [email protected] install 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 ; 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! System Darwin 12.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "fsevents"
npm ERR! cwd /Users/antoine
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/antoine/npm-debug.log
npm ERR! not ok code 0

npm install fails on mac

I'm having trouble installing the fsevents package on my mac. I've attached a copy of the build output below, its quite long. I'm running OSX 10.9.5, below are some more details on my system setting.

Are there additional details you need?

npm --version
1.4.21

g++ --version
g++ (MacPorts gcc48 4.8.3_0) 4.8.3
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Jassons-MacBook-Pro:test jasson$ clang --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix

uname -a
Darwin jassons-mbp.home 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64

npm install fsevents
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
|

[email protected] install /Users/jasson/workspace/test/node_modules/fsevents
node-gyp rebuild

CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In function 'v8::Localv8::Object Constants()':
../src/constants.cc:10:113: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
../src/constants.cc:10:113: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:10:113: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:10:113: note: cannot convert 'kFSEventStreamEventFlagNone' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate_)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:10:113: note: cannot convert 'kFSEventStreamEventFlagNone' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:10:113: note: cannot convert 'kFSEventStreamEventFlagNone' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:10:113: note: cannot convert 'kFSEventStreamEventFlagNone' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:10:113: required from here
../src/constants.cc:10:113: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
../src/constants.cc:10:113: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:10:113: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:10:113: note: cannot convert 'kFSEventStreamEventFlagNone' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:10:113: note: cannot convert 'kFSEventStreamEventFlagNone' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:10:113: note: cannot convert 'kFSEventStreamEventFlagNone' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:10:113: note: cannot convert 'kFSEventStreamEventFlagNone' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:10:113: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagNone"), NanNewv8::Integer(kFSEventStreamEventFlagNone));
^
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
../src/constants.cc:11:135: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: note: cannot convert 'kFSEventStreamEventFlagMustScanSubDirs' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: note: cannot convert 'kFSEventStreamEventFlagMustScanSubDirs' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: note: cannot convert 'kFSEventStreamEventFlagMustScanSubDirs' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: note: cannot convert 'kFSEventStreamEventFlagMustScanSubDirs' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:11:135: required from here
../src/constants.cc:11:135: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
../src/constants.cc:11:135: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: note: cannot convert 'kFSEventStreamEventFlagMustScanSubDirs' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: note: cannot convert 'kFSEventStreamEventFlagMustScanSubDirs' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: note: cannot convert 'kFSEventStreamEventFlagMustScanSubDirs' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: note: cannot convert 'kFSEventStreamEventFlagMustScanSubDirs' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:11:135: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagMustScanSubDirs"), NanNewv8::Integer(kFSEventStreamEventFlagMustScanSubDirs));
^
../src/constants.cc:12:127: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
../src/constants.cc:12:127: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:12:127: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:12:127: note: cannot convert 'kFSEventStreamEventFlagUserDropped' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:12:127: note: cannot convert 'kFSEventStreamEventFlagUserDropped' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:12:127: note: cannot convert 'kFSEventStreamEventFlagUserDropped' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:12:127: note: cannot convert 'kFSEventStreamEventFlagUserDropped' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:12:127: required from here
../src/constants.cc:12:127: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
../src/constants.cc:12:127: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:12:127: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:12:127: note: cannot convert 'kFSEventStreamEventFlagUserDropped' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:12:127: note: cannot convert 'kFSEventStreamEventFlagUserDropped' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:12:127: note: cannot convert 'kFSEventStreamEventFlagUserDropped' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:12:127: note: cannot convert 'kFSEventStreamEventFlagUserDropped' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:12:127: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagUserDropped"), NanNewv8::Integer(kFSEventStreamEventFlagUserDropped));
^
../src/constants.cc:13:131: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
../src/constants.cc:13:131: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:13:131: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:13:131: note: cannot convert 'kFSEventStreamEventFlagKernelDropped' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:13:131: note: cannot convert 'kFSEventStreamEventFlagKernelDropped' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:13:131: note: cannot convert 'kFSEventStreamEventFlagKernelDropped' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:13:131: note: cannot convert 'kFSEventStreamEventFlagKernelDropped' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:13:131: required from here
../src/constants.cc:13:131: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
../src/constants.cc:13:131: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:13:131: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:13:131: note: cannot convert 'kFSEventStreamEventFlagKernelDropped' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:13:131: note: cannot convert 'kFSEventStreamEventFlagKernelDropped' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:13:131: note: cannot convert 'kFSEventStreamEventFlagKernelDropped' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:13:131: note: cannot convert 'kFSEventStreamEventFlagKernelDropped' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:13:131: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagKernelDropped"), NanNewv8::Integer(kFSEventStreamEventFlagKernelDropped));
^
../src/constants.cc:14:135: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
../src/constants.cc:14:135: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:14:135: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:14:135: note: cannot convert 'kFSEventStreamEventFlagEventIdsWrapped' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:14:135: note: cannot convert 'kFSEventStreamEventFlagEventIdsWrapped' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:14:135: note: cannot convert 'kFSEventStreamEventFlagEventIdsWrapped' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:14:135: note: cannot convert 'kFSEventStreamEventFlagEventIdsWrapped' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:14:135: required from here
../src/constants.cc:14:135: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
../src/constants.cc:14:135: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:14:135: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:14:135: note: cannot convert 'kFSEventStreamEventFlagEventIdsWrapped' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:14:135: note: cannot convert 'kFSEventStreamEventFlagEventIdsWrapped' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:14:135: note: cannot convert 'kFSEventStreamEventFlagEventIdsWrapped' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:14:135: note: cannot convert 'kFSEventStreamEventFlagEventIdsWrapped' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:14:135: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagEventIdsWrapped"), NanNewv8::Integer(kFSEventStreamEventFlagEventIdsWrapped));
^
../src/constants.cc:15:127: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
../src/constants.cc:15:127: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:15:127: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:15:127: note: cannot convert 'kFSEventStreamEventFlagHistoryDone' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:15:127: note: cannot convert 'kFSEventStreamEventFlagHistoryDone' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:15:127: note: cannot convert 'kFSEventStreamEventFlagHistoryDone' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:15:127: note: cannot convert 'kFSEventStreamEventFlagHistoryDone' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:15:127: required from here
../src/constants.cc:15:127: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
../src/constants.cc:15:127: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:15:127: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:15:127: note: cannot convert 'kFSEventStreamEventFlagHistoryDone' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:15:127: note: cannot convert 'kFSEventStreamEventFlagHistoryDone' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:15:127: note: cannot convert 'kFSEventStreamEventFlagHistoryDone' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:15:127: note: cannot convert 'kFSEventStreamEventFlagHistoryDone' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:15:127: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagHistoryDone"), NanNewv8::Integer(kFSEventStreamEventFlagHistoryDone));
^
../src/constants.cc:16:127: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
../src/constants.cc:16:127: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:16:127: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:16:127: note: cannot convert 'kFSEventStreamEventFlagRootChanged' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:16:127: note: cannot convert 'kFSEventStreamEventFlagRootChanged' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:16:127: note: cannot convert 'kFSEventStreamEventFlagRootChanged' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:16:127: note: cannot convert 'kFSEventStreamEventFlagRootChanged' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:16:127: required from here
../src/constants.cc:16:127: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
../src/constants.cc:16:127: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:16:127: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:16:127: note: cannot convert 'kFSEventStreamEventFlagRootChanged' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:16:127: note: cannot convert 'kFSEventStreamEventFlagRootChanged' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:16:127: note: cannot convert 'kFSEventStreamEventFlagRootChanged' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:16:127: note: cannot convert 'kFSEventStreamEventFlagRootChanged' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:16:127: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagRootChanged"), NanNewv8::Integer(kFSEventStreamEventFlagRootChanged));
^
../src/constants.cc:17:115: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
../src/constants.cc:17:115: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:17:115: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:17:115: note: cannot convert 'kFSEventStreamEventFlagMount' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:17:115: note: cannot convert 'kFSEventStreamEventFlagMount' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:17:115: note: cannot convert 'kFSEventStreamEventFlagMount' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:17:115: note: cannot convert 'kFSEventStreamEventFlagMount' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:17:115: required from here
../src/constants.cc:17:115: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
../src/constants.cc:17:115: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:17:115: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:17:115: note: cannot convert 'kFSEventStreamEventFlagMount' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:17:115: note: cannot convert 'kFSEventStreamEventFlagMount' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:17:115: note: cannot convert 'kFSEventStreamEventFlagMount' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:17:115: note: cannot convert 'kFSEventStreamEventFlagMount' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:17:115: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagMount"), NanNewv8::Integer(kFSEventStreamEventFlagMount));
^
../src/constants.cc:18:119: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
../src/constants.cc:18:119: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:18:119: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:18:119: note: cannot convert 'kFSEventStreamEventFlagUnmount' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:18:119: note: cannot convert 'kFSEventStreamEventFlagUnmount' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:18:119: note: cannot convert 'kFSEventStreamEventFlagUnmount' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:18:119: note: cannot convert 'kFSEventStreamEventFlagUnmount' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:18:119: required from here
../src/constants.cc:18:119: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
../src/constants.cc:18:119: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:18:119: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:18:119: note: cannot convert 'kFSEventStreamEventFlagUnmount' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:18:119: note: cannot convert 'kFSEventStreamEventFlagUnmount' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:18:119: note: cannot convert 'kFSEventStreamEventFlagUnmount' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:18:119: note: cannot convert 'kFSEventStreamEventFlagUnmount' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:18:119: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagUnmount"), NanNewv8::Integer(kFSEventStreamEventFlagUnmount));
^
../src/constants.cc:20:127: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
../src/constants.cc:20:127: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:20:127: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:20:127: note: cannot convert 'kFSEventStreamEventFlagItemRemoved' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:20:127: note: cannot convert 'kFSEventStreamEventFlagItemRemoved' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:20:127: note: cannot convert 'kFSEventStreamEventFlagItemRemoved' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:20:127: note: cannot convert 'kFSEventStreamEventFlagItemRemoved' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:20:127: required from here
../src/constants.cc:20:127: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
../src/constants.cc:20:127: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:20:127: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:20:127: note: cannot convert 'kFSEventStreamEventFlagItemRemoved' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:20:127: note: cannot convert 'kFSEventStreamEventFlagItemRemoved' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:20:127: note: cannot convert 'kFSEventStreamEventFlagItemRemoved' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:20:127: note: cannot convert 'kFSEventStreamEventFlagItemRemoved' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:20:127: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRemoved"), NanNewv8::Integer(kFSEventStreamEventFlagItemRemoved));
^
../src/constants.cc:21:137: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
../src/constants.cc:21:137: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:21:137: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:21:137: note: cannot convert 'kFSEventStreamEventFlagItemInodeMetaMod' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:21:137: note: cannot convert 'kFSEventStreamEventFlagItemInodeMetaMod' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:21:137: note: cannot convert 'kFSEventStreamEventFlagItemInodeMetaMod' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:21:137: note: cannot convert 'kFSEventStreamEventFlagItemInodeMetaMod' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:21:137: required from here
../src/constants.cc:21:137: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
../src/constants.cc:21:137: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:21:137: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:21:137: note: cannot convert 'kFSEventStreamEventFlagItemInodeMetaMod' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:21:137: note: cannot convert 'kFSEventStreamEventFlagItemInodeMetaMod' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:21:137: note: cannot convert 'kFSEventStreamEventFlagItemInodeMetaMod' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:21:137: note: cannot convert 'kFSEventStreamEventFlagItemInodeMetaMod' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:21:137: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemInodeMetaMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemInodeMetaMod));
^
../src/constants.cc:22:127: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
../src/constants.cc:22:127: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:22:127: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:22:127: note: cannot convert 'kFSEventStreamEventFlagItemRenamed' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:22:127: note: cannot convert 'kFSEventStreamEventFlagItemRenamed' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:22:127: note: cannot convert 'kFSEventStreamEventFlagItemRenamed' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:22:127: note: cannot convert 'kFSEventStreamEventFlagItemRenamed' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:22:127: required from here
../src/constants.cc:22:127: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
../src/constants.cc:22:127: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:22:127: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:22:127: note: cannot convert 'kFSEventStreamEventFlagItemRenamed' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:22:127: note: cannot convert 'kFSEventStreamEventFlagItemRenamed' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:22:127: note: cannot convert 'kFSEventStreamEventFlagItemRenamed' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:22:127: note: cannot convert 'kFSEventStreamEventFlagItemRenamed' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:22:127: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemRenamed"), NanNewv8::Integer(kFSEventStreamEventFlagItemRenamed));
^
../src/constants.cc:23:129: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
../src/constants.cc:23:129: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:23:129: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:23:129: note: cannot convert 'kFSEventStreamEventFlagItemModified' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:23:129: note: cannot convert 'kFSEventStreamEventFlagItemModified' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:23:129: note: cannot convert 'kFSEventStreamEventFlagItemModified' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:23:129: note: cannot convert 'kFSEventStreamEventFlagItemModified' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:23:129: required from here
../src/constants.cc:23:129: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
../src/constants.cc:23:129: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:23:129: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:23:129: note: cannot convert 'kFSEventStreamEventFlagItemModified' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:23:129: note: cannot convert 'kFSEventStreamEventFlagItemModified' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:23:129: note: cannot convert 'kFSEventStreamEventFlagItemModified' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:23:129: note: cannot convert 'kFSEventStreamEventFlagItemModified' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:23:129: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemModified"), NanNewv8::Integer(kFSEventStreamEventFlagItemModified));
^
../src/constants.cc:24:139: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
../src/constants.cc:24:139: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:24:139: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:24:139: note: cannot convert 'kFSEventStreamEventFlagItemFinderInfoMod' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:24:139: note: cannot convert 'kFSEventStreamEventFlagItemFinderInfoMod' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:24:139: note: cannot convert 'kFSEventStreamEventFlagItemFinderInfoMod' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:24:139: note: cannot convert 'kFSEventStreamEventFlagItemFinderInfoMod' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:24:139: required from here
../src/constants.cc:24:139: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
../src/constants.cc:24:139: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:24:139: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:24:139: note: cannot convert 'kFSEventStreamEventFlagItemFinderInfoMod' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:24:139: note: cannot convert 'kFSEventStreamEventFlagItemFinderInfoMod' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:24:139: note: cannot convert 'kFSEventStreamEventFlagItemFinderInfoMod' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:24:139: note: cannot convert 'kFSEventStreamEventFlagItemFinderInfoMod' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:24:139: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemFinderInfoMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemFinderInfoMod));
^
../src/constants.cc:25:135: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
../src/constants.cc:25:135: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:25:135: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:25:135: note: cannot convert 'kFSEventStreamEventFlagItemChangeOwner' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:25:135: note: cannot convert 'kFSEventStreamEventFlagItemChangeOwner' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:25:135: note: cannot convert 'kFSEventStreamEventFlagItemChangeOwner' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:25:135: note: cannot convert 'kFSEventStreamEventFlagItemChangeOwner' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:25:135: required from here
../src/constants.cc:25:135: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
../src/constants.cc:25:135: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:25:135: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:25:135: note: cannot convert 'kFSEventStreamEventFlagItemChangeOwner' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:25:135: note: cannot convert 'kFSEventStreamEventFlagItemChangeOwner' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:25:135: note: cannot convert 'kFSEventStreamEventFlagItemChangeOwner' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:25:135: note: cannot convert 'kFSEventStreamEventFlagItemChangeOwner' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:25:135: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemChangeOwner"), NanNewv8::Integer(kFSEventStreamEventFlagItemChangeOwner));
^
../src/constants.cc:26:129: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
../src/constants.cc:26:129: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:26:129: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:26:129: note: cannot convert 'kFSEventStreamEventFlagItemXattrMod' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:26:129: note: cannot convert 'kFSEventStreamEventFlagItemXattrMod' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:26:129: note: cannot convert 'kFSEventStreamEventFlagItemXattrMod' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:26:129: note: cannot convert 'kFSEventStreamEventFlagItemXattrMod' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:26:129: required from here
../src/constants.cc:26:129: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
../src/constants.cc:26:129: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:26:129: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:26:129: note: cannot convert 'kFSEventStreamEventFlagItemXattrMod' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:26:129: note: cannot convert 'kFSEventStreamEventFlagItemXattrMod' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:26:129: note: cannot convert 'kFSEventStreamEventFlagItemXattrMod' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:26:129: note: cannot convert 'kFSEventStreamEventFlagItemXattrMod' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:26:129: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemXattrMod"), NanNewv8::Integer(kFSEventStreamEventFlagItemXattrMod));
^
../src/constants.cc:27:125: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
../src/constants.cc:27:125: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:27:125: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:27:125: note: cannot convert 'kFSEventStreamEventFlagItemIsFile' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:27:125: note: cannot convert 'kFSEventStreamEventFlagItemIsFile' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:27:125: note: cannot convert 'kFSEventStreamEventFlagItemIsFile' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:27:125: note: cannot convert 'kFSEventStreamEventFlagItemIsFile' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:27:125: required from here
../src/constants.cc:27:125: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
../src/constants.cc:27:125: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:27:125: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:27:125: note: cannot convert 'kFSEventStreamEventFlagItemIsFile' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:27:125: note: cannot convert 'kFSEventStreamEventFlagItemIsFile' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:27:125: note: cannot convert 'kFSEventStreamEventFlagItemIsFile' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:27:125: note: cannot convert 'kFSEventStreamEventFlagItemIsFile' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:27:125: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsFile"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsFile));
^
../src/constants.cc:28:123: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
../src/constants.cc:28:123: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:28:123: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:28:123: note: cannot convert 'kFSEventStreamEventFlagItemIsDir' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:28:123: note: cannot convert 'kFSEventStreamEventFlagItemIsDir' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:28:123: note: cannot convert 'kFSEventStreamEventFlagItemIsDir' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value ()(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:28:123: note: cannot convert 'kFSEventStreamEventFlagItemIsDir' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:28:123: required from here
../src/constants.cc:28:123: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
../src/constants.cc:28:123: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:28:123: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:28:123: note: cannot convert 'kFSEventStreamEventFlagItemIsDir' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:28:123: note: cannot convert 'kFSEventStreamEventFlagItemIsDir' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:28:123: note: cannot convert 'kFSEventStreamEventFlagItemIsDir' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:28:123: note: cannot convert 'kFSEventStreamEventFlagItemIsDir' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:28:123: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsDir"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsDir));
^
../src/constants.cc:29:131: error: no matching function for call to 'NanNew()'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
../src/constants.cc:29:131: note: candidates are:
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1032:27: note: template v8::Local NanNew()
NAN_INLINE v8::Local NanNew() {
^
../node_modules/nan/nan.h:1032:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:29:131: note: candidate expects 0 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1037:27: note: template v8::Local NanNew(v8::Handle)
NAN_INLINE v8::Local NanNew(v8::Handle arg) {
^
../node_modules/nan/nan.h:1037:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:29:131: note: cannot convert 'kFSEventStreamEventFlagItemIsSymlink' (type '') to type 'v8::Handlev8::Integer'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1042:39: note: template v8::Localv8::Signature NanNew(v8::Handlev8::FunctionTemplate, int, v8::Handlev8::FunctionTemplate
)
NAN_INLINE v8::Localv8::Signature NanNew(
^
../node_modules/nan/nan.h:1042:39: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:29:131: note: cannot convert 'kFSEventStreamEventFlagItemIsSymlink' (type '') to type 'v8::Handlev8::FunctionTemplate'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1050:46: note: template v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature)
NAN_INLINE v8::Localv8::FunctionTemplate NanNew(
^
../node_modules/nan/nan.h:1050:46: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:29:131: note: cannot convert 'kFSEventStreamEventFlagItemIsSymlink' (type '') to type 'NanFunctionCallback {aka v8::Handlev8::Value (_)(const v8::Arguments&)}'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1058:27: note: template v8::Local NanNew(const v8::Persistent&)
NAN_INLINE v8::Local NanNew(const v8::Persistent &arg) {
^
../node_modules/nan/nan.h:1058:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:29:131: note: cannot convert 'kFSEventStreamEventFlagItemIsSymlink' (type '') to type 'const v8::Persistentv8::Integer&'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1063:27: note: template<class T, class P> v8::Local NanNew(P)
NAN_INLINE v8::Local NanNew(P arg) {
^
../node_modules/nan/nan.h:1063:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc: In substitution of 'template<class T, class P> v8::Local NanNew(P) [with T = v8::Integer; P = ]':
../src/constants.cc:29:131: required from here
../src/constants.cc:29:131: error: '' is/uses anonymous type
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
../src/constants.cc:29:131: error: trying to instantiate 'template<class T, class P> v8::Local NanNew(P)'
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1068:27: note: template<class T, class P> v8::Local NanNew(P, int)
NAN_INLINE v8::Local NanNew(P arg, int length) {
^
../node_modules/nan/nan.h:1068:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:29:131: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1073:36: note: template v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1073:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:29:131: note: cannot convert 'kFSEventStreamEventFlagItemIsSymlink' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1079:36: note: template v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1079:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:29:131: note: cannot convert 'kFSEventStreamEventFlagItemIsSymlink' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1085:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Handlev8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1085:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:29:131: note: cannot convert 'kFSEventStreamEventFlagItemIsSymlink' (type '') to type 'v8::Handlev8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1091:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)
NAN_INLINE v8::Localv8::RegExp NanNew(
^
../node_modules/nan/nan.h:1091:36: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:29:131: note: cannot convert 'kFSEventStreamEventFlagItemIsSymlink' (type '') to type 'v8::Localv8::String'
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
In file included from ../fsevents.cc:6:0:
../node_modules/nan/nan.h:1121:27: note: template<class T, class P> v8::Local NanNew(P, const v8::ScriptOrigin&)
NAN_INLINE v8::Local NanNew(
^
../node_modules/nan/nan.h:1121:27: note: template argument deduction/substitution failed:
In file included from ../fsevents.cc:86:0:
../src/constants.cc:29:131: note: candidate expects 2 arguments, 1 provided
object->Set(NanNewv8::String("kFSEventStreamEventFlagItemIsSymlink"), NanNewv8::Integer(kFSEventStreamEventFlagItemIsSymlink));
^
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jasson/workspace/test/node_modules/fsevents
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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-gyp rebuild
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! System Darwin 13.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "fsevents"
npm ERR! cwd /Users/jasson/workspace/test
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/jasson/workspace/test/npm-debug.log
npm ERR! not ok code 0

Error on io.js "Error: 404 status code downloading tarball"

$ nvm use iojs
Now using io.js v1.1.0
$ npm install -g fsevents
-
> [email protected] install /Users/fibric/.nvm/versions/io.js/v1.1.0/lib/node_modules/fsevents
> node-gyp rebuild

gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 404 status code downloading tarball
gyp ERR! stack     at Request.<anonymous> (/Users/fibric/.nvm/versions/io.js/v1.1.0/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:246:14)
gyp ERR! stack     at Request.emit (events.js:119:20)
gyp ERR! stack     at Request.onRequestResponse (/Users/fibric/.nvm/versions/io.js/v1.1.0/lib/node_modules/npm/node_modules/request/request.js:1255:10)
gyp ERR! stack     at ClientRequest.emit (events.js:97:17)
gyp ERR! stack     at HTTPParser.parserOnIncomingClient (_http_client.js:395:21)
gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
gyp ERR! stack     at Socket.socketOnData (_http_client.js:286:20)
gyp ERR! stack     at Socket.emit (events.js:97:17)
gyp ERR! stack     at readableAddChunk (_stream_readable.js:143:16)
gyp ERR! stack     at Socket.Readable.push (_stream_readable.js:106:10)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/Users/fibric/.nvm/versions/io.js/v1.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/fibric/.nvm/versions/io.js/v1.1.0/lib/node_modules/fsevents
gyp ERR! node -v v1.1.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/Users/fibric/.nvm/versions/io.js/v1.1.0/bin/npm" "install" "-g" "fsevents"
npm ERR! node v1.1.0
npm ERR! npm  v2.5.0
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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-gyp rebuild
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! Please include the following file with any support request:
npm ERR!     /Users/fibric/Projects/javascript/sebn.sai.stats/front-end/npm-debug.log

I am running OSX 10.10.3 (14D72i). Using nvm to install and manage node and io.js.

Error: Python executable "python" is v3.4.1, which is not supported by gyp.

➜ npm install

> [email protected] install /usr/local/www/node_modules/grunt-6to5/node_modules/6to5/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

gyp ERR! configure error 
gyp ERR! stack Error: Python executable "python" is v3.4.1, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
gyp ERR! stack     at failPythonVersion (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:108:14)
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:97:9
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:646:7)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at maybeClose (child_process.js:756:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:823:5)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/www/node_modules/grunt-6to5/node_modules/6to5/node_modules/chokidar/node_modules/fsevents
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok 
npm WARN optional dep failed, continuing [email protected]
/
> [email protected] install /usr/local/www/
> ./configure

[email protected] node_modules/grunt-6to5
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
➜ uname -a
Darwin MacBook-Pro--Monolithed.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
➜ python --version
Python 3.4.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.