Activities of "ghadage70@gmail.com"

Hi again, can you please send me your example project for the re-produce error exactly ? You can send to masum.ulu@volosoft.com mail

Hi Masum,

  1. Its a generic issue. Create a new project using latest ABP Studio microservice template.

    • ABP Framework version: v8.3.0
    • UI Type: Angular
    • Database System: EF Core (SQL Server)
    • UI Theme: LeptonX

After Creation new microservice project 2. Create new packages folder under angular folder and add some of npm packages source code.

  1. Now replace npm packages to with source code of packages folder and remove that packages from package.json

  2. Define this libraries to **angular.json > projects ** section and add to tsconfig.json > paths section as library as you mentoned in previous comments.

  3. Replace the css styles will local projects references in angular.json

  4. Try to build and run the solution

You can share the project with me on ghadage70@gmail.com

Getting error after connect to local libraries. please help me to get it resolved as soon as possible as we completely block

Project Folder Structure:

Root angular.json "projects": { "core-banking": { "projectType": "application", "schematics": { "@schematics/angular:component": { "style": "scss" }, "@schematics/angular:application": { "strict": true } }, "root": "projects/core-banking", "sourceRoot": "projects/core-banking/src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:browser", "options": { "outputPath": "dist/core-banking", "index": "projects/core-banking/src/index.html", "main": "projects/core-banking/src/main.ts", "polyfills": "projects/core-banking/src/polyfills.ts", "tsConfig": "projects/core-banking/tsconfig.app.json", "inlineStyleLanguage": "scss", "allowedCommonJsDependencies": [ "@ant-design/colors", "chart.js", "js-sha256", "@uppy/xhr-upload", "@uppy/dashboard", "@uppy/core" ], "assets": [ "projects/core-banking/src/favicon.ico", "projects/core-banking/src/assets" ], "styles": [ { "input": "node_modules/@swimlane/ngx-datatable/index.css", "inject": true, "bundleName": "ngx-datatable-index" }, { "input": "node_modules/@swimlane/ngx-datatable/assets/icons.css", "inject": true, "bundleName": "ngx-datatable-icons" }, { "input": "node_modules/@swimlane/ngx-datatable/themes/material.css", "inject": true, "bundleName": "ngx-datatable-material" }, { "input": "node_modules/@fortawesome/fontawesome-free/css/all.min.css", "inject": true, "bundleName": "fontawesome-all.min" }, { "input": "node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css", "inject": true, "bundleName": "fontawesome-v4-shims.min" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/font-bundle.css", "inject": false, "bundleName": "font-bundle" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/font-bundle.rtl.css", "inject": false, "bundleName": "font-bundle.rtl" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/dark.css", "inject": false, "bundleName": "dark" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/light.css", "inject": false, "bundleName": "light" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/dim.css", "inject": false, "bundleName": "dim" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dim.css", "inject": false, "bundleName": "bootstrap-dim" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dark.css", "inject": false, "bundleName": "bootstrap-dark" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-light.css", "inject": false, "bundleName": "bootstrap-light" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/ng-bundle.css", "inject": false, "bundleName": "ng-bundle" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/side-menu/layout-bundle.css", "inject": false, "bundleName": "layout-bundle" }, { "input": "node_modules/@volosoft/abp.ng.theme.lepton-x/assets/css/abp-bundle.css", "inject": false, "bundleName": "abp-bundle" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/dark.rtl.css", "inject": false, "bundleName": "dark.rtl" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/light.rtl.css", "inject": false, "bundleName": "light.rtl" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/dim.rtl.css", "inject": false, "bundleName": "dim.rtl" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dim.rtl.css", "inject": false, "bundleName": "bootstrap-dim.rtl" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-dark.rtl.css", "inject": false, "bundleName": "bootstrap-dark.rtl" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/bootstrap-light.rtl.css", "inject": false, "bundleName": "bootstrap-light.rtl" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/ng-bundle.rtl.css", "inject": false, "bundleName": "ng-bundle.rtl" }, { "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/side-menu/layout-bundle.rtl.css", "inject": false, "bundleName": "layout-bundle.rtl" }, { "input": "node_modules/@volosoft/abp.ng.theme.lepton-x/assets/css/abp-bundle.rtl.css", "inject": false, "bundleName": "abp-bundle.rtl" }, "node_modules/bootstrap-icons/font/bootstrap-icons.css", "projects/core-banking/src/styles.scss", "node_modules/bootstrap-icons/font/bootstrap-icons.css" ], "scripts": [] }, "configurations": { "production": { "budgets": [ { "type": "initial", "maximumWarning": "2mb", "maximumError": "2.5mb" }, { "type": "anyComponentStyle", "maximumWarning": "2kb", "maximumError": "100kb" } ], "fileReplacements": [ { "replace": "projects/core-banking/src/environments/environment.ts", "with": "projects/core-banking/src/environments/environment.prod.ts" } ], "outputHashing": "all" }, "development": { "buildOptimizer": false, "optimization": false, "vendorChunk": true, "extractLicenses": false, "sourceMap": true, "namedChunks": true } }, "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { "buildTarget": "core-banking:build:production" }, "development": { "buildTarget": "core-banking:build:development" } }, "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { "buildTarget": "core-banking:build" } }, "test": { "builder": "@angular-devkit/build-angular:karma", "options": { "main": "projects/core-banking/src/test.ts", "polyfills": "projects/core-banking/src/polyfills.ts", "tsConfig": "projects/core-banking/tsconfig.spec.json", "karmaConfig": "projects/core-banking/karma.conf.js", "inlineStyleLanguage": "scss", "assets": [ "projects/core-banking/src/favicon.ico", "projects/core-banking/src/assets" ], "styles": ["projects/core-banking/src/styles.scss"], "scripts": [] } }, "lint": { "builder": "@angular-eslint/builder:lint", "options": { "lintFilePatterns": [ "projects/core-banking/**/*.ts", "projects/core-banking/**/*.html" ] } } } }, "commercial-ui": { "projectType": "library", "root": "packages/commercial-ui", "sourceRoot": "packages/commercial-ui/src", "prefix": "abp", "architect": { "build": { "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "tsConfig": "packages/commercial-ui/tsconfig.lib.json", "project": "packages/commercial-ui/ng-package.json" }, "configurations": { "production": { "tsConfig": "packages/commercial-ui/tsconfig.lib.prod.json" } } }, "test": { "builder": "@angular-builders/jest:run", "options": { "coverage": true, "passWithNoTests": true } }, "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { "tsConfig": [ "packages/commercial-ui/tsconfig.lib.json", "packages/commercial-ui/tsconfig.spec.json" ], "exclude": ["**/node_modules/**"] } } } }, "lepton-x-core": { "projectType": "library", "root": "packages/lepton-x-core", "sourceRoot": "packages/lepton-x-core/src", "prefix": "abp", "architect": { "build": { "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "tsConfig": "packages/lepton-x-core/tsconfig.lib.json", "project": "packages/lepton-x-core/ng-package.json" }, "configurations": { "production": { "tsConfig": "packages/lepton-x-core/tsconfig.lib.prod.json" } } }, "test": { "builder": "@angular-builders/jest:run", "options": { "coverage": true, "passWithNoTests": true } }, "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { "tsConfig": [ "packages/lepton-x-core/tsconfig.lib.json", "packages/lepton-x-core/tsconfig.spec.json" ], "exclude": ["**/node_modules/**"] } } } }, "lepton-x": { "projectType": "library", "root": "packages/lepton-x", "sourceRoot": "packages/lepton-x/src", "prefix": "abp", "architect": { "build": { "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "tsConfig": "packages/lepton-x/tsconfig.lib.json", "project": "packages/lepton-x/ng-package.json" }, "configurations": { "production": { "tsConfig": "packages/lepton-x/tsconfig.lib.prod.json" } } }, "test": { "builder": "@angular-builders/jest:run", "options": { "coverage": true, "passWithNoTests": true } }, "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { "tsConfig": [ "packages/lepton-x/tsconfig.lib.json", "packages/lepton-x/tsconfig.spec.json" ], "exclude": ["**/node_modules/**"] } } } }, "lepton-x-abp-core": { "projectType": "library", "root": "packages/lepton-x-abp-core", "sourceRoot": "packages/lepton-x-abp-core/src", "prefix": "abp", "architect": { "build": { "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "tsConfig": "packages/lepton-x-abp-core/tsconfig.lib.json", "project": "packages/lepton-x-abp-core/ng-package.json" }, "configurations": { "production": { "tsConfig": "packages/lepton-x-abp-core/tsconfig.lib.prod.json" } } }, "test": { "builder": "@angular-builders/jest:run", "options": { "coverage": true, "passWithNoTests": true } }, "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { "tsConfig": [ "packages/lepton-x-abp-core/tsconfig.lib.json", "packages/lepton-x-abp-core/tsconfig.spec.json" ], "exclude": ["**/node_modules/**"] } } } }, "volo-lepton-x": { "projectType": "library", "root": "packages/volo-lepton-x", "sourceRoot": "packages/volo-lepton-x/src", "prefix": "abp", "architect": { "build": { "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "tsConfig": "packages/volo-lepton-x/tsconfig.lib.json", "project": "packages/volo-lepton-x/ng-package.json" }, "configurations": { "production": { "tsConfig": "packages/volo-lepton-x/tsconfig.lib.prod.json" } } }, "test": { "builder": "@angular-builders/jest:run", "options": { "coverage": true, "passWithNoTests": true } }, "lint": { "builder": "@angular-devkit/build-angular:tslint", "options": { "tsConfig": [ "packages/volo-lepton-x/tsconfig.lib.json", "packages/volo-lepton-x/tsconfig.spec.json" ], "exclude": ["**/node_modules/**"] } } } } },

Root tsconfig.json

Hi,

I'm interested in obtaining the source code for the all npm packages. I'd like to have access to all components and CSS code.

Since this seems to be compiled code, I'm assuming you have the original source available. If you're open to discussing this further, I'd be happy to connect over a call. As a reminder, I hold a commercial business license.

As i have downloaded the the packages using abp suite, unable to build packages again

Could you please help me wih that? give me example for build lepton-x package.

Thanks

Created duplicate support request mistakenly. please close this request and refend the suport ticket.

I am waiting for your response, this support ticket i hve created under business liecense.

Could you please help me with how I can create layer micro services in abp studio?

lets have call, as we are facing this issue from long time.

Sure, we can have a zoom meeting next Monday. my email is shiwei.liang@volosoft.com

I have created meeting for today on zoom, could you please join?

Hi,

Can you share the logs of the AdministrationService?

lets have call, as we are facing this issue from long time.

[administration-service_07060b18-3]: [14:46:44 INF] Request origin http://localhost:4200 does not have permission to access the resource. [administration-service_07060b18-3]: [14:46:44 INF] Executing endpoint 'Volo.Chat.Users.ContactController.GetContactsAsync (Volo.Chat.HttpApi)' [administration-service_07060b18-3]: [14:46:44 INF] Route matched with {area = "chat", action = "GetContacts", controller = "Contact", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[System.Collections.Generic.List1[Volo.Chat.Users.ChatContactDto]] GetContactsAsync(Volo.Chat.Users.GetContactsInput) on controller Volo.Chat.Users.ContactController (Volo.Chat.HttpApi). [administration-service_07060b18-3]: [14:46:44 INF] Executing action method Volo.Chat.Users.ContactController.GetContactsAsync (Volo.Chat.HttpApi) - Validation state: Valid [administration-service_07060b18-3]: [14:46:44 INF] Start processing HTTP request GET https://localhost:44322/.well-known/openid-configuration [administration-service_07060b18-3]: [14:46:44 INF] Sending HTTP request GET https://localhost:44322/.well-known/openid-configuration [administration-service_07060b18-3]: [14:46:44 INF] Received HTTP response headers after 6.7865ms - 200 [administration-service_07060b18-3]: [14:46:44 INF] End processing HTTP request after 7.084ms - 200 [administration-service_07060b18-3]: [14:46:44 INF] Start processing HTTP request GET https://localhost:44322/.well-known/jwks [administration-service_07060b18-3]: [14:46:44 INF] Sending HTTP request GET https://localhost:44322/.well-known/jwks [administration-service_07060b18-3]: [14:46:44 INF] Received HTTP response headers after 3.0377ms - 200 [administration-service_07060b18-3]: [14:46:44 INF] End processing HTTP request after 3.2607ms - 200 [administration-service_07060b18-3]: [14:46:44 INF] Start processing HTTP request POST https://localhost:44322/connect/token [administration-service_07060b18-3]: [14:46:44 INF] Sending HTTP request POST https://localhost:44322/connect/token [administration-service_07060b18-3]: [14:46:44 INF] Received HTTP response headers after 82.974ms - 200 [administration-service_07060b18-3]: [14:46:44 INF] End processing HTTP request after 83.1962ms - 200 [administration-service_07060b18-3]: [14:46:44 INF] Start processing HTTP request GET https://localhost:44388/integration-api/identity/users/d6610804-b933-351e-8575-3a11105c13c2/role-names?api-version=1.0 [administration-service_07060b18-3]: [14:46:44 INF] Sending HTTP request GET https://localhost:44388/integration-api/identity/users/d6610804-b933-351e-8575-3a11105c13c2/role-names?api-version=1.0 [administration-service_07060b18-3]: [14:46:44 INF] Received HTTP response headers after 20.1081ms - 200 [administration-service_07060b18-3]: [14:46:44 INF] End processing HTTP request after 20.3072ms - 200 [administration-service_07060b18-3]: [14:46:44 INF] Executed action method Volo.Chat.Users.ContactController.GetContactsAsync (Volo.Chat.HttpApi), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 170.8234ms. [administration-service_07060b18-3]: [14:46:44 INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List1[[Volo.Chat.Users.ChatContactDto, Volo.Chat.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [administration-service_07060b18-3]: [14:46:44 INF] Executed action Volo.Chat.Users.ContactController.GetContactsAsync (Volo.Chat.HttpApi) in 177.0692ms [administration-service_07060b18-3]: [14:46:44 INF] Executed endpoint 'Volo.Chat.Users.ContactController.GetContactsAsync (Volo.Chat.HttpApi)' [administration-service_07060b18-3]: [14:46:44 INF] CORS policy execution failed. [administration-service_07060b18-3]: [14:46:44 INF] Request origin http://localhost:4200 does not have permission to access the resource. [administration-service_07060b18-3]: [14:46:44 INF] Executing endpoint 'Volo.Chat.Conversations.ConversationController.GetConversationAsync (Volo.Chat.HttpApi)' [administration-service_07060b18-3]: [14:46:44 INF] Route matched with {area = "chat", action = "GetConversation", controller = "Conversation", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Volo.Chat.Conversations.ChatConversationDto] GetConversationAsync(Volo.Chat.Conversations.GetConversationInput) on controller Volo.Chat.Conversations.ConversationController (Volo.Chat.HttpApi). [administration-service_07060b18-3]: [14:46:44 INF] Executing action method Volo.Chat.Conversations.ConversationController.GetConversationAsync (Volo.Chat.HttpApi) - Validation state: Valid [administration-service_07060b18-3]: [14:46:44 INF] Executed action method Volo.Chat.Conversations.ConversationController.GetConversationAsync (Volo.Chat.HttpApi), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 103.5783ms. [administration-service_07060b18-3]: [14:46:44 INF] Executing ObjectResult, writing value of type 'Volo.Chat.Conversations.ChatConversationDto'. [administration-service_07060b18-3]: [14:46:44 INF] Executed action Volo.Chat.Conversations.ConversationController.GetConversationAsync (Volo.Chat.HttpApi) in 169.8128ms [administration-service_07060b18-3]: [14:46:44 INF] Executed endpoint 'Volo.Chat.Conversations.ConversationController.GetConversationAsync (Volo.Chat.HttpApi)'

I have already added same im yarp file still getting same issue.

You can esily repoduce this issue: Create a new microservice project with angular, ef core, sql using ABP Suite 8.0.4 Add chat module in Administration Service.

LOG:

[web-gateway_97bfe0c2-f]: [11:45:11 INF] Executing endpoint 'Chat' [web-gateway_97bfe0c2-f]: [11:45:11 INF] Proxying to https://localhost:44367/api/chat/contact/total-unread-message-count HTTP/2 RequestVersionOrLower no-streaming [web-gateway_97bfe0c2-f]: [11:45:11 INF] CORS policy execution successful. [web-gateway_97bfe0c2-f]: [11:45:11 INF] CORS policy execution successful. [web-gateway_97bfe0c2-f]: [11:45:11 INF] Executing endpoint 'ChatSignalr' [web-gateway_97bfe0c2-f]: [11:45:11 INF] Proxying to https://localhost:44367/signalr-hubs/chat/negotiate?negotiateVersion=1 HTTP/2 RequestVersionOrLower no-streaming [web-gateway_97bfe0c2-f]: [11:45:11 INF] Received HTTP/2.0 response 404. [web-gateway_97bfe0c2-f]: [11:45:11 INF] Executed endpoint 'ChatSignalr' [web-gateway_97bfe0c2-f]: [11:45:11 INF] Received HTTP/2.0 response 200. [web-gateway_97bfe0c2-f]: [11:45:11 INF] Executed endpoint 'Chat'

Showing 1 to 10 of 10 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13