如何在我的AWS实例上安装phantomjs-prebuilt

时间:2017-11-01 08:21:14

标签: javascript node.js amazon-web-services pdf amazon-ec2

我一直在尝试在我的AWS EC2实例上安装Node模块“html-pdf”

npm install html-pdf

while installing html-pdf module

在上面的图片中,一些依赖项正在跳过,这对于html-pdf模块很重要。每当我重新启动我的节点应用程序它一直在我的日志中显示错误,没有找到phantomjs-prebuilt模块,当我尝试安装phantomjs-prebuilt模块时,它一直显示我这个错误

npm install phantomjs-prebuilt

error while installing phantomjs-prebuilt module

AWS继续阻止此模块。在我的本地机器上一切正常

0 个答案:

没有答案