Hi everyone,
I am sorry to be a pest about this but i still cannot get npm to install correctly.
npm --version returns
npm 2: FSUM7332 syntax error: got (), expecting Word
but when i go to bin directory containing npm and run
node npm --version i get a valid result.
$ ls
node node-gyp npm npx
$ node npm --version
6.14.13
but npm --version still returns:
npm 2: FSUM7332 syntax error: got (), expecting Word
$
**********from setup.sh*******************
Setting up IBM SDK for Node.js - z/OS 14.0
Checking for supported platform...SUCCESS
Checking for supported hardware...SUCCESS
Checking for supported OS version...SUCCESS
Checking that /usr/bin/env exists...SUCCESS
Checking that Python 2.7+ exists...FAILED
***WARNING: Python is not present on your system. It is an optional requirement
if you are planning to install native Node.js add-ons (e.g. vsam.js, zcrypto, ra
cf, zrexx)
Checking that Make 4.1+ exists...SUCCESS
Checking that system prerequisite PTFs are installed (CHECK 1)...SUCCESS
Checking that system prerequisite PTFs are installed (CHECK 2)...SUCCESS
Checking that system prerequisite PTFs are installed (CHECK 3)...SUCCESS
Checking that Integrated Cryptographic Service Facility is active...SUCCESS
Checking for sufficient above the bar memory...Ý: ./setup.sh 199: FSUM6807 expre
ssion syntax error
SUCCESS
Checking for sufficient disk space to install njsc C/C++ compiler...FAILED
***WARNING: You do not have enough free space to install the Node.js C/C++ compi
ler. 1GB free space is required, found only 37336KB.
Performing Node.js sanity test...SUCCESS
Performing npm sanity test...FAILED
***ERROR: npm sanity test ("npm --version") returned invalid result. Refer to th
e instructions in README.txt and try again.
Setup completed with 1 error(s)
-------------------------------
There was a problem running the setup script. Review the README.txt.
$