Application Name : Bahmni Version Number: 0.92
Question: I am trying to install the software from github. I am getting error while compiling Bahmni UI using Nodejs.I am getting the following error.I would like to know if it is OK to proceed further or do i need to take care of this before going to next step.I have tried some fixes mentioned on the public forums like stalkoverflow etc…i have updated gulp to 4.0.2.i have made some changes to package.json file, resetting the node installation, resetting the cache etc. my node version is 12.8, npm - 6.14.2 I am looking for guidence from this community in moving forward.
jpegtran-bin@0.1.7 postinstall /Volumes/My_Passport_for_Mac/github/projects/bahmni/openmrs-module-bahmniapps/ui/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin node pre-build.js
fs.js:27 const { Math, Object } = primordials; ^
ReferenceError: primordials is not defined at fs.js:27:26
/graceful-fs/fs.js:1:37) at Module._compile (internal/modules/cjs/loader.js:868:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:879:10) at Module.load (internal/modules/cjs/loader.js:731:32) at Function.Module._load (internal/modules/cjs/loader.js:644:12) at Module.require (internal/modules/cjs/loader.js:771:19) at require (internal/modules/cjs/helpers.js:68:18) npm WARN notsup Unsupported engine for hawk@0.10.2: wanted: {“node”:“0.8.x”} (current: {“node”:“12.8.0”,“npm”:“6.14.2”}) npm WARN notsup Not compatible with your version of node/npm: hawk@0.10.2 npm WARN notsup Unsupported engine for hoek@0.7.6: wanted: {“node”:“0.8.x”} (current: {“node”:“12.8.0”,“npm”:“6.14.2”}) npm WARN notsup Not compatible with your version of node/npm: hoek@0.7.6 npm WARN notsup Unsupported engine for boom@0.3.8: wanted: {“node”:“0.8.x”} (current: {“node”:“12.8.0”,“npm”:“6.14.2”}) npm WARN notsup Not compatible with your version of node/npm: boom@0.3.8 npm WARN notsup Unsupported engine for cryptiles@0.1.3: wanted: {“node”:“0.8.x”} (current: {“node”:“12.8.0”,“npm”:“6.14.2”}) npm WARN notsup Not compatible with your version of node/npm: cryptiles@0.1.3 npm WARN notsup Unsupported engine for sntp@0.1.4: wanted: {“node”:“0.8.x”} (current: {“node”:“12.8.0”,“npm”:“6.14.2”}) npm WARN notsup Not compatible with your version of node/npm: sntp@0.1.4
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! jpegtran-bin@0.1.7 postinstall: node pre-build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jpegtran-bin@0.1.7 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.