Skip to content

nativescript is not compatible with node10 #3554

Closed
@dtopuzov

Description

@dtopuzov

nativescript-cli is not compatible with node10.

Priority is rising due to the fact that brew install node now install node10 by default.

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.0.0

Please tell us how to recreate the issue in as much detail as possible.

brew install node
npm i -g nativescript
nativescript --version

Logs:

Support for Node.js 10.0.0 is not verified. This CLI might not install or run properly.

node[29989]: ../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::int
ernal::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: 0x34b6b628427d
 8: 0x34b6b628f755
 9: 0x34b6b630bc20
10: 0x34b6b62944f7
11: 0x34b6b62944f7
Abort trap: 6

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions