{"action":"created","issue":{"url":"https://api.github.com/repos/jbuck/wintersmith-nunjucks/issues/18","labels_url":"https://api.github.com/repos/jbuck/wintersmith-nunjucks/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/jbuck/wintersmith-nunjucks/issues/18/comments","events_url":"https://api.github.com/repos/jbuck/wintersmith-nunjucks/issues/18/events","html_url":"https://github.com/jbuck/wintersmith-nunjucks/issues/18","id":90966930,"number":18,"title":"Error on installation","user":{"login":"paulmsmith","id":57055,"avatar_url":"https://avatars.githubusercontent.com/u/57055?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmsmith","html_url":"https://github.com/paulmsmith","followers_url":"https://api.github.com/users/paulmsmith/followers","following_url":"https://api.github.com/users/paulmsmith/following{/other_user}","gists_url":"https://api.github.com/users/paulmsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmsmith/subscriptions","organizations_url":"https://api.github.com/users/paulmsmith/orgs","repos_url":"https://api.github.com/users/paulmsmith/repos","events_url":"https://api.github.com/users/paulmsmith/events{/privacy}","received_events_url":"https://api.github.com/users/paulmsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-25T13:34:48Z","updated_at":"2015-06-26T15:24:19Z","closed_at":null,"body":"Hi,\r\n\r\nHope this is a quick and easy one. I'm on a new machine so it could be something I'm missing that I just can't see but upon running ```npm install -g wintersmith-nunjucks```\r\n\r\nI get the following error:\r\n\r\n```\r\nnpm install -g wintersmith-nunjucks\r\n\\\r\n> fsevents@0.2.1 install /usr/local/lib/node_modules/wintersmith-nunjucks/node_modules/nunjucks/node_modules/chokidar/node_modules/fsevents\r\n> node-gyp rebuild\r\n\r\n  CXX(target) Release/obj.target/fse/fsevents.o\r\nIn file included from ../fsevents.cc:6:\r\n../node_modules/nan/nan.h:339:13: error: no member named 'New' in 'v8::String'\r\n    return  _NAN_ERROR(v8::Exception::Error, errmsg);\r\n            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'\r\n# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))\r\n                                     ~~~~~~~~~~~~^\r\n../node_modules/nan/nan.h:343:5: error: no member named 'ThrowException' in namespace 'v8'\r\n    _NAN_THROW_ERROR(v8::Exception::Error, errmsg);\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'\r\n      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \\\r\n      ~~~~^\r\n../node_modules/nan/nan.h:343:5: error: no member named 'New' in 'v8::String'\r\n    _NAN_THROW_ERROR(v8::Exception::Error, errmsg);\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'\r\n      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \\\r\n                         ^~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'\r\n# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))\r\n                                     ~~~~~~~~~~~~^\r\n../node_modules/nan/nan.h:348:9: error: no type named 'ThrowException' in namespace 'v8'\r\n    v8::ThrowException(error);\r\n    ~~~~^\r\n../node_modules/nan/nan.h:355:65: error: no member named 'New' in 'v8::String'\r\n    v8::Local<v8::Value> err = v8::Exception::Error(v8::String::New(msg));\r\n                                                    ~~~~~~~~~~~~^\r\n../node_modules/nan/nan.h:357:26: error: no member named 'New' in 'v8::String'\r\n    obj->Set(v8::String::New(\"code\"), v8::Int32::New(errorNumber));\r\n             ~~~~~~~~~~~~^\r\n../node_modules/nan/nan.h:357:65: error: too few arguments to function call, expected 2, have 1\r\n    obj->Set(v8::String::New(\"code\"), v8::Int32::New(errorNumber));\r\n                                      ~~~~~~~~~~~~~~            ^\r\n/Users/paulsmith/.node-gyp/0.12.5/deps/v8/include/v8.h:2012:3: note: 'New' declared here\r\n  static Local<Integer> New(Isolate* isolate, int32_t value);\r\n  ^\r\nIn file included from ../fsevents.cc:6:\r\n../node_modules/nan/nan.h:369:12: error: no member named 'New' in 'v8::String'\r\n    return _NAN_ERROR(v8::Exception::TypeError, errmsg);\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'\r\n# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))\r\n                                     ~~~~~~~~~~~~^\r\n../node_modules/nan/nan.h:373:5: error: no member named 'ThrowException' in namespace 'v8'\r\n    _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'\r\n      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \\\r\n      ~~~~^\r\n../node_modules/nan/nan.h:373:5: error: no member named 'New' in 'v8::String'\r\n    _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'\r\n      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \\\r\n                         ^~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'\r\n# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))\r\n                                     ~~~~~~~~~~~~^\r\n../node_modules/nan/nan.h:377:12: error: no member named 'New' in 'v8::String'\r\n    return _NAN_ERROR(v8::Exception::RangeError, errmsg);\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'\r\n# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))\r\n                                     ~~~~~~~~~~~~^\r\n../node_modules/nan/nan.h:381:5: error: no member named 'ThrowException' in namespace 'v8'\r\n    _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'\r\n      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \\\r\n      ~~~~^\r\n../node_modules/nan/nan.h:381:5: error: no member named 'New' in 'v8::String'\r\n    _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'\r\n      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \\\r\n                         ^~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'\r\n# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))\r\n                                     ~~~~~~~~~~~~^\r\n../node_modules/nan/nan.h:727:49: error: too few arguments to function call, single argument 'isolate' was not specified\r\n    v8::Local<v8::Object> obj = v8::Object::New();\r\n                                ~~~~~~~~~~~~~~~ ^\r\n/Users/paulsmith/.node-gyp/0.12.5/deps/v8/include/v8.h:2388:3: note: 'New' declared here\r\n  static Local<Object> New(Isolate* isolate);\r\n  ^\r\nIn file included from ../fsevents.cc:6:\r\n../node_modules/nan/nan.h:733:49: error: too few arguments to function call, single argument 'isolate' was not specified\r\n    v8::Local<v8::Object> obj = v8::Object::New();\r\n                                ~~~~~~~~~~~~~~~ ^\r\n/Users/paulsmith/.node-gyp/0.12.5/deps/v8/include/v8.h:2388:3: note: 'New' declared here\r\n  static Local<Object> New(Isolate* isolate);\r\n  ^\r\nIn file included from ../fsevents.cc:6:\r\n../node_modules/nan/nan.h:740:12: error: no member named 'Dispose' in 'v8::Persistent<v8::Object,\r\n      v8::NonCopyablePersistentTraits<v8::Object> >'\r\n    handle.Dispose();\r\n    ~~~~~~ ^\r\n../node_modules/nan/nan.h:741:12: error: no member named 'Clear' in 'v8::Persistent<v8::Object,\r\n      v8::NonCopyablePersistentTraits<v8::Object> >'\r\n    handle.Clear();\r\n    ~~~~~~ ^\r\n../node_modules/nan/nan.h:746:39: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?\r\n    NanPersistentToLocal(handle)->Set(NanSymbol(\"callback\"), fn);\r\n                                      ^~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:181:38: note: expanded from macro 'NanSymbol'\r\n#define NanSymbol(value) v8::String::NewSymbol(value)\r\n                         ~~~~~~~~~~~~^\r\n/Users/paulsmith/.node-gyp/0.12.5/deps/v8/include/v8.h:1379:8: note: 'IsSymbol' declared here\r\n  bool IsSymbol() const;\r\n       ^\r\nIn file included from ../fsevents.cc:6:\r\n../node_modules/nan/nan.h:746:39: error: call to non-static member function without an object argument\r\n    NanPersistentToLocal(handle)->Set(NanSymbol(\"callback\"), fn);\r\n                                      ^~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:181:38: note: expanded from macro 'NanSymbol'\r\n#define NanSymbol(value) v8::String::NewSymbol(value)\r\n                         ~~~~~~~~~~~~^~~~~~~~~\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n20 errors generated.\r\nmake: *** [Release/obj.target/fse/fsevents.o] Error 1\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)\r\ngyp ERR! System Darwin 14.3.0\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /usr/local/lib/node_modules/wintersmith-nunjucks/node_modules/nunjucks/node_modules/chokidar/node_modules/fsevents\r\ngyp ERR! node -v v0.12.5\r\ngyp ERR! node-gyp -v v2.0.1\r\ngyp ERR! not ok\r\nnpm WARN optional dep failed, continuing fsevents@0.2.1\r\nwintersmith-nunjucks@0.5.1 /usr/local/lib/node_modules/wintersmith-nunjucks\r\n└── nunjucks@1.0.7 (optimist@0.6.1, chokidar@0.8.4)\r\n```\r\n\r\nAny clues?\r\n\r\nI'm on node ```v0.12.5```\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/jbuck/wintersmith-nunjucks/issues/comments/115728447","html_url":"https://github.com/jbuck/wintersmith-nunjucks/issues/18#issuecomment-115728447","issue_url":"https://api.github.com/repos/jbuck/wintersmith-nunjucks/issues/18","id":115728447,"user":{"login":"paulmsmith","id":57055,"avatar_url":"https://avatars.githubusercontent.com/u/57055?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmsmith","html_url":"https://github.com/paulmsmith","followers_url":"https://api.github.com/users/paulmsmith/followers","following_url":"https://api.github.com/users/paulmsmith/following{/other_user}","gists_url":"https://api.github.com/users/paulmsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmsmith/subscriptions","organizations_url":"https://api.github.com/users/paulmsmith/orgs","repos_url":"https://api.github.com/users/paulmsmith/repos","events_url":"https://api.github.com/users/paulmsmith/events{/privacy}","received_events_url":"https://api.github.com/users/paulmsmith/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T15:24:19Z","updated_at":"2015-06-26T15:24:19Z","body":"Updating nunjucks to latest solved the problem. Thanks again. "}}