Open garytalmes opened 1 year ago
I'm attempting to run html-pdf in an Azure deployment, as an Azure App Service running Node version 16.9.1. It's throwing an error, and the stack trace is shown below. Any help would be much appreciated.
Cannot find module './client/socksclient' Require stack: - D:\home\site\wwwroot\node_modules\socks\build\index.js - D:\home\site\wwwroot\node_modules\socks-proxy-agent\dist\agent.js - D:\home\site\wwwroot\node_modules\socks-proxy-agent\dist\index.js - D:\home\site\wwwroot\node_modules\pac-proxy-agent\dist\agent.js - D:\home\site\wwwroot\node_modules\pac-proxy-agent\dist\index.js - D:\home\site\wwwroot\node_modules\proxy-agent\index.js - D:\home\site\wwwroot\node_modules\superagent-proxy\index.js - D:\home\site\wwwroot\node_modules\remote-content\index.js - D:\home\site\wwwroot\node_modules\href-content\index.js - D:\home\site\wwwroot\node_modules\extract-css\index.js - D:\home\site\wwwroot\node_modules\inline-css\lib\inlineContent.js - D:\home\site\wwwroot\node_modules\inline-css\index.js - D:\home\site\wwwroot\node_modules\html-pdf-node\index.js - D:\home\site\wwwroot\lib\pdf.js - D:\home\site\wwwroot\routes\api\html.js - D:\home\site\wwwroot\routes\index.js - D:\home\site\wwwroot\server.js - D:\Program Files (x86)\iisnode\interceptor.js
I'm attempting to run html-pdf in an Azure deployment, as an Azure App Service running Node version 16.9.1. It's throwing an error, and the stack trace is shown below. Any help would be much appreciated.