sh: node: command not found
npm WARN jsreport-server@ No description
npm WARN jsreport-server@ No repository field.
npm WARN jsreport-server@ No license field.
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! puppeteer@1.14.0 install: node install.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the puppeteer@1.14.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-04-19T14_10_25_149Z-debug.log
I am doing steps from: https://jsreport.net/learn/centos but i get an error:
jsreport start
Then again while trying additional step:
npm -v
5.6.0
npm install puppeteer jsreport-chrome-pdf
sh: node: command not found npm WARN jsreport-server@ No description npm WARN jsreport-server@ No repository field. npm WARN jsreport-server@ No license field.
npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! puppeteer@1.14.0 install:
node install.js
npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the puppeteer@1.14.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-04-19T14_10_25_149Z-debug.log