-
Notifications
You must be signed in to change notification settings - Fork 24
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
Cannot build frontend #56
Comments
I should add that my node version is |
This patch fixed the issue (I really don't know why, but it works): diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js
index c4c9ca8..6629fed 100644
--- a/frontend/gulpfile.js
+++ b/frontend/gulpfile.js
@@ -43,13 +43,13 @@ gulp.task('scripts', () => {
})
.bundle()
.pipe(source(entry.substr(entry.lastIndexOf('/') + 1)))
+ .pipe(buffer())
.pipe(rename({
extname: '.bundle.js',
}))
.pipe($.plumber())
// .pipe($.sourcemaps.init())
// .pipe($.babel())
- .pipe(buffer())
.pipe($.sourcemaps.init({ loadMaps: true }))
.pipe($.sourcemaps.write('.'))
.pipe(gulp.dest('.tmp/scripts')) |
Hm. It works for me on on Linux on Node 6.5.0:
But for another person in our lab on Mac we see the problem you are describing, on Node 7.0.0. Your patch seems to solve it there as well. How did you decide to move that particular line there? |
I have zero knowledge about gulp. So, I don't know why it exactly fixes the issue. :) In fact, I used |
I have successfully set up the backend. But I could not build the frontend. I followed the instructions in the README file, but no success. I get
dist
directory list of files athttp://localhost:8080
.As far as I understand, the issue is related to
gulp
since it producesdist
directory without any html file. Also, thescripts
andstyles
directories are empty:I am not familiar with "gulp.js". Do you have any idea why it does not build the frontend?
The text was updated successfully, but these errors were encountered: