Skip to content

Flyway Migration Script Fails on ARM64 Architecture #7

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

Open
arthurgubaidullin opened this issue Nov 3, 2024 · 2 comments
Open

Flyway Migration Script Fails on ARM64 Architecture #7

arthurgubaidullin opened this issue Nov 3, 2024 · 2 comments

Comments

@arthurgubaidullin
Copy link

Description

The db:create-and-fill script fails on ARM64 architecture, specifically during the Flyway migration process. The error occurs while attempting to execute the flyway:migrate command, which is part of the database setup and migration workflow.

Steps to Reproduce

  1. Run the following command on an ARM64 machine: npm run db:create-and-fill
  2. Observe the following outputs:
    1. Database creation runs successfully
    2. Flyway migration fails with the error:
       rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
       /workspaces/nestjs-mod-fullstack/tmp/flyway-commandline-10.1.0/flyway-10.1.0/flyway: line 36: Trace/breakpoint trap 
      "$JAVA_CMD" $JAVA_ARGS "$EXTRA_ARGS" -cp "$CP" org.flywaydb.commandline.Main "$@"

Expected Behavior

The script should complete all database setup steps successfully, including Flyway migrations, without encountering any errors on ARM64 architecture.

Actual Behavior

The Flyway migration step fails with a rosetta error, indicating a compatibility issue with the ELF binary required for Flyway on ARM64.

Possible Cause

The Flyway binary or its dependencies may be incompatible with the ARM64 architecture, as it appears to be looking for an x86-64 shared library (ld-linux-x86-64.so.2), which is not available on ARM-based systems.

Environment

Architecture: ARM64
Node Version: 22
Flyway Version: 10.1.0
Project Version: 0.0.11

Nx Report

Node           : 22.9.0
OS             : linux-arm64
Native Target  : aarch64-linux
npm            : 8.19.4

nx                 : 20.0.3
@nx/js             : 20.0.3
@nx/jest           : 20.0.3
@nx/eslint         : 20.0.3
@nx/workspace      : 20.0.3
@nx/angular        : 20.0.3
@nx/devkit         : 20.0.3
@nrwl/devkit       : 19.7.4
@nx/eslint-plugin  : 20.0.3
@nx/node           : 20.0.3
@nx/playwright     : 20.0.3
@nx/vite           : 20.0.3
@nx/web            : 20.0.3
@nx/webpack        : 20.0.3
typescript         : 5.5.4
---------------------------------------
Registered Plugins:
@nx/playwright/plugin
@nx/eslint/plugin
---------------------------------------
Community plugins:
@nestjs-mod/schematics              : 2.11.1
@theunderscorer/nx-semantic-release : 2.12.0
ng-zorro-antd                       : 18.1.1
---------------------------------------
The following packages should match the installed version of nx
  - @nrwl/[email protected]
@EndyKaufman
Copy link
Contributor

I updated the flyway version, try restarting

git clone [email protected]:nestjs-mod/nestjs-mod-fullstack.git
cd nestjs-mod-fullstack
npm i
npm run pm2-full:dev:start

@arthurgubaidullin
Copy link
Author

Thank you. I tried it. Same problem. This is the output:

npm run pm2-full:dev:start

> @nestjs-mod-fullstack/[email protected] pm2-full:dev:start
> npm run generate && npm run docker-compose:start-prod:server && npm run db:create-and-fill && npm run pm2:dev:start


> @nestjs-mod-fullstack/[email protected] generate
> ./node_modules/.bin/nx run-many --exclude=@nestjs-mod-fullstack/source --verbose --all -t=generate --parallel=false && npm run make-ts-list && npm run lint:fix


 NX   Running target generate for 2 projects:

- webhook
- server

———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

> nx run webhook:generate

> ./node_modules/.bin/prisma generate --schema=./libs/feature/webhook/src/prisma/schema.prisma

Environment variables loaded from .env
Prisma schema loaded from libs/feature/webhook/src/prisma/schema.prisma
prisma:info [Prisma Class Generator]:Handler Registered.
prisma:info [Prisma Class Generator]:Generate /workspaces/nestjs-mod-fullstack/libs/feature/webhook/src/lib/generated/rest/dto/webhook.ts
prisma:info [Prisma Class Generator]:Generate /workspaces/nestjs-mod-fullstack/libs/feature/webhook/src/lib/generated/rest/dto/webhook_log.ts
prisma:info [Prisma Class Generator]:Generate /workspaces/nestjs-mod-fullstack/libs/feature/webhook/src/lib/generated/rest/dto/webhook_user.ts
prisma:info [Prisma Class Generator]:Generate /workspaces/nestjs-mod-fullstack/libs/feature/webhook/src/lib/generated/rest/dto/migrations.ts

✔ Generated Prisma Client (v5.22.0, engine=binary) to ./node_modules/@prisma/webhook-client in 64ms

✔ Generated Prisma Class Generator to ./libs/feature/webhook/src/lib/generated/rest/dto in 77ms

Start by importing your Prisma Client (See: https://pris.ly/d/importing-client)

Tip: Curious about the SQL queries Prisma ORM generates? Optimize helps you enhance your visibility: https://pris.ly/tip-2-optimize


> nx run server:generate

> ./node_modules/.bin/prisma generate --schema=./apps/server/src/prisma/app-schema.prisma

Environment variables loaded from .env
Prisma schema loaded from apps/server/src/prisma/app-schema.prisma
prisma:info [Prisma Class Generator]:Handler Registered.
prisma:info [Prisma Class Generator]:Generate /workspaces/nestjs-mod-fullstack/apps/server/src/app/generated/rest/dto/app_demo.ts
prisma:info [Prisma Class Generator]:Generate /workspaces/nestjs-mod-fullstack/apps/server/src/app/generated/rest/dto/migrations.ts

✔ Generated Prisma Client (v5.22.0, engine=binary) to ./node_modules/@prisma/app-client in 38ms

✔ Generated Prisma Class Generator to ./apps/server/src/app/generated/rest/dto in 46ms

Start by importing your Prisma Client (See: https://pris.ly/d/importing-client)

Tip: Need your database queries to be 1000x faster? Accelerate offers you that and more: https://pris.ly/tip-2-accelerate

> ./node_modules/.bin/rucken make-ts-list

> export NESTJS_MODE=infrastructure && ./node_modules/.bin/nx serve server --watch=false --inspect=false --skip-nx-cache=true


> nx run server:serve:development --watch=false --inspect=false

asset main.js 131 KiB [emitted] (name: main) 1 related asset
asset assets/.gitkeep 0 bytes [emitted] [from: src/assets/.gitkeep] [copied]
  
webpack 5.94.0 compiled successfully (ed7ff3b6458ef119)
(node:9437) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

[08:56:26.483] INFO (9437): Starting Nest application...
    context: "NestFactory"
[08:56:26.484] INFO (9437): DefaultNestApp dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtilsSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DefaultNestApplicationInitializerSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DefaultNestApplicationInitializerShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): NestjsPinoLoggerModuleSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): NestjsPinoLoggerModuleShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): TerminusHealthCheckModuleSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DefaultNestApplicationListenerSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DefaultNestApplicationListenerShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): AuthorizerModuleSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): WebhookModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): WebhookModuleSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaModuleSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaToolsModuleSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaModuleSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): AppModuleSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): AppModuleShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): WebhookModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): AuthModuleSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): AuthModuleShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): AuthorizerModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaToolsModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): InfrastructureMarkdownReportGeneratorSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): Pm2Settings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): Pm2Shared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtils dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposeSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtils dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposePostgreSQLSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerCompose dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposePostgreSQL dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposePostgreSQLSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposePostgreSQLShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposePostgreSQL dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposeAuthorizerSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposeAuthorizerShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): FlywaySettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): FlywayShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposePostgreSQL dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaModuleSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaModuleShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtils dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtilsSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaModuleSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaModuleShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtils dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtilsSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): InfrastructureMarkdownReportGeneratorSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtils dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): InfrastructureMarkdownReportStorage dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): InfrastructureMarkdownReportStorageSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtils dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerCompose dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposeAuthorizerSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposeAuthorizerShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtils dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerCompose dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): FlywaySettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): FlywayShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtils dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): FlywaySettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): FlywayShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtils dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DefaultNestApplicationListenerSettings dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DefaultNestApplicationListenerShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): AuthorizerModuleShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): HttpModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DockerComposeShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): InfrastructureMarkdownReportStorageShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): ProjectUtils dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DefaultNestApplicationInitializer dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): DefaultNestApplicationListener dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): PrismaModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.484] INFO (9437): InfrastructureMarkdownReportGenerator dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): DockerComposePostgreSQL dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): DockerComposeAuthorizer dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): Flyway dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): Flyway dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): DockerComposeAuthorizer dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): DefaultNestApplicationListener dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): NestjsPinoLoggerModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): TerminusModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): TerminusModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): ServeStaticModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): ProjectUtilsShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): PrismaToolsModuleShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): InfrastructureMarkdownReportGeneratorShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): Pm2 dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): DockerCompose dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): DockerComposePostgreSQL dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): PrismaModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): ProjectUtilsShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): PrismaModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): ProjectUtilsShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): InfrastructureMarkdownReportGeneratorShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): Flyway dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): Flyway dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): InfrastructureMarkdownReportGenerator dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): AuthModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): LoggerModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): DockerComposePostgreSQLShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): PrismaModuleShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): PrismaToolsModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): PrismaModuleShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): TerminusHealthCheckModuleShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): TerminusHealthCheckModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): AppModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): WebhookModuleShared dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): AuthorizerModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.485] INFO (9437): WebhookModule dependencies initialized
    context: "InstanceLoader"
