Activities of "agawdat@vlenseg.com"

I found this error:

2023-02-27 16:07:42.445 +02:00 [INF] Running the Angular Schematics command: node run-schematics.mjs "E:/Vlens/Vlens.Kyc/code/apps/angular/.suite/schematics/node_modules/.bin/ng" g ".suite/schematics/collection.json:entity" microservice-pro Vlens.Kyc.ScanTransactionService "E:/Vlens/Vlens.Kyc/code/services/scanTransaction/.suite/entities/ScanTransaction.json" "E:/Vlens/Vlens.Kyc/code/apps/angular" 2023-02-27 16:07:42.681 +02:00 [INF] Angular Schematics command failed. file:///E:/Vlens/Vlens.Kyc/code/apps/angular/.suite/schematics/run-schematics.mjs:1 import { execa } from "execa"; ^^^^^ SyntaxError: Named export 'execa' not found. The requested module 'execa' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using:

import pkg from 'execa'; const { execa } = pkg;

at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)

Node.js v18.13.0

2023-02-27 16:07:42.696 +02:00 [INF] 10/11 - AngularUiGenerateWithSchematicsCommand completed. | Duration: 270 ms.

You mean in the console window? No errors, and even no mention to Angular or UI in the logs. I just get in abp suite page itself that Creating Angular UI is completed as per the below screenshot.

I checked the mentioned appsettings.json file and the root path is correct, and I tried several times with the same result: No forntend code is generated. Is it correct that I should load only the service solution in abp suite? And if so, what else could be the issue?

I have the microservice template with Angular as frontend. I created a new service, then I need to add a new entity with its UI in the frontend. I tried to open the whole solution in abp suite but I couldn't, so I added my new service solution, and created a new entity, but only the backend code was created, no frontend.

How can I generate the frontend for an entity in a service in a microservice solution?

ABP Framework version: v7.0.2 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes

I see that the document is updated. Thank you, I will close the issue.

I finally got it working, and guess what, the problem is in your documentation. I should run “run-tye.ps1” to run tye, while in the documentation there is no mention to this file, what it says to to run tye: "Use the command tye run under your main solution directory to run the solution." It is clear now that these are not the same as there are more to execute when running the script than just running tye run command.

https://docs.abp.io/en/commercial/latest/startup-templates/microservice/tye-integration#running-tye

I am using the microservice template and I am unable to connect to redis, which is running properly in docker image and I can connect to it and ping from CLI. When running the auth server with the default configuration "localhost:6379" I get the "It was not possible to connect to the redis server(s)" exception. I tried all the solutions mentioned in the support forum and in StackExchange.Redis and nothing works. I changed the configuration to "localhost:6379,abortConnect=false,connectTimeout=30000,responseTimeout=30000" and then I get "SocketException: An existing connection was forcibly closed by the remote host" exception

Please I need urgent help here as this is a blocking issue and I can't get the solution running at all while I followed all the steps perfectly, so purchasing it makes no sense while it can't even run as is with all the defaults without changing a line of code.

Exception with default configuration:

SocketException: An existing connection was forcibly closed by the remote host. Pipelines.Sockets.Unofficial.Internal.Throw.Socket(int errorCode) in Throw.cs, line 59

ConnectionResetException: An existing connection was forcibly closed by the remote host. System.IO.Pipelines.Pipe.GetReadResult(out ReadResult result)

RedisConnectionException: SocketFailure (ReadSocketError/ConnectionReset, 0-read, last-recv: 0) on localhost:6379/Interactive, Flushed/Faulted, last: ECHO, origin: ReadFromPipe, outstanding: 8, last-read: 0s ago, last-write: 0s ago, keep-alive: 60s, state: ConnectedEstablishing, mgr: 9 of 10 available, last-heartbeat: never, global: 1s ago, v: 2.2.4.27433 StackExchange.Redis.TaskExtensions.TimeoutAfter(Task task, int timeoutMs) in TaskExtensions.cs, line 48

RedisConnectionException: No connection is active/available to service this operation: LRANGE Kyc-Protection-Keys; An existing connection was forcibly closed by the remote host., mc: 1/1/0, mgr: 10 of 10 available, clientName: DESKTOP-BN90G5M, IOCP: (Busy=0,Free=1000,Min=1,Max=1000), WORKER: (Busy=2,Free=32765,Min=8,Max=32767), v: 2.2.4.27433 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl<T>(Message message, ResultProcessor<T> processor, ServerEndPoint server) in ConnectionMultiplexer.cs, line 2798

CryptographicException: An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information. For more information go to http://aka.ms/dataprotectionwarning Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(byte[] plaintext)

Exception with modified configuration:

[auth-server_a85ff5d8-2]: ---> StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s). [auth-server_a85ff5d8-2]: at StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(ConfigurationOptions configuration, TextWriter log) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 1163 [auth-server_a85ff5d8-2]: at StackExchange.Redis.ConnectionMultiplexer.Connect(ConfigurationOptions configuration, TextWriter log) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 1032 [auth-server_a85ff5d8-2]: at StackExchange.Redis.ConnectionMultiplexer.Connect(String configuration, TextWriter log) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 1015 [auth-server_a85ff5d8-2]: at Vlens.Kyc.AuthServer.KycAuthServerModule.ConfigureServices(ServiceConfigurationContext context) in E:\Vlens\Vlens.Kyc\Code\apps\auth-server\src\Vlens.Kyc.AuthServer\KycAuthServerModule.cs:line 139 [auth-server_a85ff5d8-2]: at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context) [auth-server_a85ff5d8-2]: at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()

  • ABP Framework version: v7.0.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
Showing 1 to 8 of 8 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11