Reputation: 5411
I trying to install the the highcharts-export-server package with the following command:
yarn global add highcharts-export-server
But this package required to answer son user agreement questions, but yarn does not allow me to answer this questions.
Does anyone has an idea?
Upvotes: 0
Views: 199
Reputation: 493
You can set the answers to the setup questions as environment variables:
ACCEPT_HIGHCHARTS_LICENSE=y HIGHCHARTS_VERSION=latest HIGHCHARTS_USE_STYLED=y yarn add highcharts-export-server
For further details see their docs on Using in Automated Deployments.
Upvotes: 1