Closed
Description
- Version: v7.9.0
- Platform: Darwin imac.local 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar 3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64
Compiling this module crashes on my iMac ... but not on my Macbook and not on the Linux box of my colleague. Replay and strack trace:
$ git clone https://github.com/mhubig/react-bootstrap-switch
$ cd react-bootstrap-switch
$ git checkout mhubig-proptypes-warning
$ yarn install
$ npm run build
> react-bootstrap-switch@15.0.4 build /Users/markus/Development/react-bootstrap-switch
> gulp dist
[11:10:44] Requiring external module babel-register
#
# Fatal error in ../deps/v8/src/api.cc, line 1062
# Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo().
#
==== C stack trace ===============================
0 node 0x0000000100887de1 v8::base::debug::StackTrace::StackTrace() + 19
1 node 0x0000000100886b2b V8_Fatal + 213
2 node 0x0000000100140e26 v8::Template::SetAccessorProperty(v8::Local<v8::Name>, v8::Local<v8::FunctionTemplate>, v8::Local<v8::FunctionTemplate>, v8::PropertyAttribute, v8::AccessControl) + 0
3 fse.node 0x00000001047efb9d fse::FSEvents::Initialize(v8::Local<v8::Object>) + 197
4 node 0x0000000100790bed node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) + 846
5 node 0x0000000100164603 v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) + 315
6 node 0x00000001001aa08e v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) + 874
7 node 0x00000001001a969b v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) + 276
8 ??? 0x00000bf2992043a7 0x0 + 13136579019687
9 ??? 0x00000bf2997e3b86 0x0 + 13136585177990
[1] 34205 illegal hardware instruction npm run build