Install NPM HighCharts
Verify node and npm. If missing then install
node -v
npm -v
Install
curl -sL https://rpm.nodesource.com/setup_10.x | bash -
yum -y install nodejs
node -v
npm -v
yum install bzip2
yum install fontconfig freetype freetype-devel fontconfig-devel libstdc++
npm install -g highcharts-export-server --ignore-scripts
cd /usr/lib/node_modules/highcharts-export-server/node_modules/phantomjs-prebuilt/
node install.js
cd /usr/lib/node_modules/highcharts-export-server
node build.js
To Start highcharts-export-server
highcharts-export-server -enableServer 1 &
No comments :
Post a Comment