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

how to build for mac #20

Open
OneMoreThing opened this issue Jan 3, 2015 · 3 comments
Open

how to build for mac #20

OneMoreThing opened this issue Jan 3, 2015 · 3 comments

Comments

@OneMoreThing
Copy link

how to build for mac, please

@deanshub
Copy link
Contributor

deanshub commented Jan 4, 2015

sorry, i haven't tried it on mac...
could you try and run gulp and paste the error?

@lorefnon
Copy link

gulp fails with the following error:

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:1011:11)
    at Process.ChildProcess._handle.onexit (child_process.js:802:34)

This is because the run task has hardcoded paths with windows path separators:

gulp.task('run', function () {
    cp.spawn("f:\\git\\node-webkit-v0.10.5-win-ia32\\nw.exe",["f:\\git\\u2bear\\."]);
});

However when I run nodewebkit . in the project directory, the application does start up but I see the following error in console:

[19277:0111/234459:ERROR:breakpad_mac.mm(238)] Breakpad initializaiton failed
[19278:0111/234459:ERROR:breakpad_mac.mm(238)] Breakpad initializaiton failed

Although the listing of top videos is visible, attempting to play the videos fail with the following errors in console:

[20742:0111/235034:INFO:CONSOLE(2)] ""Error: [$rootScope:inprog] http://errors.angularjs.org/1.2.26/$rootScope/inprog?p0=%24digest\n    at Error (native)\n    at file:///Users/lorefnon/workspace/u2bear/js/lib/angular.min.js:1:450\n    at f (file:///Users/lorefnon/workspace/u2bear/js/lib/angular.min.js:2:18070)\n    at l.$apply (file:///Users/lorefnon/workspace/u2bear/js/lib/angular.min.js:2:21866)\n    at l.e.mouseMovement (file:///Users/lorefnon/workspace/u2bear/js/controllers.js:1:2812)\n    at Object.fn (file:///Users/lorefnon/workspace/u2bear/js/controllers.js:1:2897)\n    at l.$digest (file:///Users/lorefnon/workspace/u2bear/js/lib/angular.min.js:2:20453)\n    at l.$apply (file:///Users/lorefnon/workspace/u2bear/js/lib/angular.min.js:2:21935)\n    at HTMLElement.\u003Canonymous\u003E (file:///Users/lorefnon/workspace/u2bear/js/lib/angular.min.js:3:31620)\n    at HTMLElement.it.event.dispatch (file:///Users/lorefnon/workspace/u2bear/js/lib/jquery-1.11.1.min.js:2:17661)"", source: file:///Users/lorefnon/workspace/u2bear/js/lib/angular.min.js (2)
[20742:0111/235034:INFO:CONSOLE(1)] ""VIDEOJS:" "ERROR:" "(CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED)" "The video could not be loaded, either because the server or network failed or because the format is not supported." {"code":4,"message":"The video could not be loaded, either because the server or network failed or because the format is not supported."}", source: file:///Users/lorefnon/workspace/u2bear/js/lib/video.js (1)

Also the text bar with placeholder "Search phrase \ youtube url" is not clickable.

@lorefnon
Copy link

Let me know if some other information would be helpful for debugging. I installed node-webkit through the npm package. I had to install it globally since this is not a project dependency.

I am running Mac OS X Yeosemite.

@deanshub deanshub mentioned this issue Mar 13, 2015
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

3 participants