phwiget / ebox-elexis

Web-Application for Elexis
Other
1 stars 1 forks source link

gulp build does not find modules #3

Open col-panic opened 7 years ago

col-panic commented 7 years ago
[08:31:34] Using gulpfile /ebox-elexis/frontend/gulpfile.js
[08:31:34] Starting 'build'...
[08:31:34] Starting 'unbundle'...
[08:31:34] Finished 'unbundle' after 8.48 ms
[08:31:34] Starting 'clean'...
[08:31:34] Finished 'clean' after 17 ms
[08:31:34] Starting 'build-system'...
[08:31:34] Starting 'build-html'...
[08:31:34] Starting 'build-css'...
[08:31:34] Finished 'build-css' after 127 ms
[08:31:35] Finished 'build-html' after 240 ms
src/app.ts(1,43): error TS2307: Cannot find module 'aurelia-router'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/app.ts(1,43): error TS2307: Cannot find module 'aurelia-router'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: not found: notify-send
src/login/login.ts(3,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/login/login.ts(3,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/login/main.ts(2,23): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/login/main.ts(2,23): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/main.ts(2,23): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/main.ts(2,23): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/models/http/http-service.ts(1,46): error TS2307: Cannot find module 'aurelia-http-client'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/models/http/http-service.ts(1,46): error TS2307: Cannot find module 'aurelia-http-client'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/models/medication/medication-service.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/models/medication/medication-service.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/models/patient/patient-service.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/models/patient/patient-service.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/buttons/dot-button.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/common/buttons/dot-button.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/buttons/spinner-button.ts(2,26): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/common/buttons/spinner-button.ts(2,26): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/date-picker.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/common/date-picker.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/date-picker.ts(3,24): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/common/date-picker.ts(3,24): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/focus-me.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/common/focus-me.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/forms/bread-crumb.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/common/forms/bread-crumb.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/forms/bread-crumb.ts(4,50): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/common/forms/bread-crumb.ts(4,50): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/pagination/pagination.ts(1,24): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/common/pagination/pagination.ts(1,24): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/select-all.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/common/select-all.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/typeahead/typeahead.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/common/typeahead/typeahead.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/typeahead/typeahead.ts(3,24): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/common/typeahead/typeahead.ts(3,24): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/medication/medication-edit.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/medication/medication-edit.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/medication/medication.ts(3,40): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/medication/medication.ts(3,40): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/medication/medication.ts(5,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/medication/medication.ts(5,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/medication/medication.ts(7,22): error TS2307: Cannot find module 'aurelia-router'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/medication/medication.ts(7,22): error TS2307: Cannot find module 'aurelia-router'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/navigation/flat-menu.ts(1,22): error TS2307: Cannot find module 'aurelia-router'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/navigation/flat-menu.ts(1,22): error TS2307: Cannot find module 'aurelia-router'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/navigation/flat-menu.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/navigation/flat-menu.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/navigation/nav-bar.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/navigation/nav-bar.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/navigation/side-menu.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/navigation/side-menu.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/navigation/side-menu.ts(3,22): error TS2307: Cannot find module 'aurelia-router'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/navigation/side-menu.ts(3,22): error TS2307: Cannot find module 'aurelia-router'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/samples/components.ts(2,24): error TS2307: Cannot find module 'aurelia-templating'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/samples/components.ts(2,24): error TS2307: Cannot find module 'aurelia-templating'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/samples/welcome.ts(2,37): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running Gulp] Error: src/views/samples/welcome.ts(2,37): error TS2307: Cannot find module 'aurelia-framework'.
[08:31:36] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
[08:31:36] TypeScript: 29 semantic errors
[08:31:36] TypeScript: emit succeeded (with errors)
[08:31:36] Finished 'build-system' after 1.89 s
[08:31:36] Finished 'build' after 1.91 s
col-panic commented 7 years ago

Happens on Linux Debian...

col-panic commented 7 years ago

If checking this repo out fresh, on OS X the following is the output of gulp build

[10:39:00] Starting 'build'...
[10:39:00] Starting 'unbundle'...
[10:39:00] Finished 'unbundle' after 6.11 ms
[10:39:00] Starting 'clean'...
[10:39:00] Finished 'clean' after 14 ms
[10:39:00] Starting 'build-system'...
[10:39:00] Starting 'build-html'...
[10:39:00] Starting 'build-css'...
[10:39:00] Finished 'build-css' after 268 ms
[10:39:00] Finished 'build-html' after 396 ms
src/models/http/http-service.ts(1,46): error TS2307: Cannot find module 'aurelia-http-client'.
[10:39:02] gulp-notify: [Error running Gulp] Error: src/models/http/http-service.ts(1,46): error TS2307: Cannot find module 'aurelia-http-client'.
[10:39:02] TypeScript: 1 semantic error
[10:39:02] TypeScript: emit succeeded (with errors)
[10:39:02] Finished 'build-system' after 2.03 s
[10:39:02] Finished 'build' after 2.05 s
phwiget commented 7 years ago

So, now it should work:

Can you try again?

col-panic commented 7 years ago

It does work now correctly on OS X! Trying to identify the problems on Linux ...

col-panic commented 7 years ago

The problem still persist when building in Linux. If ignoring it the application simply hangs with the spinner on startup ....

col-panic commented 7 years ago

Just tried again from scratch - debian wheezy still

[09:26:40] Using gulpfile /ebox-elexis/frontend/gulpfile.js
[09:26:40] Starting 'build'...
[09:26:40] Starting 'unbundle'...
[09:26:40] Finished 'unbundle' after 8.86 ms
[09:26:40] Starting 'clean'...
[09:26:40] Finished 'clean' after 52 ms
[09:26:40] Starting 'build-system'...
[09:26:40] Starting 'build-html'...
[09:26:40] Starting 'build-css'...
[09:26:40] Finished 'build-css' after 130 ms
[09:26:40] Finished 'build-html' after 269 ms
src/app.ts(1,43): error TS2307: Cannot find module 'aurelia-router'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/app.ts(1,43): error TS2307: Cannot find module 'aurelia-router'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: not found: notify-send
src/login/login.ts(3,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/login/login.ts(3,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/login/main.ts(2,23): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/login/main.ts(2,23): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/main.ts(2,23): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/main.ts(2,23): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/models/medication/medication-service.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/models/medication/medication-service.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/models/patient/patient-service.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/models/patient/patient-service.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/buttons/dot-button.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/common/buttons/dot-button.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/buttons/spinner-button.ts(2,26): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/common/buttons/spinner-button.ts(2,26): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/date-picker.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/common/date-picker.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/date-picker.ts(3,24): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/common/date-picker.ts(3,24): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/focus-me.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/common/focus-me.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/forms/bread-crumb.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/common/forms/bread-crumb.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/forms/bread-crumb.ts(4,50): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/common/forms/bread-crumb.ts(4,50): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/pagination/pagination.ts(1,24): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/common/pagination/pagination.ts(1,24): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/select-all.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/common/select-all.ts(1,26): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/typeahead/typeahead.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/common/typeahead/typeahead.ts(1,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/common/typeahead/typeahead.ts(3,24): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/common/typeahead/typeahead.ts(3,24): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/medication/medication-edit.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/medication/medication-edit.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/medication/medication.ts(3,40): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/medication/medication.ts(3,40): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/medication/medication.ts(5,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/medication/medication.ts(5,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/medication/medication.ts(7,22): error TS2307: Cannot find module 'aurelia-router'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/medication/medication.ts(7,22): error TS2307: Cannot find module 'aurelia-router'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/navigation/flat-menu.ts(1,22): error TS2307: Cannot find module 'aurelia-router'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/navigation/flat-menu.ts(1,22): error TS2307: Cannot find module 'aurelia-router'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/navigation/flat-menu.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/navigation/flat-menu.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/navigation/nav-bar.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/navigation/nav-bar.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/navigation/side-menu.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/navigation/side-menu.ts(2,26): error TS2307: Cannot find module 'aurelia-dependency-injection'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/navigation/side-menu.ts(3,22): error TS2307: Cannot find module 'aurelia-router'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/navigation/side-menu.ts(3,22): error TS2307: Cannot find module 'aurelia-router'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/samples/components.ts(2,24): error TS2307: Cannot find module 'aurelia-templating'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/samples/components.ts(2,24): error TS2307: Cannot find module 'aurelia-templating'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
src/views/samples/welcome.ts(2,37): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running Gulp] Error: src/views/samples/welcome.ts(2,37): error TS2307: Cannot find module 'aurelia-framework'.
[09:26:42] gulp-notify: [Error running notifier] Could not send message: notify-send must be installed on the system.
[09:26:42] TypeScript: 28 semantic errors
[09:26:42] TypeScript: emit succeeded (with errors)
[09:26:42] Finished 'build-system' after 2.17 s
[09:26:42] Finished 'build' after 2.24 s
col-panic commented 7 years ago

Cannot build functional docker system due to this ...

phwiget commented 7 years ago

Will look into it, but cannot do it today...

col-panic commented 7 years ago

Allright! Thanks for the info! :)

Philipp Wiget schrieb:

Will look into it, but cannot do it today...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phwiget/ebox-elexis/issues/3#issuecomment-290074113, or mute the thread https://github.com/notifications/unsubscribe-auth/ABmh8a4PKX6kVu-gAcHl_3lJxgKpldoDks5rqk4kgaJpZM4MrTJI.

col-panic commented 7 years ago

Do you already have a time slot to take care of it? Thanks!

phwiget commented 7 years ago

Guess you are running the gulp command from within the frontend directory?

col-panic commented 7 years ago

yep :)

phwiget commented 7 years ago

Hm, on Ubuntu everything seems to work. We research bit more...

col-panic commented 7 years ago

Try it with the following Dockerfile, which is based on Debian Jessie!

FROM node:7.7.4
MAINTAINER Marco Descher <descher@medevit.at>

RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list && \
    apt-get update && \ 
    apt-get install -t jessie-backports -y openjdk-8-jdk-headless && rm -rf /var/lib/apt/lists/* && \
    npm install -g gulp jspm
RUN git clone https://github.com/phwiget/ebox-elexis.git && \
    cd /ebox-elexis/frontend && \
    npm install && jspm install -y && gulp build && \
    cd /ebox-elexis && chmod +x activator && \
    ./activator update && ./activator compile

EXPOSE 9000
WORKDIR /ebox-elexis    
CMD ["./activator", "run"]
phwiget commented 7 years ago

will try, thanks!

phwiget commented 7 years ago

I cannot build the image: Please provide a source image withfromprior to commit Is there a FROM missing?

col-panic commented 7 years ago

Ups, sorry yes! It was invisible due to some formatting problem in the upper comment!

phwiget commented 7 years ago

ok, I can see it when editing

phwiget commented 7 years ago

finally able to reproduce, will try to find a solution...

phwiget commented 7 years ago

Ok, for some reason, the typescript definitions are not installed. The script below works for me:

phwiget commented 7 years ago
FROM node:7.7.4

MAINTAINER Marco Descher <descher@medevit.at>

RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list && \
    apt-get update && \ 
    apt-get install -t jessie-backports -y openjdk-8-jdk-headless && rm -rf /var/lib/apt/lists/* && \
    npm install -g gulp jspm
RUN git clone https://github.com/phwiget/ebox-elexis.git && \
    cd /ebox-elexis/frontend && \
    npm install && ./node_modules/.bin/typings install && jspm install -y && gulp build && \
    cd /ebox-elexis && chmod +x activator && \
    ./activator update && ./activator compile

EXPOSE 9000
WORKDIR /ebox-elexis    
CMD ["./activator", "run"]
phwiget commented 7 years ago
ok   Install complete.
[09:00:24] Using gulpfile /ebox-elexis/frontend/gulpfile.js
[09:00:24] Starting 'build'...
[09:00:24] Starting 'unbundle'...
[09:00:24] Finished 'unbundle' after 4.57 ms
[09:00:24] Starting 'clean'...
[09:00:24] Finished 'clean' after 10 ms
[09:00:24] Starting 'build-system'...
[09:00:24] Starting 'build-html'...
[09:00:24] Starting 'build-css'...
[09:00:25] Finished 'build-css' after 226 ms
[09:00:25] Finished 'build-html' after 333 ms
[09:00:26] Finished 'build-system' after 1.69 s
[09:00:26] Finished 'build' after 1.7 s
Getting com.typesafe.activator activator-launcher 1.3.4 ...
col-panic commented 7 years ago

Great! I'll give it a try as soon as possible! :)

Philipp Wiget schrieb:

ok Install complete. [09:00:24] Using gulpfile /ebox-elexis/frontend/gulpfile.js [09:00:24] Starting 'build'... [09:00:24] Starting 'unbundle'... [09:00:24] Finished 'unbundle' after 4.57 ms [09:00:24] Starting 'clean'... [09:00:24] Finished 'clean' after 10 ms [09:00:24] Starting 'build-system'... [09:00:24] Starting 'build-html'... [09:00:24] Starting 'build-css'... [09:00:25] Finished 'build-css' after 226 ms [09:00:25] Finished 'build-html' after 333 ms [09:00:26] Finished 'build-system' after 1.69 s [09:00:26] Finished 'build' after 1.7 s Getting com.typesafe.activator activator-launcher 1.3.4 ...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phwiget/ebox-elexis/issues/3#issuecomment-291800364, or mute the thread https://github.com/notifications/unsubscribe-auth/ABmh8QenlZu08HS_W6RhltkHwCAq6V3-ks5rs1nBgaJpZM4MrTJI.