在安装ES head插件时,执行npm install。到了phantomjs安装的这一步,出现:phantomjs相关错误
npm install phantomjs-prebuilt@2.1.16 --ignore-scripts
再重新执行npm install,安装成功。