Coder Social home page Coder Social logo

Comments (12)

ChrisWren avatar ChrisWren commented on August 18, 2024

Could you add the complete stack trace output from your terminal?

from grunt-link-checker.

itsjesseyo avatar itsjesseyo commented on August 18, 2024

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.

irishgordo avatar irishgordo commented on August 18, 2024

I see the same thing

from grunt-link-checker.

ChrisWren avatar ChrisWren commented on August 18, 2024

Seems to be an issue in node 0.12 and io.js which is not present in node 0.10.

from grunt-link-checker.

ChrisWren avatar ChrisWren commented on August 18, 2024

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.

XhmikosR avatar XhmikosR commented on August 18, 2024

Maybe a first step would be an upstream PR for this?

from grunt-link-checker.

ChrisWren avatar ChrisWren commented on August 18, 2024

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.

XhmikosR avatar XhmikosR commented on August 18, 2024

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.

XhmikosR avatar XhmikosR commented on August 18, 2024

PR submitted simplecrawler/simplecrawler#119

Tests seem to pass there :/

from grunt-link-checker.

cgiffard avatar cgiffard commented on August 18, 2024

I've fixed this upstream. Should (hopefully) be just a matter of updating the dependency. :)

from grunt-link-checker.

XhmikosR avatar XhmikosR commented on August 18, 2024

Awesome, I can confirm it's fixed now!

from grunt-link-checker.

ChrisWren avatar ChrisWren commented on August 18, 2024

Great, thanks for the patch @cgiffard!

from grunt-link-checker.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.