Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Install via npm #300

Closed
puzrin opened this Issue Dec 30, 2012 · 10 comments

Comments

Projects
None yet
9 participants

puzrin commented Dec 30, 2012

It woud be nice to publish in npm simple downloader, as pnantomjs has:

https://github.com/Obvious/phantomjs

That will simplify life with npm dependencies.

Related to #4

Contributor

Mithgol commented Mar 13, 2013

There's no problem with 100% JavaScript modules.

However, C++ modules cannot be installed this way: npm tries to build them with node-gyp, and node-webkit requires them to be built with https://github.com/rogerwang/nw-gyp, because the ABI is different.

≈40 minutes ago I've opened the isaacs/npm#3244 issue. Maybe that would help. (In the worse case we could try the approach of #458.)

Contributor

Mithgol commented Mar 14, 2013

My isaacs/npm#3244 issue is closed, wontfix.

Fine, now #458 is the only option.

You should take a look at how appjs uses npm install. Take a look at their package.json's scripts properties. They run some cli commands post install and builds them afterwards.

amrnt commented May 9, 2013

👍

+1

Member

rogerwang commented Sep 16, 2013

@rogerwang rogerwang closed this Sep 16, 2013

Note that the default version installed is 0.8.6, to get anything newer you need to specify the version

npm install nodewebkit@0.9.2

shama commented Jul 17, 2014

@johnwclark The latest version tagged on npm is 0.9.2 so npm i nodewebkit should give you that version now.

@shama , thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment