Skip to content

Can't run the examples using gulp #2139

Open
@hlimbo-medl

Description

@hlimbo-medl

Versions Used

  • nodejs -> v17.4.0
  • npm -> v8.3.1

I've looked at these similar issues below and they seem to be able to at least run the gulp server:

Steps To reproduce

  1. clone fresh copy of this repo
  2. npm install --legacy-peer-deps
  3. npm start

I'm unable to run the examples using the existing npm start script command and get the following error below:

> [email protected] start
> gulp example-server

gulp[29120]: ../src/node_contextify.cc:704:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfo<v8::Value> &): Assertion `args[1]->IsString()' failed.
 1: 0x10da5deda node::Abort() [/usr/local/Cellar/node/17.4.0/bin/node]
 2: 0x10da5dec5 node::Abort() [/usr/local/Cellar/node/17.4.0/bin/node]
 3: 0x10da52b47 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/Cellar/node/17.4.0/bin/node]
 4: 0x10dc0c4a0 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/usr/local/Cellar/node/17.4.0/bin/node]
 5: 0x10dc0bde0 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) [/usr/local/Cellar/node/17.4.0/bin/node]
 6: 0x10dc0bb57 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/usr/local/Cellar/node/17.4.0/bin/node]
 7: 0x10d8bec39 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/usr/local/Cellar/node/17.4.0/bin/node]
 8: 0x10d84b258 Builtins_JSBuiltinsConstructStub [/usr/local/Cellar/node/17.4.0/bin/node]
 9: 0x10d9540c8 Builtins_ConstructHandler [/usr/local/Cellar/node/17.4.0/bin/node]
10: 0x10d84dc8e Builtins_InterpreterEntryTrampoline [/usr/local/Cellar/node/17.4.0/bin/node]
zsh: abort      npm start

Any help would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions