Comments (4)
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)
from grunt-html.
This looks very much like a duplicate of #65. There's a WIP PR to address it in #67 - you could test that, maybe help finish it?
from grunt-html.
Tested the patch, it works ! Why not merge it now ? Can't aesthetic issues be fixed later ?
from grunt-html.
In theory, sure, but I don't want to take the risk of that never happening.
Closing this issue as a duplicate of #65.
from grunt-html.
Related Issues (20)
- wrong errors reported on Grunt-reporter HOT 1
- Every regexp I tried doesn't work
- Use vnu-jar package HOT 2
- Problem with angular 2 directive e.g *ngIf, (click), [class.selected]
- Please test 16.12.27 release candidate of vnu.jar HOT 26
- Grunt html vs. nu html checker HOT 1
- RegEx for ignore as array HOT 3
- Switch to eslint
- Write report in case of success HOT 1
- Support the --no-langdetect flag for vnu-jar HOT 1
- Fix coverage
- Remove space from chunkify for the last item
- Enable ESLint's consistent return rule
- Finish repo transfer HOT 3
- Improve coverage
- Move to async/await
- When validating a large number of files, results from previous chunks sometimes get overwritten HOT 8
- Doesn't work on Travis anymore HOT 5
- Fatal error: Cannot read property 'replace' of undefined HOT 7
- The angularJS ignore option in the main readme.md does not work ! HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-html.