Skip to content

Commit

Permalink
fix(build): Use github/commit for highcharts export server version
Browse files Browse the repository at this point in the history
* This fixes an issue with the version requirements for the uui module
  • Loading branch information
MarkLark86 committed Mar 3, 2020
1 parent 870d589 commit 639d0b4
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions server/scripts/install-highcharts-export-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ export HIGHCHARTS_VERSION=6.2.0
export HIGHCHARTS_USE_STYLED=1
export HIGHCHARTS_MOMENT=1

npm install -g highcharts-export-server

# Hack to force mkdirp version
# until https://github.com/highcharts/node-export-server/pull/231 is merged
MODULES_DIR=`npm root -g`
npm install -g mkdirp@0.5.1
rm -Rf $MODULES_DIR/highcharts-export-server/node_modules/mkdirp
ln -s $MODULES_DIR/mkdirp $MODULES_DIR/highcharts-export-server/node_modules/mkdirp
# Hack to force using a newer commit form github
# due to issues with uui module version requirements
npm install -g highcharts/node-export-server#e3bd98c
# npm install -g highcharts-export-server

0 comments on commit 639d0b4

Please sign in to comment.