{"action":"created","issue":{"url":"https://api.github.com/repos/sass/node-sass/issues/1142","labels_url":"https://api.github.com/repos/sass/node-sass/issues/1142/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass/issues/1142/comments","events_url":"https://api.github.com/repos/sass/node-sass/issues/1142/events","html_url":"https://github.com/sass/node-sass/issues/1142","id":106301190,"number":1142,"title":"Problem installing node-sass with Ionic framework","user":{"login":"motzne","id":255519,"avatar_url":"https://avatars.githubusercontent.com/u/255519?v=3","gravatar_id":"","url":"https://api.github.com/users/motzne","html_url":"https://github.com/motzne","followers_url":"https://api.github.com/users/motzne/followers","following_url":"https://api.github.com/users/motzne/following{/other_user}","gists_url":"https://api.github.com/users/motzne/gists{/gist_id}","starred_url":"https://api.github.com/users/motzne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motzne/subscriptions","organizations_url":"https://api.github.com/users/motzne/orgs","repos_url":"https://api.github.com/users/motzne/repos","events_url":"https://api.github.com/users/motzne/events{/privacy}","received_events_url":"https://api.github.com/users/motzne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sass/node-sass/labels/Invalid%20-%20By%20Design","name":"Invalid - By Design","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-14T09:12:08Z","updated_at":"2015-09-14T13:57:12Z","closed_at":"2015-09-14T10:30:45Z","body":"Hey guys\r\n\r\nI have a problem using sass with ionic-framwork (`ionic setup sass`), I get the following:\r\n```\r\n/Users/tom/Projekte/Roomies/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:22\r\n    throw new Error('`libsass` bindings not found. Try reinstalling `node-sass`?');\r\n    ^\r\n\r\nError: `libsass` bindings not found. Try reinstalling `node-sass`?\r\n    at getBinding (/Users/tom/Projekte/Roomies/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:22:11)\r\n    at Object.<anonymous> (/Users/tom/Projekte/Roomies/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:188:23)\r\n    at Module._compile (module.js:434:26)\r\n    at Object.Module._extensions..js (module.js:452:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (/Users/tom/Projekte/Roomies/node_modules/gulp-sass/index.js:3:17)\r\n    at Module._compile (module.js:434:26)\r\n\r\nError running gulp sass\r\n\r\n\r\n\r\nException with  (CLI v1.6.4)\r\n\r\nYour system information:\r\n\r\nCordova CLI: 5.3.1\r\nGulp version:  CLI version 3.9.0\r\nGulp local:   Local version 3.9.0\r\nIonic Version: 1.1.0\r\nIonic CLI Version: 1.6.4\r\nIonic App Lib Version: 0.3.8\r\nios-deploy version: Not installed\r\nios-sim version: 3.0.0\r\nOS: Mac OS X Yosemite\r\nNode Version: v4.0.0\r\nXcode version: Xcode 6.4 Build version 6E35b\r\n```\r\n\r\nRe-Installing node-sass ended up like this:\r\n```\r\nMB:motzne$ npm rebuild node-sass\r\n\r\n> node-sass@2.1.1 install /Users/motzne/node_modules/gulp-sass/node_modules/node-sass\r\n> node scripts/install.js\r\n\r\n\r\n> node-sass@2.1.1 postinstall /Users/motzne/node_modules/gulp-sass/node_modules/node-sass\r\n> node scripts/build.js\r\n\r\n  CXX(target) Release/obj.target/binding/src/binding.o\r\nIn file included from ../src/binding.cpp:1:\r\n../node_modules/nan/nan.h:324:27: error: redefinition of 'NanEnsureHandleOrPersistent'\r\n  NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) {\r\n                          ^\r\n../node_modules/nan/nan.h:319:17: note: previous definition is here\r\n  v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {\r\n                ^\r\n../node_modules/nan/nan.h:344:27: error: redefinition of 'NanEnsureLocal'\r\n  NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) {\r\n                          ^\r\n../node_modules/nan/nan.h:334:27: note: previous definition is here\r\n  NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Local<T> &val) {\r\n                          ^\r\n../node_modules/nan/nan.h:757:13: error: no member named 'smalloc' in namespace 'node'\r\n    , node::smalloc::FreeCallback callback\r\n      ~~~~~~^\r\n../node_modules/nan/nan.h:768:12: error: no matching function for call to 'New'\r\n    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\r\n           ^~~~~~~~~~~~~~~~~\r\n/Users/tom/.node-gyp/4.0.0/src/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument\r\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                       ^\r\n/Users/tom/.node-gyp/4.0.0/src/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier\r\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                       ^\r\n/Users/tom/.node-gyp/4.0.0/src/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided\r\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);\r\n                                       ^\r\n/Users/tom/.node-gyp/4.0.0/src/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided\r\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                       ^\r\nIn file included from ../src/binding.cpp:1:\r\n../node_modules/nan/nan.h:772:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'\r\n    return node::Buffer::New(v8::Isolate::GetCurrent(), size);\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to\r\n      'const v8::Local<v8::Object> &' for 1st argument\r\nclass Local {\r\n      ^\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to\r\n      'v8::Local<v8::Object> &&' for 1st argument\r\nclass Local {\r\n      ^\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'\r\n  V8_INLINE Local(Local<S> that)\r\n            ^\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'\r\n  V8_INLINE Local(S* that)\r\n            ^\r\nIn file included from ../src/binding.cpp:1:\r\n../node_modules/nan/nan.h:779:26: error: no member named 'Use' in namespace 'node::Buffer'\r\n    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);\r\n           ~~~~~~~~~~~~~~^\r\n../src/binding.cpp:70:11: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]\r\n    node::FatalException(try_catch);\r\n          ^\r\n/Users/tom/.node-gyp/4.0.0/src/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here\r\n                inline void FatalException(const v8::TryCatch& try_catch) {\r\n                            ^\r\n/Users/tom/.node-gyp/4.0.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'\r\n    __attribute__((deprecated(message))) declarator\r\n                                         ^\r\n../src/binding.cpp:245:11: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]\r\n    node::FatalException(try_catch);\r\n          ^\r\n/Users/tom/.node-gyp/4.0.0/src/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here\r\n                inline void FatalException(const v8::TryCatch& try_catch) {\r\n                            ^\r\n/Users/tom/.node-gyp/4.0.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'\r\n    __attribute__((deprecated(message))) declarator\r\n                                         ^\r\n../src/binding.cpp:365:11: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]\r\n    node::FatalException(try_catch);\r\n          ^\r\n/Users/tom/.node-gyp/4.0.0/src/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here\r\n                inline void FatalException(const v8::TryCatch& try_catch) {\r\n                            ^\r\n/Users/tom/.node-gyp/4.0.0/src/node.h:66:42: note: expanded from macro 'NODE_DEPRECATED'\r\n    __attribute__((deprecated(message))) declarator\r\n                                         ^\r\nIn file included from ../src/binding.cpp:1:\r\nIn file included from ../node_modules/nan/nan.h:24:\r\nIn file included from /Users/tom/.node-gyp/4.0.0/src/node.h:42:\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'\r\n    TYPE_CHECK(T, S);\r\n    ^~~~~~~~~~~~~~~~\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                    ^ ~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:501:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here\r\n    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));\r\n           ^\r\n../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))\r\n                             ^\r\nIn file included from ../src/binding.cpp:1:\r\nIn file included from ../node_modules/nan/nan.h:24:\r\nIn file included from /Users/tom/.node-gyp/4.0.0/src/node.h:42:\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'\r\n    TYPE_CHECK(T, S);\r\n    ^~~~~~~~~~~~~~~~\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                    ^ ~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:511:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here\r\n    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));\r\n           ^\r\n../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))\r\n                             ^\r\nIn file included from ../src/binding.cpp:1:\r\nIn file included from ../node_modules/nan/nan.h:24:\r\nIn file included from /Users/tom/.node-gyp/4.0.0/src/node.h:42:\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'\r\n    TYPE_CHECK(T, S);\r\n    ^~~~~~~~~~~~~~~~\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                    ^ ~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:1645:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here\r\n    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)\r\n           ^\r\n../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))\r\n                             ^\r\nIn file included from ../src/binding.cpp:1:\r\nIn file included from ../node_modules/nan/nan.h:24:\r\nIn file included from /Users/tom/.node-gyp/4.0.0/src/node.h:42:\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'\r\n    TYPE_CHECK(T, S);\r\n    ^~~~~~~~~~~~~~~~\r\n/Users/tom/.node-gyp/4.0.0/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                    ^ ~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:1776:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here\r\n    return NanEscapeScope(\r\n           ^\r\n../node_modules/nan/nan.h:483:30: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(Nan::imp::NanEnsureLocal(val))\r\n                             ^\r\n3 warnings and 10 errors generated.\r\nmake: *** [Release/obj.target/binding/src/binding.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 (/Users/motzne/node_modules/gulp-sass/node_modules/node-sass/node_modules/pangyp/lib/build.js:272:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Darwin 14.5.0\r\ngyp ERR! command \"/usr/local/bin/node\" \"/Users/motzne/node_modules/gulp-sass/node_modules/node-sass/node_modules/pangyp/bin/node-gyp\" \"rebuild\"\r\ngyp ERR! cwd /Users/motzne/node_modules/gulp-sass/node_modules/node-sass\r\ngyp ERR! node -v v4.0.0\r\ngyp ERR! pangyp -v v2.3.2\r\ngyp ERR! not ok\r\nBuild failed\r\n```\r\n\r\n\r\nAny help?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sass/node-sass/issues/comments/140083136","html_url":"https://github.com/sass/node-sass/issues/1142#issuecomment-140083136","issue_url":"https://api.github.com/repos/sass/node-sass/issues/1142","id":140083136,"user":{"login":"suprMax","id":789031,"avatar_url":"https://avatars.githubusercontent.com/u/789031?v=3","gravatar_id":"","url":"https://api.github.com/users/suprMax","html_url":"https://github.com/suprMax","followers_url":"https://api.github.com/users/suprMax/followers","following_url":"https://api.github.com/users/suprMax/following{/other_user}","gists_url":"https://api.github.com/users/suprMax/gists{/gist_id}","starred_url":"https://api.github.com/users/suprMax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suprMax/subscriptions","organizations_url":"https://api.github.com/users/suprMax/orgs","repos_url":"https://api.github.com/users/suprMax/repos","events_url":"https://api.github.com/users/suprMax/events{/privacy}","received_events_url":"https://api.github.com/users/suprMax/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T13:57:12Z","updated_at":"2015-09-14T13:57:12Z","body":"updated to latest everything, works ok now"}}