Open col-panic opened 7 years ago
Happens on Linux Debian...
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
So, now it should work:
aurelia-http-client
into the wrong place.Can you try again?
It does work now correctly on OS X! Trying to identify the problems on Linux ...
The problem still persist when building in Linux. If ignoring it the application simply hangs with the spinner on startup ....
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
Cannot build functional docker system due to this ...
Will look into it, but cannot do it today...
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.
Do you already have a time slot to take care of it? Thanks!
Guess you are running the gulp command from within the frontend
directory?
yep :)
Hm, on Ubuntu everything seems to work. We research bit more...
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"]
will try, thanks!
I cannot build the image:
Please provide a source image with
fromprior to commit
Is there a FROM
missing?
Ups, sorry yes! It was invisible due to some formatting problem in the upper comment!
ok, I can see it when editing
finally able to reproduce, will try to find a solution...
Ok, for some reason, the typescript definitions are not installed. The script below works for me:
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"]
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 ...
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.