Looks like you're running into QSH's default behavior of not
multithreaded applications. You will
need to set environment variable QIBM_MULTI_THREADED to 'Y' before
starting your QSH session.
It should work from SSH. Does SSH give you a dfferent error?
"Steve M" <
wrote on 10/15/2020 08:22:09 AM:
From: "Steve M" <
To: "'Jesse Gorzinski'" <
, "'IBMi Open SourceRoundtable'" <
Cc: "'OpenSource'" <
Date: 10/15/2020 08:22 AM
Subject: [EXTERNAL] RE: [IBMiOSS] NPM Issue
Jesse, ? I try to follow the advice of others and not use QSH.? My
failures were using...
This Message Is From an External Sender
This message came from outside your organization.
I try to follow the advice of others and not use QSH. My failures
were using both BitVise SSH Client and using PuTTy.
I did try QSH just now, and received this:
: ../src/node_platform.cc:62:std::unique_ptr<unsigned int>
Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))'
qsh: 001-0078 Process ended by signal 5.
From: Jesse Gorzinski <
Sent: Wednesday, October 14, 2020 19:48
To: IBMi Open Source Roundtable <
Cc: OpenSource <
; Steve M<
Subject: Re: [IBMiOSS] NPM Issue
I assume you're not running from QSH.
Does "node -v" (and other node commands) work?
What does "which npm" and "which node" give you? Both should give
you a /QOpenSys/pkgs/bin path
Also, you may need to run:
in order to explicitly use version 12 if you have older versions
wrote on 10/14/2020 05:12:03 PM:
From: Steve M via OpenSource <
To: "'IBMi Open Source Roundtable'" <
Cc: Steve M <
Date: 10/14/2020 05:12 PM
Subject: [EXTERNAL] [IBMiOSS] NPM Issue
Sent by: "OpenSource" <
Strange new issue. O/S is 7.2 with current updates applied
quarterly. Just used ACS to upgrade Node to v12.18.4.
Every NPM command returns "Abort - core dumped". I mean every
single one, even something as simple as "npm -v".
Was happening before doing the upgrade and still continuing
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.