Skip to content

node asserts in node_contextify.cc:631 Assertion `args[1]->IsString()' failed #20325

Description

@bentoi

This issue has been solved: Please use a gulp version >= 4.0.0. Thank you.


  • Version: v10.0.0 (from HomeBrew)
  • Platform: macOS High Sierra 10.13.4
  • Subsystem: gulp

Trying to build our sources using the latest node, node crashes with the assert below when running gulp.

Step to reproduce:

$ git clone --depth 1 -b 3.7 https://github.com/zeroc-ice/ice
$ cd ice/js
$ npm install
$ npm run build

The stack trace:

$ npm run build

> ice@3.7.1 build /Users/benoit/Devel/GitHub/ice37/js
> gulp

gulp[46138]: ../src/node_contextify.cc:631:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfo<v8::Value> &): Assertion `args[1]->IsString()' failed.
 1: node::Abort() [/usr/local/bin/node]
 2: node::Assert(char const* const (*) [4]) [/usr/local/bin/node]
 3: node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
 4: v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) [/usr/local/bin/node]
 5: 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/bin/node]
 6: v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
 7: 0x36ecf288427d

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssues and PRs that are duplicates of other issues or PRs.vmIssues and PRs related to the vm subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions