Comments (12)
Could you add the complete stack trace output from your terminal?
from grunt-link-checker.
I have the same issue. that is the entire stack trace...
(mike)ITAdmins-iMac-2:grunt_test jgomez$ grunt
Running "link-checker:dev" (link-checker) task
Checking for broken links at: https://github.com/cgiffard/node-simplecrawler#configuring-the-crawler
Fatal error: "name" and "value" are required for setHeader().
from grunt-link-checker.
I see the same thing
from grunt-link-checker.
Seems to be an issue in node 0.12 and io.js which is not present in node 0.10.
from grunt-link-checker.
node-simplecrawler isn't being tested on node 0.12 and io.js.
Fatal error: "name" and "value" are required for setHeader().
Error: "name" and "value" are required for setHeader().
at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:333:11)
at new ClientRequest (_http_client.js:101:14)
at Object.exports.request (http.js:49:10)
at /Users/chriswren/code/grunt-link-checker/node_modules/simplecrawler/lib/crawler.js:768:11
at process._tickCallback (node.js:355:11)
at Function.Module.runMain (module.js:503:11)
at startup (node.js:129:16)
at node.js:814:3
from grunt-link-checker.
Maybe a first step would be an upstream PR for this?
from grunt-link-checker.
That sounds good. I am not actively using this right now, so I am not going to jump in and fix it, but I will review PRs.
from grunt-link-checker.
I couldn't find why it fails, but I can at least submit a PR upstream to add node.js 0.12 in Travis.
from grunt-link-checker.
PR submitted simplecrawler/simplecrawler#119
Tests seem to pass there :/
from grunt-link-checker.
I've fixed this upstream. Should (hopefully) be just a matter of updating the dependency. :)
from grunt-link-checker.
Awesome, I can confirm it's fixed now!
from grunt-link-checker.
Great, thanks for the patch @cgiffard!
from grunt-link-checker.
Related Issues (16)
- Check for valid #anchor links HOT 1
- Possible to add an ignore / whitelist for accepted errors? HOT 3
- Anchors throwing 404s HOT 2
- Check redirects too HOT 2
- De-duplicate URL fetching when only difference is fragment identifier HOT 1
- Rename task to `linkChecker` HOT 4
- Fatal error: Request path contains unescaped characters. HOT 1
- readme.md HOT 1
- Default config throwing error HOT 4
- grunt-link-checker could benefit from a progress indication
- Fatal error: Maximum call stack size exceeded HOT 5
- Reports links with anchors (hashes) in the URL as 404
- getting 404 for css files HOT 2
- Decouple from Grunt HOT 2
- CONTRIBUTING.md needs work HOT 1
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-link-checker.