Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builder doesn't work on windows/linux. #117

Closed
samuelcastro opened this issue Nov 2, 2014 · 7 comments
Closed

Builder doesn't work on windows/linux. #117

samuelcastro opened this issue Nov 2, 2014 · 7 comments

Comments

@samuelcastro
Copy link

My builder just work on Mac, doesn't work on windows/linux.

This is my Gruntfile:

nodewebkit:{
options:{
mac: true,
win: true,
linux32: true,
linux64: true,
version: '0.8.6'
},
src: [
'../desktop/package.json',
'../desktop/index.html',
'../desktop/packages//',
'../public//'
]
}

and when I try to run my project on windows/linux, just show "nw:blank" like this:

build-windows

@adam-lynch
Copy link
Contributor

I'm surprised Linux doesn't work. I've gotten that on Windows before when some of the generated files' paths were too long for Windows (> 256). You can check with Path Length Checker.

@nolanlawson
Copy link
Contributor

Seeing the same thing on Linux64 (Ubuntu). :(

untitled

@nolanlawson
Copy link
Contributor

BTW I'm actually using node-webkit-builder v0.2.0 and my build script is super simple. It looks like this:

var NwBuilder = require('node-webkit-builder');

var nw = new NwBuilder({
  files: './build/node-webkit/src/**', // use the glob format
  platforms: ['osx', 'linux64', 'win'],
  buildDir: './build/node-webkit/build',
  cacheDir: './build/node-webkit/cache',
  //macZip: true
  macIcns: './build/node-webkit/src/app_icon.icns'

});

The built Mac app works fine, but the Linux 64 and Windows app just show the nw:blank screen.

@cmarrero01
Copy link

Same issue here.

@ghost
Copy link

ghost commented Nov 14, 2014

Same issue here.

@adam-lynch
Copy link
Contributor

Please move discussion to #107 😄

@adam-lynch
Copy link
Contributor

Woops, that should be nwutils/nw-builder#107.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants