Giter VIP home page Giter VIP logo

Comments (6)

krisvandebroek avatar krisvandebroek commented on May 18, 2024

I also cannot build offline. The output I get:
Running "nodewebkit:src" (nodewebkit) task
Fatal error: getaddrinfo ENOTFOUND

from nw-builder.

krisvandebroek avatar krisvandebroek commented on May 18, 2024

using grunt --stack, I got more output:

Running "nodewebkit:src" (nodewebkit) task
Fatal error: getaddrinfo ENOTFOUND
Error: getaddrinfo ENOTFOUND
    at errnoException (dns.js:37:11)
    at Object.onanswer [as oncomplete] (dns.js:124:16)

from nw-builder.

krisvandebroek avatar krisvandebroek commented on May 18, 2024

I tried using a later npm version: v0.11.14
Gave the same error, only is seemed to indicate which hostname that he is trying to resolve: dl.node-webkit.org.

@steffenmllr Do you have an idea? Is it possible to indicate to the node-webkit-builder to work offline?

from nw-builder.

steffenmllr avatar steffenmllr commented on May 18, 2024

Yes you can build offline, when you already have the version you want in your cache folder and specify the version in the config. If you don't specify the version it will try to get the lastest one

from nw-builder.

krisvandebroek avatar krisvandebroek commented on May 18, 2024

@steffenmllr: big smile on my face. When I added the version it worked. Thanks

For my curiosity, do you know a way how I could have gotten more debugging output or how to debug the grunt task so that I could have found the cause myself? Now I only know about the grunt --trace option, but that hardly gives any information.

from nw-builder.

steffenmllr avatar steffenmllr commented on May 18, 2024

not really, that is node way of telling you that something with your connection is wrong - that is nothing specific to grunt. You have a couple of options with grunt: http://gruntjs.com/using-the-cli

But I think a getaddrinfo error just doesn't give you more than that.

from nw-builder.

Related Issues (20)

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.