Skip to content

Examples are broken #401

@marcofugaro

Description

@marcofugaro

Hi, I wanted to see the softbody example, however all the examples are broken ATM.
https://whs-dev.surge.sh/examples/#/physics/SoftBody/sphere

Shouldn't the examples use the stable 2.x version?

I have no way of viewing the example. I tried building the project locally, but didn't work as it gives me a of compilation errors when running npm run examples:

> gulp examples:build

[14:49:22] Requiring external module @babel/register
gulp examples:build[40876]: ../src/node_contextify.cc:640:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfo<v8::Value> &): Assertion `args[1]->IsString()' failed.
 1: 0x100069fdc node::Abort() [/Users/marcofugaro/.npm/_npx/40869/bin/node]
 2: 0x100069903 node::GetErrorSource(v8::Isolate*, v8::Local<v8::Context>, v8::Local<v8::Message>, bool*) [/Users/marcofugaro/.npm/_npx/40869/bin/node]
 3: 0x100063292 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/marcofugaro/.npm/_npx/40869/bin/node]
 4: 0x100240917 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) [/Users/marcofugaro/.npm/_npx/40869/bin/node]
 5: 0x10023fbd8 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(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) [/Users/marcofugaro/.npm/_npx/40869/bin/node]
 6: 0x10023f5b7 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/Users/marcofugaro/.npm/_npx/40869/bin/node]
 7: 0x20eb76d4fc7d 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions