纱线如何接受包装用户协议

时间:2017-04-20 08:08:08

标签: node.js yarnpkg

我尝试使用以下命令安装highcharts-export-server软件包:

.------+------------------+-------------------------------------------------------------------------------------------------------+-------.
|                                                                tLogRow_3                                                                |
|=-----+------------------+-------------------------------------------------------------------------------------------------------+------=|
|bookId|bookName          |description                                                                                            |author |
|=-----+------------------+-------------------------------------------------------------------------------------------------------+------=|
|1     |Grammer           |book that has details about grammer                                                                    |author1|
|2     |Special Characters|book that describes about some escape characters like ", punctuations and special characters ,etc.     |author2|
|3     |Mathematics       |book that has mathematical operations like addition +, subtraction -, multiplication *, division / etc.|author3|
'------+------------------+-------------------------------------------------------------------------------------------------------+-------'

但是这个包需要回答儿子用户协议问题,但纱线不允许我回答这个问题。

有没有人有想法?

1 个答案:

答案 0 :(得分:0)

您可以将设置问题的答案设置为环境变量:

ACCEPT_HIGHCHARTS_LICENSE=y HIGHCHARTS_VERSION=latest HIGHCHARTS_USE_STYLED=y yarn add highcharts-export-server

有关详细信息,请参阅Using in Automated Deployments上的文档。