Replies: 2 comments 1 reply
-
|
I'm getting this same thing on MacOS |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@grbarrie I tried the branch "fix/bcdr-build-errors" and it fixed the above issue for me. Navigate to your projectcd {your folder}/gigachad-grc Fetch all remote branchesgit fetch origin Switch to the fix branchgit checkout fix/bcdr-build-errors Clean up previous Docker buildsdocker compose down -v Rebuild./start.sh |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to build on Ubuntu server and everything starts and then fails with the following:
src/bcdr/bcdr-incidents.controller.ts:29:27 - error TS2307: Cannot find module '../auth/auth.guard' or its corresponding type declarations.
45.15
45.15 29 import { AuthGuard } from '../auth/auth.guard';
45.15 ~~~~~~~~~~~~~~~~~~~~
45.15 src/bcdr/bcdr-incidents.service.ts:88:39 - error TS2339: Property 'sendNotification' does not exist on type 'NotificationsService'.
45.15
45.15 88 await this.notificationsService.sendNotification({
45.15 ~~~~~~~~~~~~~~~~
45.15 src/bcdr/business-processes.service.ts:842:22 - error TS2554: Expected 4 arguments, but got 2.
45.15
45.15 842 await this.addDependency(process.id, {
45.15 ~~~~~~~~~~~~~
45.15
45.15 src/bcdr/business-processes.service.ts:416:5
45.15 416 userId: string,
45.15 ~~~~~~~~~~~~~~
45.15 An argument for 'userId' was not provided.
45.15 src/bcdr/business-processes.service.ts:857:22 - error TS2554: Expected 4 arguments, but got 3.
45.15
45.15 857 await this.linkAsset(process.id, organizationId, {
45.15 ~~~~~~~~~
45.15
45.15 src/bcdr/business-processes.service.ts:481:78
45.15 481 async linkAsset(processId: string, organizationId: string, userId: string, dto: LinkProcessAssetDto) {
45.15 ~~~~~~~~~~~~~~~~~~~~~~~~
45.15 An argument for 'dto' was not provided.
45.15 src/bcdr/exercise-templates.controller.ts:25:27 - error TS2307: Cannot find module '../auth/auth.guard' or its corresponding type declarations.
45.15
45.15 25 import { AuthGuard } from '../auth/auth.guard';
45.15 ~~~~~~~~~~~~~~~~~~~~
45.15 src/bcdr/plan-attestations.controller.ts:26:27 - error TS2307: Cannot find module '../auth/auth.guard' or its corresponding type declarations.
45.15
45.15 26 import { AuthGuard } from '../auth/auth.guard';
45.15 ~~~~~~~~~~~~~~~~~~~~
45.15 src/bcdr/plan-attestations.service.ts:115:39 - error TS2339: Property 'sendNotification' does not exist on type 'NotificationsService'.
45.15
45.15 115 await this.notificationsService.sendNotification({
45.15 ~~~~~~~~~~~~~~~~
45.15 src/bcdr/recovery-teams.controller.ts:28:27 - error TS2307: Cannot find module '../auth/auth.guard' or its corresponding type declarations.
45.15
45.15 28 import { AuthGuard } from '../auth/auth.guard';
45.15 ~~~~~~~~~~~~~~~~~~~~
45.15
45.15 Found 8 error(s).
45.15
[+] up 0/7
⠙ Image gigachad-grc-controls Building 47.4s
⠙ Image gigachad-grc-policies Building 47.4s
⠙ Image gigachad-grc-frameworks Building 47.4s
⠙ Image gigachad-grc-audit Building 47.4s
⠙ Image gigachad-grc-trust Building 47.4s
⠙ Image gigachad-grc-frontend Building 47.4s
⠙ Image gigachad-grc-tprm Building 47.4s
Dockerfile:52
50 |
51 | # Build the service
52 | >>> RUN npm run build
53 |
54 | # Production stage
target controls: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
Beta Was this translation helpful? Give feedback.
All reactions