Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run build crashes with "illegal hardware instruction" #12720

Closed
mhubig opened this issue Apr 28, 2017 · 1 comment
Closed

npm run build crashes with "illegal hardware instruction" #12720

mhubig opened this issue Apr 28, 2017 · 1 comment
Labels
invalid Issues and PRs that are invalid.

Comments

@mhubig
Copy link

mhubig commented Apr 28, 2017

  • 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
@bnoordhuis
Copy link
Member

Can you report this against https://github.com/strongloop/fsevents/issues? Make sure you use the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Issues and PRs that are invalid.
Projects
None yet
Development

No branches or pull requests

2 participants