Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error if there is no accessibility issue found (my assumption) on the page (Unexpected end of JSON) #36

Open
abhishek-net opened this issue Jun 6, 2017 · 0 comments

Comments

@abhishek-net
Copy link

I am facing issue while sniffing the accessibility test on "http://www.kiehls.com/ultimate-brushless-shave-cream-blue-eagle/235.html". I was not able to get exact location and error so I modified "dist/accesssniff.js" file by putting few try catch and below error I am receiving for each pages while it is working fine for other domains/sites. Can you investigate the root cause of the error.

SyntaxError: Unexpected end of JSON input
at Object.parse (native)
at ..\node_modules\access-sniff\dist\accesssniff.js:196:40
at Array.every (native)
at Accessibility.parseOutput (..\node_modules\access-sniff\dist\accesssniff.js:192:26)
at ..\node_modules\access-sniff\dist\accesssniff.js:287:28
at ChildProcess.exithandler (child_process.js:195:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:886:16)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant