Questions tagged [node-webkit]

NW.js (formerly node-webkit) is an app runtime based on Chromium and Node.js. You can write native apps in HTML and JavaScript with node-webkit. It also lets you call Node.js modules directly from the DOM and enables a new way of writing native applications with all Web technologies.

NW.js (formerly Node-Webkit) is an app runtime based on and . You can write native apps in HTML and JavaScript with node-webkit. It also lets you call Node.js modules directly from the DOM and enables a new way of writing native applications with all Web technologies. It is developed by Intel at the Intel Open Source Technology Center.

was renamed in January, 2015 because Chromium's switch from Webkit to Blink combined with a switch from Node.js to IO.js meant that the runtime was no longer based on either "Node" or "Webkit".

Resources

1192 questions
166
votes
1 answer

What is the Visual Studio Code editor built on

What underlying technologies/libraries is Microsoft's new (free) cross platform editor Visual Studio Code (Launched 5/29/2015) built on? There are rumors that it's just Github's Atom Editor rebranded.
Sevin7
  • 5,398
  • 4
  • 19
  • 31
153
votes
5 answers

What are the functional differences between NW.js, Brackets-Shell and Electron?

Now that TideSDK is effectively dead, I've been looking into alternative 'wrappers' to run HTML/CSS/JS applications as stand-alone desktop applications. The three viable options I have run across so far, are NW.js (formerly node-webkit),…
Sven Slootweg
  • 3,517
  • 3
  • 19
  • 29
97
votes
10 answers

Uncaught Error: Module did not self-register

I try to use node-vlc with nw.js (v0.12.0-alpha2). When i launch my app without nw.js it works, but when i launch it with nw.js i got an error: Uncaught Error: Module did not self-register.", source:…
Alexis Schad
  • 1,126
  • 1
  • 8
  • 8
81
votes
1 answer

Node-Webkit vs Electron

We are planning to built cross platform desktop application. We found that Node-Webkit is a perfect choice for us. But GitHub developed their own framework called Electron instead of using Node-Webkit. What is the difference between them?
Fizer Khan
  • 71,869
  • 26
  • 133
  • 149
77
votes
15 answers

How to access a RowDataPacket object

I'm currently developing a desktop application with Node-webkit. During that process I need to get some data from a local MySQL-database. The querying works fine, but I can't figure out how to access the results. I store all of them in an array that…
paK0
  • 2,068
  • 3
  • 11
  • 9
39
votes
8 answers

How to clear the cache data in Electron(atom shell)?

I want to clear cache data in Electron(atom-shell). I don't find any api like gui.App.clearCache()(node-webkit api to clear cache data) in Electron. If you find any api or any other way please let me know. comments are appreciated .
neel
  • 579
  • 1
  • 5
  • 11
29
votes
3 answers

Right Click Menu using React JS

I'd like to know if there is a best practice/correct way to setup a right-click menu for a React component. I currently have this... // nw is nw.gui from Node-Webkit componentWillMount: function() { var menu = new nw.Menu(); menu .append(new…
Tom
  • 1,476
  • 2
  • 14
  • 19
29
votes
1 answer

Node.js cannot require a .js file in the same directory

I have a node-webkit project with a main.js. At the very top, I have var updater = require("./updater.js"); and I have a file named updater.js in the same directory as main.js. When I run the app, I get the error Uncaught Error: Cannot find…
Antrikshy
  • 2,334
  • 3
  • 30
  • 51
22
votes
4 answers

Alternatives to node webkit? (filesize of importance)

Whilst node-webkit is nice, the binaries on mac and linux are over 70MB for a hello world application. Unacceptable. Is there any cross platform library available that simply uses the system default browser? I don't really care if that's IE, or…
user429620
19
votes
3 answers

NW/Node Webkit - Image decodes even if it is already visible

I am currently working on a JavaScript(pure js) based game. The game contains 5 large sprite sheets(e.g. 2861 × 768 and 4096 × 4864). When the game starts, all 5 sprite sheets are preloaded to canvas elements. Three of those 5 sprites represent…
18
votes
1 answer

Trying to use mongoose with node-webkit target on Webpack

I use webpack and target it's build output for node-webkit. I want to require the mongoose module inside my project to connect to mongodb, but it always states some errors when I try to pack the project: WARNING in…
Johannes Klauß
  • 9,087
  • 13
  • 59
  • 110
17
votes
1 answer

net::ERR_INSECURE_RESPONSE while making ajax request from node-webkit

when I'm trying to make ajax request with jquery to: https://localhost:8443/uri I get this error: net::ERR_INSECURE_RESPONSE I'm using self signed certificate, in package.json I have these parameters: "chromium-args": "--ignore-certificate-errors…
Rodislav Moldovan
  • 1,025
  • 1
  • 12
  • 20
17
votes
1 answer

node-webkit Error: please install sqlite3 package manually

I'm working with node-webkit, Sequelize and sqlite3. Node runs the app with no problems, but when I run it from node-webkit it throws me this Error "Uncaught Error: The dialect sqlite is not supported. (Error: Please install sqlite3 package…
mariowise
  • 1,929
  • 1
  • 18
  • 33
17
votes
1 answer

Ask user where to save file with Node.js

I'm creating an app using node-webkit, so there's a lot of javascript. I have written a node.js function that will take a screen shot and save it to the disk, however, it saves it to the project root dir and I would like to prompt the user to…
Jake Sellers
  • 2,170
  • 2
  • 19
  • 37
16
votes
3 answers

securing the source code in a node-webkit desktop application

first things first , i have seen nwsnapshot. and its not helping. i am building an inventory management system as a desktop app using node-webkit . the project being built is using compoundjs (mvc javascript library). which have a definite folder…
1
2 3
79 80