0

我无法运行 pa11y 的命令行界面。

无论我给它一个本地文件还是一个网址,它都会继续给我超时错误并引用“taskkill”命令。

下面的示例错误消息。

PS C:\dev\body-werk> pa11y .\proj\authorization_code\public\index.html      

Welcome to Pa11y

 > Running Pa11y on URL file://C:\dev\body-werk\proj\authorization_code\public\index.html
'taskkill' is not recognized as an internal or external command,
operable program or batch file.
'taskkill' is not recognized as an internal or external command,
operable program or batch file.

Error: TimeoutError: Pa11y timed out (30000ms)
    at Timeout._onTimeout (C:\Users\nelso\AppData\Roaming\npm\node_modules\pa11y\node_modules\p-timeout\index.js:27:54)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

PS C:\dev\body-werk> 
4

0 回答 0