Fatal error: Unexpected token P
konfiot opened this issue · 4 comments
Hello,
I'm trying to validate my HTML using grunt-HTML, but although my file is validated by the W3C Validator, grunt-html outputs Fatal error: Unexpected token P
When I run java -jar /home/konfiot/gravity/node_modules/grunt-html/vnu.jar client/html/index.html
I get the following output Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
.
I know it might be a duplicate of #65, but I didn't find any solution on this issue.
Thanks in advace for any help
I've been getting that error.
Here's my output using the --stack flag:
Running "htmllint:src" (htmllint) task
Fatal error: Unexpected token P
SyntaxError: Unexpected token P
at Object.parse (native)
at /home/ben/NetBeansProjects/acorn/branches/boulting/node_modules/grunt-html/lib/htmllint.js:46:25
at ChildProcess.exithandler (child_process.js:751:5)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1008:16)
at Socket.<anonymous> (child_process.js:1176:11)
at Socket.emit (events.js:107:17)
at Pipe.close (net.js:476:12)
Tested the patch, it works ! Why not merge it now ? Can't aesthetic issues be fixed later ?
In theory, sure, but I don't want to take the risk of that never happening.
Closing this issue as a duplicate of #65.