Date: Sat, 11 Nov 2017 22:17:48 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223615] npm-5.4.2 does not support node v9.1.0 Message-ID: <bug-223615-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223615 Bug ID: 223615 Summary: npm-5.4.2 does not support node v9.1.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: pete@nomadlogic.org when installing the npm package it pulls in node-9.1.0 as a dependency. wh= en executing npm to install packages it fails like so: $ npm install triton npm WARN npm npm does not support Node.js v9.1.0 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, = 7, 8. npm WARN npm You can find the latest version at https://nodejs.org/ WARNING: You are likely using a version of node-tar or npm that is incompat= ible with this version of Node.js.k for /usr/home/pwright/node_modules/.staging Please use either the version of npm that is bundled with Node.js, or a ver= sion of npm (> 5.5.1 or < 5.4.0) or node-tar (> 4.0.1) that is compatible with Node.js 9 and above. /usr/local/bin/node[75829]: ../src/node_zlib.cc:437:static void node::(anonymous namespace)::ZCtx::Init(const FunctionCallbackInfo<v8::Valu= e> &): Assertion `args.Length() =3D=3D 7 && "init(windowBits, level, memLevel, strategy, writeResult, writeCallback," " dictionary)"' failed. 1: node::Abort(void) [/usr/local/bin/node] 2: node::Assert(char const* const[4]*) [/usr/local/bin/node] 3: _ZNSt3__16vectorIPN4node14SigintWatchdogENS_9allocatorIS3_EEE21__push_back_= slow_pathIRKS3_EEvOT_ [/usr/local/bin/node] 4: v8::internal::FunctionCallbackArguments::Call(void(*)(v8::FunctionCallbackI= nfo<v8::Value> const&)) [/usr/local/bin/node] 5: v8::internal::Isolate*<v8::internal::Object> v8::internal::Builtins::InvokeApiFunction(v8::internal::Isolate*, bool, v8::internal::Handle<v8::internal::HeapObject>(int, v8::internal::Object*, v8::internal::HeapObject) [/usr/local/bin/node] Abort trap (core dumped) removing npm-5.4.2 and installing npm4 (which also uses node-9.1.0) works as expected. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223615-13>