以非交互模式安装npm软件包

时间:2017-01-17 07:42:59

标签: node.js highcharts npm

我在Docker镜像中尝试install highcharts server。但是npm install命令在安装时会向用户提出几个问题。我需要它继续使用默认值(我可以在npm install命令中提供)。怎么做到这一点?

在这种情况下,问题是:

Agree to the license terms? y/n:  (no) y
Select your Highcharts version (e.g. 4.2.2)::  (latest)
Include Maps? (requires Maps license):  (no)
Enable styled mode? (requires Highcharts/Highstock 5 license):  (no)

0 个答案:

没有答案
相关问题