koudelka / visualixir

A process/message visualizer for BEAM nodes.💪👁
MIT License
1.32k stars 46 forks source link

v8 javascript error #16

Closed randysecrist closed 7 years ago

randysecrist commented 7 years ago

followed the instructions in the README.md ...

My environment: OS X 10.12.5 Erlang 19.3.4 Elixir 1.4.4

When I start up visualixir, I am seeing this error:


#
# Fatal error in ../deps/v8/src/api.cc, line 1197
# Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo().
#

==== C stack trace ===============================

    0   node                                0x00000001008abaa1 v8::base::debug::StackTrace::StackTrace() + 19
    1   node                                0x00000001008aa803 V8_Fatal + 213
    2   node                                0x0000000100140e1e v8::Template::SetPrivate(v8::Local<v8::Private>, v8::Local<v8::Data>, v8::PropertyAttribute) + 0
    3   fse.node                            0x00000001038e4ba3 fse::FSEvents::Initialize(v8::Local<v8::Object>) + 197
    4   node                                0x00000001007f8f6e node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&) + 864
    5   node                                0x00000001001677fe v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) + 416
    6   node                                0x00000001001b479c 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) + 871
    7   node                                0x00000001001b3db2 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) + 276
    8   ???                                 0x00001ac2c328437d 0x0 + 29423800173437```
koudelka commented 7 years ago

Hm, what version of node are you using?

randysecrist commented 7 years ago

I just brew installed it ... not really much of a JS guy ..

[randy|MacBook-Pro|erlang-19 (master) ✗]  $ npm --version
5.0.1
[randy|MacBook-Pro|erlang-19 (master) ✗]  $ node --version
v8.0.0
koudelka commented 7 years ago

Bumping the phoenix dep and rejigging some node package deps seems to have fixed it. Try with the latest. :)