very satisfied with the yum and node 8 install process.

https://bitbucket.org/ibmi/opensource/src/b1cc5212d396815a17badc57e7b7aadc836b4f5f/docs/yum/

this new version of node is very important in that it supports async and
await, Using async and await is a night and day improvement compared to
coding javascript callbacks and even promises.

the steps I ran:

download bootstrap.sh and bootstrap.tar.Z to the /tmp directory.

QSH CMD('touch -C 819 /tmp/bootstrap.log; /QOpenSys/usr/bin/ksh
/tmp/bootstrap.sh > /tmp/bootstrap.log 2>&1')

call qp2term
PATH=/QOpenSys/pkgs/bin:$PATH
export PATH
yum install nodejs8

then to run node:
export QIBM_MULTI_THREADED=Y
/QOpenSys/QIBM/ProdData/OPS/Node6/bin/nodever.sh 6

node -v
v8.15.0
$
npm -v
6.4.1
$

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.