Comments (16)
It's a harder bug than I have thought, now we don't have symbols issues but we get crash when creating V8 values in native modules, which seems to be caused by different V8 versions used by node and node-webkit.
from nw.js.
any update on this?
from nw.js.
I had tried to solve it last month, according to how node.js had done. After that I got no symbols not founding errors, but got stuck by mysterious assertion when creating V8 handles. Then I gave up because it's rather slow to build and to debug node-webkit on my Windows virtual machine.
I'll have a try again next week.
from nw.js.
We would like to fix this before releasing 0.3.2
from nw.js.
thanks for the update, would be really useful to have this in 0.3.2
from nw.js.
As we modified Node to use the version of V8 in chromium, the ABI is changed. And native module is built with node-gyp with the upstream Node, then the ABI breaks when the module is loaded.
We should provide the headers and the import library of our version to node-gyp in some convenient way.
from nw.js.
I had tried to replace the V8 chromium uses with the node's one, but still got the same error, and if this is the reason then native modules on other platforms should all break.
from nw.js.
Please use the chromium version of V8.
On linux and OSX the linking is different with windows, which need an import library. So the condition is different.
from nw.js.
@zcbenz , third party native modules have to link with our Node, not upstream's. On Linux and OSX it might tolerant more in the ABI specification and didn't trigger the error, but we should look into it later and fix Windows first.
from nw.js.
I just verified that if linking with our Node (nw.lib), the native module works well. So we'll place the dev files (nw.lib, nw.exp and headers) on our download server starting from the next release. We'll also see if node-gyp can use our files directly, or we'll provide a hacked version of node-gyp in npm.
from nw.js.
That's great, looking forward to the release.
from nw.js.
fixed with a new tool https://github.com/rogerwang/nw-gyp. will be released with 0.3.2
from nw.js.
Wiki: https://github.com/rogerwang/node-webkit/wiki/Build-native-modules-with-nw-gyp
from nw.js.
I return to my app idea with ltx module, but still failed to run app :(
I have read about nw-gyp but something wrong with configure it :((
As I understand node-gyp must link ltx (expat) with custom nw.lib? or what is solution?
Sorry for my poor english.
from nw.js.
I replied to you in your issue of nw-gyp project.
from nw.js.
So thank you again! :)
from nw.js.
Related Issues (20)
- nwjs-v0.76.0-linux-ia32 fails on Debian 11 i686 Kernel 5.10.178-3 (2023-04-22) HOT 8
- Nwjs icon picture changes if the user "Click on pin to TaskBar" first and then "Click on unpin from TaskBar"
- --mixed-context crash on refresh ^0.76.1 HOT 1
- Versions v0.73.0, v0.74.0, v0.75.0, v0.75.1, v0.76.0, and v0.76.1 of "nwjs-v0.##.#-linux-x64" All Crash and Fail On Linux
- drag file to the desktop
- NWJS not supported for Mac M1? HOT 1
- Cloudflare can distinguish between NW.js and Chromium from <webview> HOT 3
- URL.createObjectURL fails on 0.76.1 HOT 2
- Certificate expired error HOT 1
- nw.js apps crash when a tray icon is used before a window has been created.
- Having nw.Window.get().evalNWBin inside a compiled js file (bin) crashes the app (only on normal flavor)
- "Mainfest file missing or unreadable" in barebones project HOT 2
- `webkitSpeechRecognition` always throws a network error HOT 1
- video playing without voice HOT 1
- [v0.81.0] worker_threads doesn't work with node.js in nwjs HOT 14
- hardware device access documentation BLE
- `win.maximize()` on hidden window broken in Windows
- Window with size based on `nw.Screen.screens[0].bounds` doesn't fill screen in Windows HOT 2
- Cannot code sign macOS ARM64 build HOT 1
- NW.js 0.77.0 64Bit (Normal & SDK) cannot be started under Windows 8 cause of DLL Error HOT 2
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 nw.js.