Code Monkey home page Code Monkey logo

Comments (6)

sehz avatar sehz commented on June 26, 2024 1

Hi, @DmitryAstafyev, windows are not the first tier we support. It was done by another contributor a while back.
@simlay can you take look?

from node-bindgen.

DmitryAstafyev avatar DmitryAstafyev commented on June 26, 2024

full_link_err.log

from node-bindgen.

DmitryAstafyev avatar DmitryAstafyev commented on June 26, 2024

@sehz hello there ) any ideas about this issue?

from node-bindgen.

DmitryAstafyev avatar DmitryAstafyev commented on June 26, 2024

Probably an issue is here: node-bindgen/nj-build/src/lib.rs

if !temp_lib.exists() {
        let lib_file_download_url = format!(
            "https://nodejs.org/dist/{}/win-x64/node.lib",
            node_full_version
        );

        println!(
            "downloading nodejs: {} to: {:#?}",
            lib_file_download_url, temp_lib
        );

        let mut node_lib_file = File::create(&temp_lib).unwrap();
        request::get(&lib_file_download_url, &mut node_lib_file)
            .expect("Download node.lib file failed");
    }

probably it makes sense to check size of file, not just exists or not, but take into account a size; or (it would be more right and simpler), remove created file if downloading was failed

from node-bindgen.

DmitryAstafyev avatar DmitryAstafyev commented on June 26, 2024

hello @asv7c2 , may be you have some ideas about it? )

from node-bindgen.

DmitryAstafyev avatar DmitryAstafyev commented on June 26, 2024

@sehz @simlay hello, could you please take a look on PR - #204
the issue was trivial - url

from node-bindgen.

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.