node-sass package is required for Carbon X upgrade on z/OS. Our product (Watson Machine Learning for z/OS) has a requirement to meet by 2020 to upgrade to Carbon X for every product in the organization under our GM. Currently npm install failed with this package 'node-sass' package on z/OS.
> node-sass@4.14.1 install /STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/os390-s390x-72_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.14.1/os390-s390x-72_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
> node-sass@4.14.1 postinstall /STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-sass
> node scripts/build.js
Building: /STLAB19/mlzdata2/node-v12.16.1-os390-s390x/bin/node /STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli '/STLAB19/mlzdata2/node-v12.16.1-os390-s390x/bin/node',
gyp verb cli '/STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library='
gyp verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@12.16.1 | os390 | s390x
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /mlzdata2/rsusr/ported/python-2.7.13-anaconda-2017-04-12/python27/bin/python2
gyp verb check python version `/mlzdata2/rsusr/ported/python-2.7.13-anaconda-2017-04-12/python27/bin/python2 -c "import sys; print "2.7.13
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 12.16.1
gyp verb command install [ '12.16.1' ]
gyp verb install input version string "12.16.1"
gyp verb install installing version: 12.16.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 12.16.1
gyp verb build dir attempting to create "build" dir: /STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created? /STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file: /STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file: /STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp verb node-gyp root npm_parent_directory is ML-Prem
gyp verb node-gyp root Finding node root directory
gyp verb find exports file Found exports file: /STLAB19/mlzdata2/node-v12.16.1-os390-s390x/lib/libnode.x
gyp info spawn /mlzdata2/rsusr/ported/python-2.7.13-anaconda-2017-04-12/python27/bin/python2
gyp info spawn args [
gyp info spawn args '/STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/STLAB19/mlzdata/devusr2-iml-home/ML-Prem/portal-mlaas/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/u/home/DEVUSR2/.node-gyp/12.16.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/u/home/DEVUSR2/.node-gyp/12.16.1',
gyp info spawn args '-Dnode_exp_file=/STLAB19/mlzdata2/node-v12.16.1-os390-s390x/lib/libnode.x',
:
FSUM3257 njsc++: Option -std=c++0x is not recognized. Option will be ignored.
This has been retracted.
This has been retracted since they can run on Linux