[08:56:26.507] INFO (9437): TerminusHealthCheckController {/api/health}:
    context: "RoutesResolver"
[08:56:26.508] INFO (9437): Mapped {/api/health, GET} route
    context: "RouterExplorer"
[08:56:26.508] INFO (9437): AppController {/api}:
    context: "RoutesResolver"
[08:56:26.509] INFO (9437): Mapped {/api, GET} route
    context: "RouterExplorer"
[08:56:26.509] INFO (9437): Mapped {/api/demo, POST} route
    context: "RouterExplorer"
[08:56:26.509] INFO (9437): Mapped {/api/demo/:id, GET} route
    context: "RouterExplorer"
[08:56:26.509] INFO (9437): Mapped {/api/demo/:id, DELETE} route
    context: "RouterExplorer"
[08:56:26.509] INFO (9437): Mapped {/api/demo/:id, PUT} route
    context: "RouterExplorer"
[08:56:26.509] INFO (9437): Mapped {/api/demo, GET} route
    context: "RouterExplorer"
[08:56:26.509] INFO (9437): AuthorizerController {/api}:
    context: "RoutesResolver"
[08:56:26.509] INFO (9437): Mapped {/api/authorizer/client-id, GET} route
    context: "RouterExplorer"
[08:56:26.509] INFO (9437): WebhookUsersController {/api/webhook/users}:
    context: "RoutesResolver"
[08:56:26.510] INFO (9437): Mapped {/api/webhook/users, GET} route
    context: "RouterExplorer"
[08:56:26.510] INFO (9437): Mapped {/api/webhook/users/:id, PUT} route
    context: "RouterExplorer"
[08:56:26.510] INFO (9437): Mapped {/api/webhook/users/:id, DELETE} route
    context: "RouterExplorer"
[08:56:26.510] INFO (9437): Mapped {/api/webhook/users/:id, GET} route
    context: "RouterExplorer"
[08:56:26.510] INFO (9437): WebhookController {/api/webhook}:
    context: "RoutesResolver"
[08:56:26.510] INFO (9437): Mapped {/api/webhook/profile, GET} route
    context: "RouterExplorer"
[08:56:26.510] INFO (9437): Mapped {/api/webhook/events, GET} route
    context: "RouterExplorer"
[08:56:26.510] INFO (9437): Mapped {/api/webhook, GET} route
    context: "RouterExplorer"
[08:56:26.511] INFO (9437): Mapped {/api/webhook, POST} route
    context: "RouterExplorer"
[08:56:26.511] INFO (9437): Mapped {/api/webhook/:id, PUT} route
    context: "RouterExplorer"
[08:56:26.511] INFO (9437): Mapped {/api/webhook/:id, DELETE} route
    context: "RouterExplorer"
[08:56:26.511] INFO (9437): Mapped {/api/webhook/:id, GET} route
    context: "RouterExplorer"
[08:56:26.511] INFO (9437): Mapped {/api/webhook/:id/logs, GET} route
    context: "RouterExplorer"
[08:56:26.512] INFO (9437): Connected to database!
    context: "PrismaClient"
[08:56:26.513] INFO (9437): Connected to database!
    context: "PrismaClient"
[08:56:26.515] DEBUG (9437): onModuleInit
    context: "AuthAuthorizerBootstrapService"
[08:56:26.530] DEBUG (9437):
    0: "SERVER_AUTH_ADMIN_EMAIL: Description='Global admin username', Default='[email protected]', Original Name='adminEmail'"
    1: "SERVER_AUTH_ADMIN_USERNAME: Description='Global admin username', Default='admin', Original Name='adminUsername'"
    2: "SERVER_AUTH_ADMIN_PASSWORD: Description='Global admin password', Original Name='adminPassword'"
    3: "SERVER_WEBHOOK_USE_GUARDS: Description='Use guards.', Default='true', Original Name='useGuards'"
    4: "SERVER_WEBHOOK_USE_FILTERS: Description='Use filters.', Default='true', Original Name='useFilters'"
    5: "SERVER_WEBHOOK_AUTO_CREATE_USER: Description='Auto create user from guard.', Default='true', Original Name='autoCreateUser'"
    6: "SERVER_WEBHOOK_CHECK_HEADERS: Description='Search tenantId and userId in headers.', Default='true', Original Name='checkHeaders'"
    7: "SERVER_WEBHOOK_SKIP_GUARD_ERRORS: Description='Skip any guard errors.', Original Name='skipGuardErrors'"
    8: "SERVER_WEBHOOK_SUPER_ADMIN_EXTERNAL_USER_ID: Description='User ID with super admin role.', Original Name='superAdminExternalUserId'"
    9: "SERVER_ROOT_DATABASE_URL: Description='Connection string for PostgreSQL with root credentials (example: postgres://postgres:postgres_password@localhost:5432/postgres?schema=public, username must be \"postgres\")', Original Name='rootDatabaseUrl'"
    10: "SERVER_AUTHORIZER_ADMIN_SECRET: "
    11: "SERVER_AUTHORIZER_DATABASE_TYPE: Description='Which database you are using. Supported database types are postgres, mysql, planetscale, sqlite, sqlserver, mongodb, arangodb, yugabyte, mariadb, cassandradb, scylladb, couchbase, dynamodb.', Original Name='databaseType'"
    12: "SERVER_AUTHORIZER_DATABASE_URL: Description='Connection string for PostgreSQL with module credentials (example: postgres://feat:feat_password@localhost:5432/feat?schema=public)', Original Name='databaseUrl'"
    13: "SERVER_AUTHORIZER_DATABASE_NAME: Description='Name of database to connect to. This is useful in case of arangodb and mongodb. If not set, default value will be used.', Default='authorizer', Original Name='databaseName'"
    14: "SERVER_AUTHORIZER_REDIS_URL: Description='Redis URL where sessions can be persisted\tfalse\tsessions will be stored in memory.', Original Name='redisUrl'"
    15: "SERVER_AUTHORIZER_DATABASE_PORT: Description='Port on which database connection should be made. This is used when DATABASE_URL is not mentioned. At the moment supported by cassandradb.', Original Name='databasePort'"
    16: "SERVER_AUTHORIZER_DATABASE_HOST: Description='Host/IP on which database connection should be made. This is used when DATABASE_URL is not mentioned. At the moment supported by cassandradb type.', Original Name='databaseHost'"
    17: "SERVER_AUTHORIZER_DATABASE_USERNAME: Description='Username for the database access with permission to create tables and records. At the moment supported by cassandradb, scylladb type.', Original Name='databaseUsername'"
    18: "SERVER_AUTHORIZER_DATABASE_PASSWORD: Description='Password for the database access with permission to create tables and records. At the moment supported by cassandradb, scylladb type.', Original Name='databasePassword'"
    19: "SERVER_AUTHORIZER_DATABASE_CERT: Description='Base64 encoded certificate string used to make SSL connection. At the moment supported by cassandradb,scylladb type.', Original Name='databaseCert'"
    20: "SERVER_AUTHORIZER_DATABASE_CERT_KEY: Description='Base64 encoded key string used to make SSL connection. At the moment supported by cassandradb,scylladb type', Original Name='databaseCertKey'"
    21: "SERVER_AUTHORIZER_DATABASE_CA_CERT: Description='Base64 encoded CA certificate string used to make SSL connection. At the moment supported by cassandradb, scylladb type.', Original Name='databaseCaCert'"
    22: "SERVER_AUTHORIZER_PORT: Description='Port on which server should be running.', Default='8080', Original Name='port'"
    23: "SERVER_AUTHORIZER_AUTHORIZER_URL: "
    24: "SERVER_AUTHORIZER_COOKIE_NAME: Description='Name of cookie to be set by server.', Default='authorizer', Original Name='cookieName'"
    25: "SERVER_AUTHORIZER_SMTP_HOST: Description='SMTP host is used to send email verification emails and forgot password emails\tfalse\tIf not set email sending can fail.', Original Name='smtpHost'"
    26: "SERVER_AUTHORIZER_SMTP_PORT: Description='SMTP Port is used along with SMTP host.', Original Name='smtpPort'"
    27: "SERVER_AUTHORIZER_SMTP_USERNAME: Description='Username for your smtp provider.', Original Name='smtpUsername'"
    28: "SERVER_AUTHORIZER_SMTP_PASSWORD: Description='Password for your smt provider', Original Name='smtpPassword'"
    29: "SERVER_AUTHORIZER_SENDER_EMAIL: Description='Email to be used in From section while sending emails.', Original Name='senderEmail'"
    30: "SERVER_AUTHORIZER_SENDER_NAME: Description='Email sender name that is displayed in the inbox instead of just showing the email address.', Original Name='senderName'"
    31: "SERVER_AUTHORIZER_DISABLE_PLAYGROUND: Description='To disable playground', Default='true', Original Name='disablePlayground'"
    32: "SERVER_AUTHORIZER_ACCESS_TOKEN_EXPIRY_TIME: Description='Time interval for how long access token will be expired in 1h15m15s format.', Default='30m', Original Name='accessTokenExpiryTime'"
    33: "SERVER_AUTHORIZER_AWS_ACCESS_KEY_ID: Description='AWS access key used for connecting to dynamodb. Make sure access credentials has rights for dynamodb. Used with DATABASE_TYPE=dynamodb.', Original Name='awsAccessKeyId'"
    34: "SERVER_AUTHORIZER_AWS_SECRET_ACCESS_KEY: Description='AWS secret access key used for connecting to dynamodb. Make sure access credentials has rights for dynamodb. Used with DATABASE_TYPE=dynamodb.', Original Name='awsSecretAccessKey'"
    35: "SERVER_AUTHORIZER_GOOGLE_CLIENT_ID: Description='OAuth Google login client id.', Original Name='googleClientId'"
    36: "SERVER_AUTHORIZER_GOOGLE_CLIENT_SECRET: Description='OAuth Google login client secret.', Original Name='googleClientSecret'"
    37: "SERVER_AUTHORIZER_GITHUB_CLIENT_ID: Description='OAuth Github login client id.', Original Name='githubClientId'"
    38: "SERVER_AUTHORIZER_GITHUB_CLIENT_SECRET: Description='OAuth Github login client secret.', Original Name='githubClientSecret'"
    39: "SERVER_AUTHORIZER_FACEBOOK_CLIENT_ID: Description='OAuth Facebook login client id.', Original Name='facebookClientId'"
    40: "SERVER_AUTHORIZER_FACEBOOK_CLIENT_SECRET: Description='OAuth Facebook login client secret.', Original Name='facebookClientSecret'"
    41: "SERVER_AUTHORIZER_LINKEDIN_CLIENT_ID: Description='OAuth LinkedIn login client id.', Original Name='linkedinClientId'"
    42: "SERVER_AUTHORIZER_LINKEDIN_CLIENT_SECRET: Description='OAuth LinkedIn login client secret.', Original Name='linkedinClientSecret'"
    43: "SERVER_AUTHORIZER_APPLE_CLIENT_ID: Description='OAuth Apple login client id.', Original Name='appleClientId'"
    44: "SERVER_AUTHORIZER_APPLE_CLIENT_SECRET: Description='OAuth Apple login client secret.', Original Name='appleClientSecret'"
    45: "SERVER_AUTHORIZER_TWITTER_CLIENT_ID: Description='OAuth Twitter login client id.', Original Name='twitterClientId'"
    46: "SERVER_AUTHORIZER_TWITTER_CLIENT_SECRET: Description='OAuth Twitter login client secret.', Original Name='twitterClientSecret'"
    47: "SERVER_AUTHORIZER_MICROSOFT_CLIENT_ID: Description='OAuth Microsoft login client id.', Original Name='microsoftClientId'"
    48: "SERVER_AUTHORIZER_MICROSOFT_CLIENT_SECRET: Description='OAuth Microsoft login client secret.', Original Name='microsoftClientSecret'"
    49: "SERVER_AUTHORIZER_MICROSOFT_ACTIVE_DIRECTORY_TENANT_ID: Description='Microsoft Active Directory Tenant ID obtained from azure portal.', Original Name='microsoftActiveDirectoryTenantId'"
    50: "SERVER_AUTHORIZER_SMTP_LOCAL_NAME: Original Name='smtpLocalName'"
    51: "SERVER_AUTHORIZER_JWT_SECRET: Original Name='jwtSecret'"
    52: "SERVER_AUTHORIZER_JWT_PRIVATE_KEY: Original Name='jwtPrivateKey'"
    53: "SERVER_AUTHORIZER_JWT_PUBLIC_KEY: Original Name='jwtPublicKey'"
    54: "SERVER_AUTHORIZER_APP_URL: Original Name='appUrl'"
    55: "SERVER_AUTHORIZER_DISCORD_CLIENT_ID: Original Name='discordClientId'"
    56: "SERVER_AUTHORIZER_DISCORD_CLIENT_SECRET: Original Name='discordClientSecret'"
    57: "SERVER_AUTHORIZER_TWITCH_CLIENT_ID: Original Name='twitchClientId'"
    58: "SERVER_AUTHORIZER_TWITCH_CLIENT_SECRET: Original Name='twitchClientSecret'"
    59: "SERVER_AUTHORIZER_CLIENT_ID: "
    60: "SERVER_AUTHORIZER_CLIENT_SECRET: Original Name='clientSecret'"
    61: "SERVER_AUTHORIZER_ENCRYPTION_KEY: Original Name='encryptionKey'"
    62: "SERVER_AUTHORIZER_IS_PROD: Original Name='isProd'"
    63: "SERVER_AUTHORIZER_ALLOWED_ORIGINS: Original Name='allowedOrigins'"
    64: "SERVER_AUTHORIZER_TWILIO_API_KEY: Original Name='twilioApiKey'"
    65: "SERVER_AUTHORIZER_TWILIO_API_SECRET: Original Name='twilioApiSecret'"
    66: "SERVER_AUTHORIZER_TWILIO_ACCOUNT_SID: Original Name='twilioAccountSid'"
    67: "SERVER_AUTHORIZER_TWILIO_SENDER: Original Name='twilioSender'"
    68: "SERVER_PORT: Description='The port on which to run the server.', Default='3000', Original Name='port'"
    69: "SERVER_HOSTNAME: Description='Hostname on which to listen for incoming packets.', Original Name='hostname'"
    70: "SERVER_AUTHORIZER_REDIRECT_URL: "
    71: "SERVER_AUTHORIZER_ALLOWED_EXTERNAL_APP_IDS: "
    72: "SERVER_USE_FILTERS: "
    73: "SERVER_PAGINATION_INITIAL_PAGE: "
    74: "SERVER_PAGINATION_PER_PAGE_STEPS: "
    75: "SERVER_PAGINATION_PER_PAGE: "
    76: "SERVER_APP_DATABASE_URL: Description='Connection string for PostgreSQL with module credentials (example: postgres://feat:feat_password@localhost:5432/feat?schema=public)', Original Name='databaseUrl'"
    77: "SERVER_WEBHOOK_DATABASE_URL: Description='Connection string for PostgreSQL with module credentials (example: postgres://feat:feat_password@localhost:5432/feat?schema=public)', Original Name='databaseUrl'"
    context: "All application environments"
