Comments (5)
Hi, I'm really busy this week, so I cannot work on this issue right now. I compiled the addon to nw some time ago, and probably some stuff changed that is causing this issue.
from node-libcurl.
Hi,
Thanks for prompt response.
I didn't dig into deep but I think it's something with openSSL and it's linkage with curl library.
I'll try to do some debuging, and let you know. If you can help with superficial explanation of "some stuff changed" maybe I can find the origin of the error.
Thank you
from node-libcurl.
Found temporary workaround.
- npm install node-libcurl
- node-gyp rebuild --target=0.12.3
- Open project in Visual Studio 2015 (I think it is going to work with 2013 the same)
- In VS project solution replace dependency lib .node.gyp/Release/node.lib with .nw.gyp/Release/nw.lib and build solution
- Replace node-libcurl\lib\binding\node_libcurl.node with newly built file
WORKING with nwjs 0.12.3
Now testing for unexpected behaviour, but seems that all the tests are working fine.
from node-libcurl.
Hi, I finally had time to look into this, and I found the issue.
nw-gyp
bundles an outdated version of gyp
which doesn't support the if-else conditions syntax being used in the openssl.gyp
here https://github.com/JCMais/curl-for-windows/blob/master/openssl/openssl.gyp#L69.
The way to fix that is to update the gyp version manually, you can do that downloading it from this repo: https://github.com/bnoordhuis/gyp and placing it in the gyp folder inside the nw-gyp folder. (nw-gyp is probably installed globally, so you need to look up where it's).
Them there is still one more thing to do, you need to disable the compiler WarnAsError
flag for this addon, do so in the node-libcurl/bindings.gyp
file.
After that rebuild the addon, run this from the addon folder: node_modules\.bin\node-pre-gyp rebuild --runtime=node-webkit --target=0.15.0-rc2 --arch=x64
from node-libcurl.
Great,
Thx
from node-libcurl.
Related Issues (20)
- How to use node-libcurl with bun? HOT 2
- How can I write a custom request asynchronously? HOT 1
- [feat] rewrite `node-libcurl` with, the **ONLY** isomorphic way, napi HOT 1
- Curl Easy segmentation fault with requests to external site HOT 3
- Expected npx node-libcurl $URL to work as curl $URL HOT 1
- TypeError: Class extends value #<Object> is not a constructor or null HOT 1
- HTTP_CONTENT_DECODING = false but still decodes the server's responses HOT 1
- How to make multiple curly instances maintain separate connections to same host? HOT 2
- unable to npm install HOT 3
- npm install issues. HOT 5
- libcurl vuln HOT 2
- Add prebuilt binaries for nodejs 20 LTS HOT 13
- read raw msg HOT 3
- Does node-libcurl support res_init? HOT 1
- Error after upgrade to Node 20.10 ...: ERR_DLOPEN_FAILED HOT 2
- SFTP / SSH stuck on login when using Curl/Multi and password auth HOT 2
- Curly - Close connection - Timeout Exception HOT 3
- Cannot install HOT 3
- Send binary data with HTTPPOST option HOT 1
- Hanging on PROTOCONNECTING
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-libcurl.