0

お世話になります。

タイトル通りNodeServicesを使用してJSを呼び出すと以下のエラーが発生します。

エラー

errorMessage: The Node invocation timed out after 60000ms.
You can change the timeout duration by setting the InvocationTimeoutMilliseconds property on NodeServicesOptions.
The first debugging step is to ensure that your Node.js function always invokes the supplied callback (or throws an exception synchronously), even if it encounters an error. Otherwise, the .NET code has no way to know that it is finished or has failed.
Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException: The Node invocation timed out after 60000ms.
You can change the timeout duration by setting the InvocationTimeoutMilliseconds property on NodeServicesOptions.
The first debugging step is to ensure that your Node.js function always invokes the supplied callback (or throws an exception synchronously), even if it encounters an error. Otherwise, the .NET code has no way to know that it is finished or has failed.

環境
Windows10 Pro

PDFを出力するためにpuppeteerを利用しています。

ご教授お願いします。

1 件の回答 1

0

puppeteerのバージョンを0.10.1に戻したら動作しました。.local-chromiumが動かないことが原因だと思います。

この質問に回答するには、ログインする必要があります。

求めていた回答ではありませんか? のタグが付いた他の質問を参照する。