Closed nickretallack closed 7 years ago
In the react-toolbox there is a similar issue: https://github.com/react-toolbox/react-toolbox/issues/468
See https://github.com/react-toolbox/react-toolbox/issues/466#issuecomment-212887893 for a temporary solution
This pull request should fix it: https://github.com/react-toolbox/react-toolbox-example/pull/20
Short version: After node-sass@3.4.2 they fixed a non-compliance issue of libSass compared to Ruby Sass and it breaks react-toolbox Sass. This pull request updates to the specific 3.4.2 version until the react-toolbox Sass is modified.
Please try the workaround! I'm going to PR a new approach and the example will be updated fixing this during the weekend
Anyone getting a segfault on Mac OS after npm-installing node-sass 3.4.2, then running npm-build?
1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
2: SassTypes::Boolean::get_constructor()
3: SassTypes::Factory::initExports(v8::Local<v8::Object>)
4: RegisterModule(v8::Local<v8::Object>)
5: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
6: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
7: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>)
8: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)
9: 0x3133350961b
Segmentation fault: 11
$ c++ --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
Seems node v6.1.0 and node-sass somehow don't mix. If I back node off to 5.10.1, I do not get the core dump.
Maybe npm rebuild
will help. I think native libraries like node-sass which I believe uses a C library underneath can have issues depending on how you changed your node version.
Was a clean build; rm -rf node_modules; npm install.
On 5/10/16 5:21 PM, Arlair wrote:
Maybe |npm rebuild| will help. I think native libraries like node-sass which I believe uses a C library underneath can have issues depending on how you changed your node version.
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/react-toolbox/react-toolbox-example/issues/19#issuecomment-218329872
When I follow the instructions, it displays an empty page in my browser and prints this to the console. I'm using node v4.4.3 on Ubuntu.
It can also emit these warnings: