holunda-io / camunda-bpm-taskpool

Library for pooling user tasks and process related business objects.
https://www.holunda.io/camunda-bpm-taskpool/
Apache License 2.0
68 stars 26 forks source link

build process-forms project failed #349

Closed leechedan closed 3 years ago

leechedan commented 3 years ago

Expected behaviour

build docker images success or get io.holunda.polyflow:polyflow-example-process-forms-3.0.0-SNAPSHOT.jar

Actual behaviour

Step 1/15 : FROM node:10.15 as installer
 ---> 5a401340b79f
Step 2/15 : WORKDIR /opt/build
 ---> Using cache
 ---> ba5ef069f3cf
Step 3/15 : COPY package.json ./
 ---> Using cache
 ---> 55fd93dbbe9f
Step 4/15 : RUN npm install
 ---> Using cache
 ---> 6984a44b8156
Step 5/15 : FROM node:10.15 as builder
 ---> 5a401340b79f
Step 6/15 : WORKDIR /opt/build
 ---> Using cache
 ---> ba5ef069f3cf
Step 7/15 : COPY --from=installer /opt/build ./
 ---> Using cache
 ---> fbc3c789cb60
Step 8/15 : COPY . ./
 ---> Using cache
 ---> 166c2775a79d
Step 9/15 : RUN npm run build
 ---> Running in 570acf542b20

> example-process-approval@0.0.0 build /opt/build
> ng build

Date: 2021-05-09T07:36:00.370Z
Hash: be7d7d4888ebb55e2ec6
Time: 6646ms
chunk {main} main.js, main.js.map (main) 601 bytes [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 656 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 204 kB [initial] [rendered]
ERROR in src/app/components/request-form/request-form.component.ts(4,36): error TS2307: Cannot find module 'process/model/approvalRequestDraft'.
src/app/components/request-view/request-view.component.ts(4,36): error TS2307: Cannot find module 'process/model/approvalRequestDraft'.
src/app/data/approval-request-draft.ts(1,36): error TS2307: Cannot find module 'process/model/approvalRequestDraft'.
src/app/data/approval-request/approval-request.component.ts(2,30): error TS2307: Cannot find module 'process/api/request.service'.
src/app/data/approval-request/approval-request.component.ts(5,27): error TS2307: Cannot find module 'process/model/environment'.
src/app/data/approval-request/approval-request.component.ts(6,31): error TS2307: Cannot find module 'process/model/approvalRequest'.
src/app/services/environment.helper.service.ts(2,36): error TS2307: Cannot find module 'process/api/environment.service'.
src/app/services/environment.helper.service.ts(4,29): error TS2307: Cannot find module 'process/model/environment'.
src/app/tasks/amend-request/amend-task.component.ts(3,33): error TS2307: Cannot find module 'process/model/approvalRequest'.
src/app/tasks/amend-request/amend-task.component.ts(4,45): error TS2307: Cannot find module 'process/api/userTaskAmendRequest.service'.
src/app/tasks/amend-request/amend-task.component.ts(5,22): error TS2307: Cannot find module 'process/model/task'.
src/app/tasks/amend-request/amend-task.component.ts(6,44): error TS2307: Cannot find module 'process/model/taskAmendRequestSubmitData'.
src/app/tasks/amend-request/amend-task.component.ts(8,29): error TS2307: Cannot find module 'process/model/environment'.
src/app/tasks/approve-request/approve-task.component.ts(3,33): error TS2307: Cannot find module 'process/model/approvalRequest'.
src/app/tasks/approve-request/approve-task.component.ts(4,47): error TS2307: Cannot find module 'process/api/userTaskApproveRequest.service'.
src/app/tasks/approve-request/approve-task.component.ts(5,22): error TS2307: Cannot find module 'process/model/task'.
src/app/tasks/approve-request/approve-task.component.ts(6,46): error TS2307: Cannot find module 'process/model/taskApproveRequestSubmitData'.
src/app/tasks/approve-request/approve-task.component.ts(8,29): error TS2307: Cannot find module 'process/model/environment'.
src/app/tasks/start/start.component.ts(2,30): error TS2307: Cannot find module 'process/api/request.service'.
src/app/tasks/start/start.component.ts(5,27): error TS2307: Cannot find module 'process/model/environment'.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! example-process-approval@0.0.0 build: `ng build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the example-process-approval@0.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-05-09T07_36_00_413Z-debug.log
The command '/bin/sh -c npm run build' returned a non-zero code: 1

i wonder if i set environment wrong or forms project lacks some module code

leechedan commented 3 years ago

already compile via Maven and use master code that released 2.1.8 . thanks