[08:56:26.563] INFO (9437): Nest application successfully started
    context: "NestApplication"



 NX   Successfully ran target serve for project server


> rm -rf ./libs/sdk/app-angular-rest-sdk/src/lib && mkdir ./libs/sdk/app-angular-rest-sdk/src/lib && ./node_modules/.bin/openapi-generator-cli generate -i ./app-swagger.json -g typescript-angular -o ./libs/sdk/app-angular-rest-sdk/src/lib  --additional-properties=apiModulePrefix=RestClient,configurationPrefix=RestClient,fileNaming=kebab-case,modelFileSuffix=.interface,modelSuffix=Interface,enumNameSuffix=Type,enumPropertyNaming=original,serviceFileSuffix=-rest.service,serviceSuffix=RestService

[main] INFO  o.o.codegen.DefaultGenerator - Generating with dryRun=false
[main] INFO  o.o.c.ignore.CodegenIgnoreProcessor - No .openapi-generator-ignore file found.
[main] INFO  o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-angular (client)
[main] INFO  o.o.codegen.DefaultGenerator - Generator 'typescript-angular' is considered stable.
[main] INFO  o.o.c.l.AbstractTypeScriptClientCodegen - Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
[main] INFO  o.o.c.l.AbstractTypeScriptClientCodegen - Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
[main] WARN  o.o.codegen.DefaultCodegen - The value (generator's option) must be either boolean or string. Default to `false`.
[main] INFO  o.o.c.l.TypeScriptAngularClientCodegen - generating code for Angular 18.0.0 ...
[main] INFO  o.o.c.l.TypeScriptAngularClientCodegen -   (you can select the angular version by setting the additionalProperties (--additional-properties in CLI) ngVersion)
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as TerminusHealthCheckController_check_200_response_info_value. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings TerminusHealthCheckController_check_200_response_info_value=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings TerminusHealthCheckController_check_200_response_info_value=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as TerminusHealthCheckController_check_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings TerminusHealthCheckController_check_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings TerminusHealthCheckController_check_200_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as TerminusHealthCheckController_check_503_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings TerminusHealthCheckController_check_503_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings TerminusHealthCheckController_check_503_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./app-data.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./app-demo.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./auth-error-enum.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./auth-error.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./authorizer-client-id.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./create-webhook-args.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./find-many-response-meta.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./find-many-webhook-log-response.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./find-many-webhook-response.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./find-many-webhook-user-response.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./status-response.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./terminus-health-check-controller-check200-response-info-value.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./terminus-health-check-controller-check200-response.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./terminus-health-check-controller-check503-response.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./update-webhook-args.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./update-webhook-user-args.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-entities.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-error-enum.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-error.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-event.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-log-object.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-log-scalar-field-enum.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-object.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-role.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-scalar-field-enum.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-status.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-user-object.interface.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/./webhook-user-scalar-field-enum.interface.ts
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/api/app-rest.service.ts
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/api/authorizer-rest.service.ts
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/api/terminus-health-check-rest.service.ts
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/api/webhook-rest.service.ts
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/model/models.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/api/api.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/index.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/api.module.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/configuration.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/variables.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/encoder.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/param.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/.gitignore
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/git_push.sh
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/README.md
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/.openapi-generator-ignore
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/.openapi-generator/VERSION
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-angular-rest-sdk/src/lib/.openapi-generator/FILES
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project 🙏                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################
> rm -rf ./libs/sdk/app-rest-sdk/src/lib && mkdir ./libs/sdk/app-rest-sdk/src/lib && ./node_modules/.bin/openapi-generator-cli generate -i ./app-swagger.json -g typescript-axios -o ./libs/sdk/app-rest-sdk/src/lib

[main] INFO  o.o.codegen.DefaultGenerator - Generating with dryRun=false
[main] INFO  o.o.c.ignore.CodegenIgnoreProcessor - No .openapi-generator-ignore file found.
[main] INFO  o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
[main] INFO  o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
[main] INFO  o.o.c.l.AbstractTypeScriptClientCodegen - Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
[main] INFO  o.o.c.l.AbstractTypeScriptClientCodegen - Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
[main] WARN  o.o.codegen.DefaultCodegen - The value (generator's option) must be either boolean or string. Default to `false`.
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as TerminusHealthCheckController_check_200_response_info_value. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings TerminusHealthCheckController_check_200_response_info_value=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings TerminusHealthCheckController_check_200_response_info_value=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as TerminusHealthCheckController_check_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings TerminusHealthCheckController_check_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings TerminusHealthCheckController_check_200_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.InlineModelResolver - Inline schema created as TerminusHealthCheckController_check_503_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings TerminusHealthCheckController_check_503_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings TerminusHealthCheckController_check_503_response=NewModel,ModelA=NewModelA in CLI).
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-rest-sdk/src/lib/index.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-rest-sdk/src/lib/base.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-rest-sdk/src/lib/common.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-rest-sdk/src/lib/api.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-rest-sdk/src/lib/configuration.ts
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-rest-sdk/src/lib/git_push.sh
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-rest-sdk/src/lib/.gitignore
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-rest-sdk/src/lib/.npmignore
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-rest-sdk/src/lib/.openapi-generator-ignore
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-rest-sdk/src/lib/.openapi-generator/VERSION
[main] INFO  o.o.codegen.TemplateManager - writing file /workspaces/nestjs-mod-fullstack/./libs/sdk/app-rest-sdk/src/lib/.openapi-generator/FILES
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project 🙏                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################

———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 NX   Successfully ran target generate for 2 projects



> @nestjs-mod-fullstack/[email protected] make-ts-list
> ./node_modules/.bin/rucken make-ts-list


> @nestjs-mod-fullstack/[email protected] lint:fix
> npm run tsc:lint && ./node_modules/.bin/nx run-many --exclude=@nestjs-mod-fullstack/source --all -t=lint --parallel=false --fix


> @nestjs-mod-fullstack/[email protected] tsc:lint
> ./node_modules/.bin/tsc --noEmit -p tsconfig.base.json


   ✔  nx run common-angular:lint  [existing outputs match the cache, left as is]
   ✔  nx run app-angular-rest-sdk:lint  [existing outputs match the cache, left as is]
   ✔  nx run auth-angular:lint  [existing outputs match the cache, left as is]
   ✔  nx run webhook-angular:lint  [existing outputs match the cache, left as is]
   ✔  nx run server:lint  [existing outputs match the cache, left as is]
   ✔  nx run server-e2e:lint  [existing outputs match the cache, left as is]
   ✔  nx run client:lint  [existing outputs match the cache, left as is]

———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 NX   Successfully ran target lint for 7 projects (109ms)

      With additional flags:
        --fix=true

Nx read the output from the cache instead of running the command for 7 out of 7 tasks.


> @nestjs-mod-fullstack/[email protected] docker-compose:start-prod:server
> export COMPOSE_INTERACTIVE_NO_CLI=1 && docker compose -f ./apps/server/docker-compose-prod.yml --env-file ./apps/server/docker-compose-prod.env --compatibility up -d

WARN[0000] /workspaces/nestjs-mod-fullstack/apps/server/docker-compose-prod.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 2/1
 ✔ Container server-postgre-sql  Healthy                                                                               0.5s 
 ✔ Container server-authorizer   Started                                                                               0.0s 

> @nestjs-mod-fullstack/[email protected] db:create-and-fill
> npm run db:create && npm run flyway:migrate


> @nestjs-mod-fullstack/[email protected] db:create
> ./node_modules/.bin/nx run-many -t=db-create


   ✔  nx run webhook:db-create (500ms)
   ✔  nx run server:db-create (1s)

———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 NX   Successfully ran target db-create for 2 projects (1s)


> @nestjs-mod-fullstack/[email protected] flyway:migrate
> ./node_modules/.bin/nx run-many -t=flyway-migrate


 NX   Running target flyway-migrate for 2 projects

   ✖  nx run webhook:flyway-migrate
      > export DATABASE_URL=${SERVER_WEBHOOK_DATABASE_URL} && export DATABASE_MIGRATIONS_LOCATIONS=./libs/feature/webhook/src/migrations && ./node_modules/.bin/flyway -c ./.flyway.js migrate
      
      DOWNLOADING https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.21.0/flyway-commandline-10.21.0-linux-x64.tar.gz
      DOWNLOADING https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar
      DOWNLOADING https://repo1.maven.org/maven2/org/slf4j/slf4j-jdk14/1.7.36/slf4j-jdk14-1.7.36.jar
      rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
       /workspaces/nestjs-mod-fullstack/tmp/flyway-commandline-10.21.0/flyway-10.21.0/flyway: line 36: 12715 Trace/breakpoint trap   "$JAVA_CMD" $JAVA_ARGS "$EXTRA_ARGS" -cp "$CP" org.flywaydb.commandline.Main "$@"
      
      

———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
   ✖  nx run server:flyway-migrate
      > export DATABASE_URL=${SERVER_APP_DATABASE_URL} && export DATABASE_MIGRATIONS_LOCATIONS=./apps/server/src/migrations && ./node_modules/.bin/flyway -c ./.flyway.js migrate
      
      DOWNLOADING https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.21.0/flyway-commandline-10.21.0-linux-x64.tar.gz
      DOWNLOADING https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar
      DOWNLOADING https://repo1.maven.org/maven2/org/slf4j/slf4j-jdk14/1.7.36/slf4j-jdk14-1.7.36.jar
      rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
       /workspaces/nestjs-mod-fullstack/tmp/flyway-commandline-10.21.0/flyway-10.21.0/flyway: line 36: 12960 Trace/breakpoint trap   "$JAVA_CMD" $JAVA_ARGS "$EXTRA_ARGS" -cp "$CP" org.flywaydb.commandline.Main "$@"
      
      

———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 NX   Ran target flyway-migrate for 2 projects (1m)

   ✔  0/2 succeeded [0 read from cache]

   ✖  2/2 targets failed, including the following:

      - nx run webhook:flyway-migrate
      - nx run server:flyway-migrate

 Hint: Try "nx view-logs" to get structured, searchable errors logs in your browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants