I tried to install npm vsam.js package on my zOS 2.3 with nodejs 6.14.3 and npm 3.10.10, and i got the following error messages:
Ê-ÀÑÊÁÄÈ?Ê--make: Entering directory '/u/prichar/github/vsam.js/build' CXX(target) Release/obj.target/vsam.js/vsam.o CXX(target) Release/obj.target/vsam.js/VsamFile.o SOLINK_MODULE(target) Release/obj.target/vsam.js.node FSUM3228 njsc++: Input file /ERSION/usr/lpp/IBM/node/node-v6.14.3-os390-s390x/li b/libnode.x not found. vsam.js.target.mk:119: recipe for target 'Release/obj.target/vsam.js.node' faile d make: *** [Release/obj.target/vsam.js.node] Error 252 make: Leaving directory '/u/prichar/github/vsam.js/build' -[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mbuild error-[0m Process._handle.onexit (internal/child_process.js:219:12) -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mSystem-[0m OS/390 26.00 -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mcommand-[0m "/Z23R01/usr/lpp/I BM/node/node-v6.14.3-os390-s390x/bin/node" "/$VERSION/usr/lpp/IBM/node/node-v6.1 4.3-os390-s390x/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "reb uild" -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mcwd-[0m /u/prichar/github/vsam .js -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mnode -v-[0m v6.14.3 -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mnode-gyp -v-[0m v3.4.0 -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mnot ok-[0m -[0m -[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m OS/390 26.00 -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m -[0m-[35margv-[0m "/Z23R01/usr/lpp/IBM/ node/node-v6.14.3-os390-s390x/bin/node" "/usr/lpp/IBM/node/node-v6.14.3-os390-s3 90x/bin/npm" "i" -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m -[0m-[35mnode-[0m v6.14.3 -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m -[0m-[35mnpm -[0m v3.10.10 -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m -[0m-[35mcode-[0m ELIFECYCLE -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m vsam.js@2.0.1 install: node-g -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m vsam.js@2.0.1 install:node-g yp rebuild
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Exit status 1
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Failed at the vsam.js@2.0.1 in
stall script 'node-gyp rebuild'.
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Make sure you have the latest
version of node.js and npm installed.
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m If you do, this is most likely
a problem with the vsam.js package,
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m not with npm itself.
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Tell the author that this fail
s on your system:
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m node-gyp rebuild
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m You can get information on how
to open an issue for this project with:
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m npm bugs vsam.js
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Or if that isn't available, yo
u can get their info via:
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m npm owner ls vsam.js
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m There is likely additional log
ging output above.
-[0m
-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Please include the following file
with any support request:
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m /u/prichar/github/vsam.js/
npm-debug.log
Any ideas?
/usr/lpp/IBM/node/node-v6.14.3-os390-s390x/lib/libnode.x does exist.
PRICHAR@X9:/u/prichar/github/vsam.js #os390-s390x/lib/libnode.x <
-rw-r----- 1 ROOT SYS1 3829680 Jun 14 03:04 /usr/lpp/IBM/node/node-v6.
14.3-os390-s390x/lib/libnode.x
the strange thing is the 'ERSION' in above message 'Input file /ERSION/usr/lpp...... '
In my USS system , option $VERSION refers to /Z23R01/ (defined in BPXPRM00)
I downloaded the whole package in zip format and uploaded to my z/OS system, then tagged all files as ASCII.
Note: This question has been migrated from the IBM DeveloperWorks community "IBM SDK for Node.js". It was originally posted on Oct 2, 2018 by user philipperichard.
I tried to install npm vsam.js package on my zOS 2.3 with nodejs 6.14.3 and npm 3.10.10, and i got the following error messages:
Ê-ÀÑÊÁÄÈ?Ê
--make: Entering directory '/u/prichar/github/vsam.js/build' CXX(target) Release/obj.target/vsam.js/vsam.o CXX(target) Release/obj.target/vsam.js/VsamFile.o SOLINK_MODULE(target) Release/obj.target/vsam.js.node FSUM3228 njsc++: Input file /ERSION/usr/lpp/IBM/node/node-v6.14.3-os390-s390x/li b/libnode.x not found. vsam.js.target.mk:119: recipe for target 'Release/obj.target/vsam.js.node' faile d make: *** [Release/obj.target/vsam.js.node] Error 252 make: Leaving directory '/u/prichar/github/vsam.js/build' -[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mbuild error-[0m Process._handle.onexit (internal/child_process.js:219:12) -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mSystem-[0m OS/390 26.00 -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mcommand-[0m "/Z23R01/usr/lpp/I BM/node/node-v6.14.3-os390-s390x/bin/node" "/$VERSION/usr/lpp/IBM/node/node-v6.1 4.3-os390-s390x/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "reb uild" -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mcwd-[0m /u/prichar/github/vsam .js -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mnode -v-[0m v6.14.3 -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mnode-gyp -v-[0m v3.4.0 -[0m-[37;40mgyp-[0m -[0m-[31;40mERR!-[0m -[0m-[35mnot ok-[0m -[0m -[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m OS/390 26.00 -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m -[0m-[35margv-[0m "/Z23R01/usr/lpp/IBM/ node/node-v6.14.3-os390-s390x/bin/node" "/usr/lpp/IBM/node/node-v6.14.3-os390-s3 90x/bin/npm" "i" -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m -[0m-[35mnode-[0m v6.14.3 -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m -[0m-[35mnpm -[0m v3.10.10 -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m -[0m-[35mcode-[0m ELIFECYCLE -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m vsam.js@2.0.1 install: node-g -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m vsam.js@2.0.1 install:node-g yp rebuild
-[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Exit status 1 -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Failed at the vsam.js@2.0.1 in stall script 'node-gyp rebuild'. -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Make sure you have the latest version of node.js and npm installed. -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m If you do, this is most likely a problem with the vsam.js package, -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m not with npm itself. -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Tell the author that this fail s on your system: -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m node-gyp rebuild -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m You can get information on how to open an issue for this project with: -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m npm bugs vsam.js -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Or if that isn't available, yo u can get their info via: -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m npm owner ls vsam.js -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m There is likely additional log ging output above. -[0m -[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m Please include the following file with any support request: -[0m-[37;40mnpm-[0m -[0m-[31;40mERR!-[0m-[35m-[0m /u/prichar/github/vsam.js/ npm-debug.log========================================================
Any ideas? /usr/lpp/IBM/node/node-v6.14.3-os390-s390x/lib/libnode.x does exist. PRICHAR@X9:/u/prichar/github/vsam.js #os390-s390x/lib/libnode.x < -rw-r----- 1 ROOT SYS1 3829680 Jun 14 03:04 /usr/lpp/IBM/node/node-v6. 14.3-os390-s390x/lib/libnode.x the strange thing is the 'ERSION' in above message 'Input file /ERSION/usr/lpp...... ' In my USS system , option $VERSION refers to /Z23R01/ (defined in BPXPRM00)
I downloaded the whole package in zip format and uploaded to my z/OS system, then tagged all files as ASCII.
Note: This question has been migrated from the IBM DeveloperWorks community "IBM SDK for Node.js". It was originally posted on Oct 2, 2018 by user philipperichard.