Skip to content

Commit

Permalink
Fix non-Windows builds. Fixes #2453
Browse files Browse the repository at this point in the history
  • Loading branch information
frebib committed Aug 19, 2018
1 parent e9f2d9a commit e84b108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ombi/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function getEnvOptions() {

function webpack(type) {
// 'webpack' instead of direct path can cause https://github.com/angular/angular-cli/issues/6417
return run(`node node_modules\\webpack\\bin\\webpack.js --config webpack.config${type ? `.${type}` : ""}.ts${getEnvOptions()}`).exec();
return run(`node ${path.join('node_modules', 'webpack', 'bin', 'webpack.js')} --config webpack.config${type ? `.${type}` : ""}.ts${getEnvOptions()}`).exec();
}

gulp.task("vendor", () => {
Expand Down

2 comments on commit e84b108

@spotdemo4
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This left me with an infinite loading page with this error in console
image

Tried reinstalling but didn't do the trick

@tidusjar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wouldn't of made a difference, the angular and webpack update would have caused this. Please clear your cache.

Please sign in to comment.