Comments (6)
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.
from node-bindgen.
@sehz hello there ) any ideas about this issue?
from node-bindgen.
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.
hello @asv7c2 , may be you have some ideas about it? )
from node-bindgen.
@sehz @simlay hello, could you please take a look on PR - #204
the issue was trivial - url
from node-bindgen.
Related Issues (20)
- Expecting compiler error when using &str as parameter
- Build issue starting from rust 1.62.x HOT 5
- update inventory to 0.3
- update nj-sys using latest version of bindgen
- fix CI for windows
- Create new release 5.1.0 for current version on master HOT 2
- undefined reference to `napi_...` issues HOT 11
- bug: examples seg fault HOT 2
- Is it possible to enable the Rust closure mapped from JS Callback to be cached outside the #[node_bindgen] function?
- Fail to invoke the cached JS Callback, due to the error "napi call failed InvalidArg" HOT 1
- How to pass boxed values HOT 1
- Safety mistake? when calling binding function HOT 6
- Crash on latest node (with tokio) HOT 17
- misaligned pointer ref with node version 18.14 or later HOT 1
- js-env test fails with 18.17.1
- clean up references to class wrapper
- Build issue on Linux HOT 1
- Support of options HOT 6
- move to merge_group
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 node-bindgen.