Reputation: 3139
When running a node-webkit app via
nw app
(where app is the directory with my package.json file), the window created does not allow me to enter input at all: not in the address bar, not in the developer console window, and not within input fields in the body of the document.
I'm running OSX 10.9 with Node 0.10.26 and version 0.9.2 of node-webkit. I've searched the internet far and wide, but am unable to find a solution (or anyone who has had this problem, even).
Here's my package.json:
{
"name": "hello-world",
"main": "index.html"
}
Upvotes: 0
Views: 425
Reputation: 339
I had the same problem. In my case the reason was I created a symlink
ln -s /Applications/node-webkit.app/Contents/MacOS/node-webkit /usr/bin/nw
and started my app using
nw .
Starting the app with
/Applications/node-webkit.app/Contents/MacOS/node-webkit .
solved the problem.
Upvotes: 2