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

Unexpected Token W in JSON at position 0 #9

Closed
mearleycf opened this issue Jul 16, 2019 · 2 comments
Closed

Unexpected Token W in JSON at position 0 #9

mearleycf opened this issue Jul 16, 2019 · 2 comments

Comments

@mearleycf
Copy link

I've tried running both of the following commands, getting the same error:

AEManager/tng-next-generation/ui.apps/src/main/content/jcr_root on  develop [⇣$!?]
➜ node-w3c-validator -i ./**/*.html -f html -o ./reports/result.html -s
⠙ node-w3c-validator - processing ...
Unexpected token W in JSON at position 0

AEManager/tng-next-generation/ui.apps/src/main/content/jcr_root on  develop [⇣$!?] took 4s
➜ node-w3c-validator -i . -f html -o ~/result.html -s
⠋ node-w3c-validator - processing ...
Unexpected token W in JSON at position 0

I want to run the validator on all html files in all sub-directories of jcr_root, which is why I assumed ./**/*.html would work. What am I doing wrong here?

@yunusga
Copy link
Contributor

yunusga commented Jul 24, 2019

Need listing of your directory jcr_root. I think some file has special symbols in name.

@OlehDutchenko
Copy link
Owner

Closed for now.
@mearleycf feel free to re-open issue if still need

@OlehDutchenko OlehDutchenko pinned this issue Apr 6, 2020
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

3 participants