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

Can't build #1

Open
fusmau opened this issue Sep 21, 2016 · 0 comments
Open

Can't build #1

fusmau opened this issue Sep 21, 2016 · 0 comments

Comments

@fusmau
Copy link

fusmau commented Sep 21, 2016

Hi! I tried to build your project using gulp electron:all but that's what I get:

C:\Users\fusmau\Desktop\iesm>gulp electron:all
[17:02:53] Using gulpfile ~\Desktop\iesm\gulpfile.js
[17:02:53] Starting 'electron:all'...
[17:02:53] Starting 'clean'...
[17:02:53] Finished 'electron:all' after 8.01 ms
[17:02:53] Finished 'clean' after 23 ms
[17:02:53] Starting 'clean'...
[17:02:53] Finished 'clean' after 505 µs
[17:02:53] Starting 'build'...
[17:02:53] Starting 'sass'...
[17:02:53] Starting 'html'...
[17:02:53] Starting 'fonts'...
[17:02:53] Starting 'scripts'...
[17:02:53] Finished 'html' after 49 ms
[17:02:53] Finished 'scripts' after 55 ms
[17:02:53] Finished 'fonts' after 67 ms
[17:02:54] Finished 'sass' after 1.04 s
[17:03:02] Finished 'build' after 9.46 s
[17:03:02] Starting 'copy-package-json'...
[17:03:02] Finished 'copy-package-json' after 4.08 ms
[17:03:02] Starting 'electron:osx'...
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: Command `npm run pack:osx` exited with code 1
    at ChildProcess.handleSubShellExit (C:\Users\fusmau\Desktop\iesm\node_modules\gulp-run\command.js:166:13)
    at ChildProcess.g (events.js:260:16)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

I also tried to change the gulpfile.js in order to start the build for Windows only

gulp.task('electron:all', function () {
    return runSequence('clean', 'build', 'copy-package-json', 'electron:win');
});

but I got the same problem

C:\Users\fusmau\Desktop\iesm>gulp electron:all
[16:58:27] Using gulpfile ~\Desktop\iesm\gulpfile.js
[16:58:27] Starting 'electron:all'...
[16:58:27] Starting 'clean'...
[16:58:27] Finished 'electron:all' after 7.24 ms
[16:58:27] Finished 'clean' after 334 ms
[16:58:27] Starting 'clean'...
[16:58:27] Finished 'clean' after 655 µs
[16:58:27] Starting 'build'...
[16:58:27] Starting 'sass'...
[16:58:27] Starting 'html'...
[16:58:27] Starting 'fonts'...
[16:58:27] Starting 'scripts'...
[16:58:27] Finished 'html' after 55 ms
[16:58:27] Finished 'scripts' after 56 ms
[16:58:27] Finished 'fonts' after 72 ms
[16:58:28] Finished 'sass' after 1.03 s
[16:58:37] Finished 'build' after 10 s
[16:58:37] Starting 'copy-package-json'...
[16:58:37] Finished 'copy-package-json' after 3.97 ms
[16:58:37] Starting 'electron:win'...
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: Command `npm run pack:win` exited with code 1
    at ChildProcess.handleSubShellExit (C:\Users\fusmau\Desktop\iesm\node_modules\gulp-run\command.js:166:13)
    at ChildProcess.g (events.js:260:16)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

I didn't make any change to the project, just ran the npm install and tried to build it.
What am I doing wrong?

Thanks,
M.

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

No branches or pull requests

2 participants