liip / TheA11yMachine

The A11y Machine is an automated accessibility testing tool which crawls and tests pages of any web application to produce detailed reports.
https://www.liip.ch/
621 stars 66 forks source link

when running a11ym -s HTML on windows machine an error occurs #99

Closed stevefaulkner closed 7 years ago

stevefaulkner commented 7 years ago

error:

SyntaxError: Unexpected end of JSON input
    at Object.parse (native)
    at ChildProcess.<anonymous> (C:\Users\faulk\AppData\Roaming\npm\node_modules\the-a11y-machine\lib\tester.js:180:30)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

any help with this would be appreciated!

stevefaulkner commented 7 years ago

fixed it: added '-Xss512k', before'-jar', https://github.com/liip/TheA11yMachine/blob/master/lib/tester.js#L160

Hywan commented 7 years ago

Do we need to patch it?