Suite fails when generating angular front-end in microservice solution
Steps to produce:
abp new Test -t microservice-pro -u angular -csf
I've reverted Cli and Suite to 7.3.3 and confirmed that this sequence works correctly in the previous version.
This is the suite log output showing the error:
2023-10-21 18:18:10.157 +01:00 [INF] 1/14 - EntityGenerateCommand started...
2023-10-21 18:18:12.449 +01:00 [INF] 1/14 - EntityGenerateCommand completed. | Duration: 2287 ms.
2023-10-21 18:18:12.449 +01:00 [INF] 2/14 - RepositoryCommand started...
2023-10-21 18:18:12.583 +01:00 [INF] 2/14 - RepositoryCommand completed. | Duration: 134 ms.
2023-10-21 18:18:12.583 +01:00 [INF] 3/14 - ManagerCommand started...
2023-10-21 18:18:12.625 +01:00 [INF] 3/14 - ManagerCommand completed. | Duration: 41 ms.
2023-10-21 18:18:12.625 +01:00 [INF] 4/14 - AppServiceCommand started...
2023-10-21 18:18:18.596 +01:00 [INF] 4/14 - AppServiceCommand completed. | Duration: 5970 ms.
2023-10-21 18:18:18.596 +01:00 [INF] 5/14 - ProxyControllerCommand started...
2023-10-21 18:18:18.627 +01:00 [INF] 5/14 - ProxyControllerCommand completed. | Duration: 31 ms.
2023-10-21 18:18:18.627 +01:00 [INF] 6/14 - PermissionCommand started...
2023-10-21 18:18:18.677 +01:00 [INF] 6/14 - PermissionCommand completed. | Duration: 49 ms.
2023-10-21 18:18:18.677 +01:00 [INF] 7/14 - ApplicationObjectMappingCommand started...
2023-10-21 18:18:18.692 +01:00 [INF] 7/14 - ApplicationObjectMappingCommand completed. | Duration: 14 ms.
2023-10-21 18:18:18.692 +01:00 [INF] 8/14 - UnitTestCommandCommand started...
2023-10-21 18:18:18.762 +01:00 [INF] 8/14 - UnitTestCommandCommand completed. | Duration: 70 ms.
2023-10-21 18:18:18.762 +01:00 [INF] 9/14 - GenerateProxyCommand started...
2023-10-21 18:18:18.814 +01:00 [INF] 9/14 - GenerateProxyCommand completed. | Duration: 52 ms.
2023-10-21 18:18:18.815 +01:00 [INF] 10/14 - MvcUiGenerateCommand started...
2023-10-21 18:18:19.016 +01:00 [INF] 10/14 - MvcUiGenerateCommand completed. | Duration: 201 ms.
2023-10-21 18:18:19.016 +01:00 [INF] 11/14 - MvcObjectMappingCommand started...
2023-10-21 18:18:19.035 +01:00 [INF] 11/14 - MvcObjectMappingCommand completed. | Duration: 19 ms.
2023-10-21 18:18:19.035 +01:00 [INF] 12/14 - MvcMenuContributorCommand started...
2023-10-21 18:18:19.101 +01:00 [INF] 12/14 - MvcMenuContributorCommand completed. | Duration: 65 ms.
2023-10-21 18:18:19.101 +01:00 [INF] 13/14 - AngularUiGenerateWithSchematicsCommand started...
2023-10-21 18:18:51.525 +01:00 [INF] Running the Angular Schematics command:
node run-schematics.mjs '/Users/ashjackson/Git/cloudbiz-so/Test/apps/angular/.suite/schematics/node_modules/.bin/ng' g '.suite/schematics/collection.json:entity' microservice-pro Test.ProductService '/Users/ashjackson/Git/cloudbiz-so/Test/services/product/.suite/entities/Sku.json' '/Users/ashjackson/Git/cloudbiz-so/Test/apps/angular'
2023-10-21 18:18:56.009 +01:00 [INF] Angular Schematics command failed.
/Users/ashjackson/Git/cloudbiz-so/Test/apps/angular/.suite/schematics/node_modules/execa/lib/error.js:60
error = new Error(message);
^
Error: Command failed with exit code 1: .suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template microservice-pro --target Test.ProductService --source /Users/ashjackson/Git/cloudbiz-so/Test/services/product/.suite/entities/Sku.json
[Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace.
at makeError (/Users/ashjackson/Git/cloudbiz-so/Test/apps/angular/.suite/schematics/node_modules/execa/lib/error.js:60:11)
at handlePromise (/Users/ashjackson/Git/cloudbiz-so/Test/apps/angular/.suite/schematics/node_modules/execa/index.js:118:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///Users/ashjackson/Git/cloudbiz-so/Test/apps/angular/.suite/schematics/run-schematics.mjs:6:20 {
shortMessage: 'Command failed with exit code 1: .suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template microservice-pro --target Test.ProductService --source /Users/ashjackson/Git/cloudbiz-so/Test/services/product/.suite/entities/Sku.json',
command: '.suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template microservice-pro --target Test.ProductService --source /Users/ashjackson/Git/cloudbiz-so/Test/services/product/.suite/entities/Sku.json',
escapedCommand: '".suite/schematics/node_modules/.bin/ng" g ".suite/schematics/collection.json:entity" --template microservice-pro --target Test.ProductService --source "/Users/ashjackson/Git/cloudbiz-so/Test/services/product/.suite/entities/Sku.json"',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: '[Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace.',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
Node.js v18.17.1
2023-10-21 18:18:56.025 +01:00 [INF] 13/14 - AngularUiGenerateWithSchematicsCommand completed. | Duration: 36923 ms.
Hi There,
ABP Suite does not work correctly in Firefox on MacOS. When navigating between the tabs of the entity creation dialog all entered data is lost on the previous tab. I've tested in Safari, Chrome & Edge and they are all fine, this only happens to firefox.
Kind Regards, AJ.
Hi There, I have re-generated the solution, and the problem is solved. It is not clear how this is any different that before, so for now I will close the ticket as it looks like it may have been a one-off error when abp-new was running the first time.
Hi There, Please see package.json:
{
"name": "CloudBiz",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --open",
"build": "ng build",
"build:prod": "ng build product --configuration production && ng build CloudBiz --configuration production ",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"lint": "ng lint"
},
"private": true,
"dependencies": {
"@abp/ng.components": "~7.2.2",
"@abp/ng.core": "~7.2.2",
"@abp/ng.oauth": "~7.2.2",
"@abp/ng.setting-management": "~7.2.2",
"@abp/ng.theme.shared": "~7.2.2",
"@angular/animations": "^15.0.4",
"@angular/common": "^15.0.4",
"@angular/compiler": "^15.0.4",
"@angular/core": "^15.0.4",
"@angular/forms": "^15.0.4",
"@angular/localize": "^15.0.4",
"@angular/platform-browser": "^15.0.4",
"@angular/platform-browser-dynamic": "^15.0.4",
"@angular/router": "^15.0.4",
"@volo/abp.commercial.ng.ui": "~7.2.2",
"@volo/abp.ng.account": "~7.2.2",
"@volo/abp.ng.audit-logging": "~7.2.2",
"@volo/abp.ng.identity": "~7.2.2",
"@volo/abp.ng.openiddictpro": "~7.2.2",
"@volo/abp.ng.language-management": "~7.2.2",
"@volo/abp.ng.saas": "~7.2.2",
"@volo/abp.ng.text-template-management": "~7.2.2",
"@volosoft/abp.ng.theme.lepton-x": "^2.0.0",
"rxjs": "7.5.6",
"tslib": "^2.1.0",
"zone.js": "~0.11.4",
"apexcharts": "^3.39.0",
"ng-apexcharts": "^1.7.5"
},
"devDependencies": {
"@abp/ng.schematics": "~7.2.2",
"@angular-devkit/build-angular": "^15.0.4",
"@angular-eslint/builder": "~15.1.0",
"@angular-eslint/eslint-plugin": "~15.1.0",
"@angular-eslint/eslint-plugin-template": "~15.1.0",
"@angular-eslint/schematics": "~15.1.0",
"@angular-eslint/template-parser": "~15.1.0",
"@angular/cli": "^15.0.4",
"@angular/compiler-cli": "^15.0.4",
"@angular/language-service": "^15.0.4",
"@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"eslint": "^8.28.0",
"jasmine-core": "~4.0.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.1.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.7.0",
"ng-packagr": "^15.0.3",
"typescript": "~4.8.3"
}
}
Hi ash.jackson, Is your problem solved ? I was able to resolve by removing my node_modules folder and re-running yarn install / abp install-libs. I could not tell why re-running yarn install after the update did not work. Everything is working again now, thankyou.
AJ.
EDIT I solved this by completely removing node_modules, yarn lock etc and re-running yarn install from scratch. Not sure why this was requried this time.
ABP Ver = 7.2.1 UI = Angular Template = Microservice template
Hi There, After updating to from 7.0.1 to 7.2.1 I am getting the following error when building angular:
./node_modules/@volo/abp.ng.identity/fesm2020/volo-abp.ng.identity.mjs:3255:245-262 - Error: export 'NgbNavItemRole' (imported as 'i8') was not found in '@ng-bootstrap/ng-bootstrap' (possible exports: ModalDismissReasons, NgbAccordion, NgbAccordionConfig, NgbAccordionModule, NgbActiveModal, NgbActiveOffcanvas, NgbAlert, NgbAlertConfig, NgbAlertModule, NgbCalendar, NgbCalendarBuddhist, NgbCalendarGregorian, NgbCalendarHebrew, NgbCalendarIslamicCivil, NgbCalendarIslamicUmalqura, NgbCalendarPersian, NgbCarousel, NgbCarouselConfig, NgbCarouselModule, NgbCollapse, NgbCollapseConfig, NgbCollapseModule, NgbConfig, NgbDate, NgbDateAdapter, NgbDateNativeAdapter, NgbDateNativeUTCAdapter, NgbDateParserFormatter, NgbDateStructAdapter, NgbDatepicker, NgbDatepickerConfig, NgbDatepickerContent, NgbDatepickerI18n, NgbDatepickerI18nDefault, NgbDatepickerI18nHebrew, NgbDatepickerKeyboardService, NgbDatepickerModule, NgbDatepickerMonth, NgbDropdown, NgbDropdownAnchor, NgbDropdownConfig, NgbDropdownItem, NgbDropdownMenu, NgbDropdownModule, NgbDropdownToggle, NgbHighlight, NgbInputDatepicker, NgbInputDatepickerConfig, NgbModal, NgbModalConfig, NgbModalModule, NgbModalRef, NgbModule, NgbNav, NgbNavConfig, NgbNavContent, NgbNavItem, NgbNavLink, NgbNavModule, NgbNavOutlet, NgbNavPane, NgbNavbar, NgbOffcanvas, NgbOffcanvasConfig, NgbOffcanvasModule, NgbOffcanvasRef, NgbPagination, NgbPaginationConfig, NgbPaginationEllipsis, NgbPaginationFirst, NgbPaginationLast, NgbPaginationModule, NgbPaginationNext, NgbPaginationNumber, NgbPaginationPages, NgbPaginationPrevious, NgbPanel, NgbPanelContent, NgbPanelHeader, NgbPanelTitle, NgbPanelToggle, NgbPopover, NgbPopoverConfig, NgbPopoverModule, NgbProgressbar, NgbProgressbarConfig, NgbProgressbarModule, NgbRating, NgbRatingConfig, NgbRatingModule, NgbSlide, NgbSlideEventDirection, NgbSlideEventSource, NgbTimeAdapter, NgbTimepicker, NgbTimepickerConfig, NgbTimepickerI18n, NgbTimepickerModule, NgbToast, NgbToastConfig, NgbToastHeader, NgbToastModule, NgbTooltip, NgbTooltipConfig, NgbTooltipModule, NgbTypeahead, NgbTypeaheadConfig, NgbTypeaheadModule, OffcanvasDismissReasons)
./node_modules/@volo/abp.ng.identity/fesm2020/volo-abp.ng.identity.mjs:3255:279-296 - Error: export 'NgbNavLinkBase' (imported as 'i8') was not found in '@ng-bootstrap/ng-bootstrap' (possible exports: ModalDismissReasons, NgbAccordion, NgbAccordionConfig, NgbAccordionModule, NgbActiveModal, NgbActiveOffcanvas, NgbAlert, NgbAlertConfig, NgbAlertModule, NgbCalendar, NgbCalendarBuddhist, NgbCalendarGregorian, NgbCalendarHebrew, NgbCalendarIslamicCivil, NgbCalendarIslamicUmalqura, NgbCalendarPersian, NgbCarousel, NgbCarouselConfig, NgbCarouselModule, NgbCollapse, NgbCollapseConfig, NgbCollapseModule, NgbConfig, NgbDate, NgbDateAdapter, NgbDateNativeAdapter, NgbDateNativeUTCAdapter, NgbDateParserFormatter, NgbDateStructAdapter, NgbDatepicker, NgbDatepickerConfig, NgbDatepickerContent, NgbDatepickerI18n, NgbDatepickerI18nDefault, NgbDatepickerI18nHebrew, NgbDatepickerKeyboardService, NgbDatepickerModule, NgbDatepickerMonth, NgbDropdown, NgbDropdownAnchor, NgbDropdownConfig, NgbDropdownItem, NgbDropdownMenu, NgbDropdownModule, NgbDropdownToggle, NgbHighlight, NgbInputDatepicker, NgbInputDatepickerConfig, NgbModal, NgbModalConfig, NgbModalModule, NgbModalRef, NgbModule, NgbNav, NgbNavConfig, NgbNavContent, NgbNavItem, NgbNavLink, NgbNavModule, NgbNavOutlet, NgbNavPane, NgbNavbar, NgbOffcanvas, NgbOffcanvasConfig, NgbOffcanvasModule, NgbOffcanvasRef, NgbPagination, NgbPaginationConfig, NgbPaginationEllipsis, NgbPaginationFirst, NgbPaginationLast, NgbPaginationModule, NgbPaginationNext, NgbPaginationNumber, NgbPaginationPages, NgbPaginationPrevious, NgbPanel, NgbPanelContent, NgbPanelHeader, NgbPanelTitle, NgbPanelToggle, NgbPopover, NgbPopoverConfig, NgbPopoverModule, NgbProgressbar, NgbProgressbarConfig, NgbProgressbarModule, NgbRating, NgbRatingConfig, NgbRatingModule, NgbSlide, NgbSlideEventDirection, NgbSlideEventSource, NgbTimeAdapter, NgbTimepicker, NgbTimepickerConfig, NgbTimepickerI18n, NgbTimepickerModule, NgbToast, NgbToastConfig, NgbToastHeader, NgbToastModule, NgbTooltip, NgbTooltipConfig, NgbTooltipModule, NgbTypeahead, NgbTypeaheadConfig, NgbTypeaheadModule, OffcanvasDismissReasons)
./node_modules/@volo/abp.ng.saas/fesm2020/volo-abp.ng.saas.mjs:1826:753-771 - Error: export 'NgbNavItemRole' (imported as 'i11') was not found in '@ng-bootstrap/ng-bootstrap' (possible exports: ModalDismissReasons, NgbAccordion, NgbAccordionConfig, NgbAccordionModule, NgbActiveModal, NgbActiveOffcanvas, NgbAlert, NgbAlertConfig, NgbAlertModule, NgbCalendar, NgbCalendarBuddhist, NgbCalendarGregorian, NgbCalendarHebrew, NgbCalendarIslamicCivil, NgbCalendarIslamicUmalqura, NgbCalendarPersian, NgbCarousel, NgbCarouselConfig, NgbCarouselModule, NgbCollapse, NgbCollapseConfig, NgbCollapseModule, NgbConfig, NgbDate, NgbDateAdapter, NgbDateNativeAdapter, NgbDateNativeUTCAdapter, NgbDateParserFormatter, NgbDateStructAdapter, NgbDatepicker, NgbDatepickerConfig, NgbDatepickerContent, NgbDatepickerI18n, NgbDatepickerI18nDefault, NgbDatepickerI18nHebrew, NgbDatepickerKeyboardService, NgbDatepickerModule, NgbDatepickerMonth, NgbDropdown, NgbDropdownAnchor, NgbDropdownConfig, NgbDropdownItem, NgbDropdownMenu, NgbDropdownModule, NgbDropdownToggle, NgbHighlight, NgbInputDatepicker, NgbInputDatepickerConfig, NgbModal, NgbModalConfig, NgbModalModule, NgbModalRef, NgbModule, NgbNav, NgbNavConfig, NgbNavContent, NgbNavItem, NgbNavLink, NgbNavModule, NgbNavOutlet, NgbNavPane, NgbNavbar, NgbOffcanvas, NgbOffcanvasConfig, NgbOffcanvasModule, NgbOffcanvasRef, NgbPagination, NgbPaginationConfig, NgbPaginationEllipsis, NgbPaginationFirst, NgbPaginationLast, NgbPaginationModule, NgbPaginationNext, NgbPaginationNumber, NgbPaginationPages, NgbPaginationPrevious, NgbPanel, NgbPanelContent, NgbPanelHeader, NgbPanelTitle, NgbPanelToggle, NgbPopover, NgbPopoverConfig, NgbPopoverModule, NgbProgressbar, NgbProgressbarConfig, NgbProgressbarModule, NgbRating, NgbRatingConfig, NgbRatingModule, NgbSlide, NgbSlideEventDirection, NgbSlideEventSource, NgbTimeAdapter, NgbTimepicker, NgbTimepickerConfig, NgbTimepickerI18n, NgbTimepickerModule, NgbToast, NgbToastConfig, NgbToastHeader, NgbToastModule, NgbTooltip, NgbTooltipConfig, NgbTooltipModule, NgbTypeahead, NgbTypeaheadConfig, NgbTypeaheadModule, OffcanvasDismissReasons)
./node_modules/@volo/abp.ng.saas/fesm2020/volo-abp.ng.saas.mjs:1826:789-807 - Error: export 'NgbNavLinkBase' (imported as 'i11') was not found in '@ng-bootstrap/ng-bootstrap' (possible exports: ModalDismissReasons, NgbAccordion, NgbAccordionConfig, NgbAccordionModule, NgbActiveModal, NgbActiveOffcanvas, NgbAlert, NgbAlertConfig, NgbAlertModule, NgbCalendar, NgbCalendarBuddhist, NgbCalendarGregorian, NgbCalendarHebrew, NgbCalendarIslamicCivil, NgbCalendarIslamicUmalqura, NgbCalendarPersian, NgbCarousel, NgbCarouselConfig, NgbCarouselModule, NgbCollapse, NgbCollapseConfig, NgbCollapseModule, NgbConfig, NgbDate, NgbDateAdapter, NgbDateNativeAdapter, NgbDateNativeUTCAdapter, NgbDateParserFormatter, NgbDateStructAdapter, NgbDatepicker, NgbDatepickerConfig, NgbDatepickerContent, NgbDatepickerI18n, NgbDatepickerI18nDefault, NgbDatepickerI18nHebrew, NgbDatepickerKeyboardService, NgbDatepickerModule, NgbDatepickerMonth, NgbDropdown, NgbDropdownAnchor, NgbDropdownConfig, NgbDropdownItem, NgbDropdownMenu, NgbDropdownModule, NgbDropdownToggle, NgbHighlight, NgbInputDatepicker, NgbInputDatepickerConfig, NgbModal, NgbModalConfig, NgbModalModule, NgbModalRef, NgbModule, NgbNav, NgbNavConfig, NgbNavContent, NgbNavItem, NgbNavLink, NgbNavModule, NgbNavOutlet, NgbNavPane, NgbNavbar, NgbOffcanvas, NgbOffcanvasConfig, NgbOffcanvasModule, NgbOffcanvasRef, NgbPagination, NgbPaginationConfig, NgbPaginationEllipsis, NgbPaginationFirst, NgbPaginationLast, NgbPaginationModule, NgbPaginationNext, NgbPaginationNumber, NgbPaginationPages, NgbPaginationPrevious, NgbPanel, NgbPanelContent, NgbPanelHeader, NgbPanelTitle, NgbPanelToggle, NgbPopover, NgbPopoverConfig, NgbPopoverModule, NgbProgressbar, NgbProgressbarConfig, NgbProgressbarModule, NgbRating, NgbRatingConfig, NgbRatingModule, NgbSlide, NgbSlideEventDirection, NgbSlideEventSource, NgbTimeAdapter, NgbTimepicker, NgbTimepickerConfig, NgbTimepickerI18n, NgbTimepickerModule, NgbToast, NgbToastConfig, NgbToastHeader, NgbToastModule, NgbTooltip, NgbTooltipConfig, NgbTooltipModule, NgbTypeahead, NgbTypeaheadConfig, NgbTypeaheadModule, OffcanvasDismissReasons)
(There are many more like this, but they all reference to 'NgbNav<something>')
My package references are as follows:
"dependencies": {
"@abp/ng.components": "~7.2.1",
"@abp/ng.core": "~7.2.1",
"@abp/ng.oauth": "~7.2.1",
"@abp/ng.setting-management": "~7.2.1",
"@abp/ng.theme.shared": "~7.2.1",
"@angular/animations": "^15.0.4",
"@angular/common": "^15.0.4",
"@angular/compiler": "^15.0.4",
"@angular/core": "^15.0.4",
"@angular/forms": "^15.0.4",
"@angular/localize": "^15.0.4",
"@angular/platform-browser": "^15.0.4",
"@angular/platform-browser-dynamic": "^15.0.4",
"@angular/router": "^15.0.4",
"@volo/abp.commercial.ng.ui": "~7.2.1",
"@volo/abp.ng.account": "~7.2.1",
"@volo/abp.ng.audit-logging": "~7.2.1",
"@volo/abp.ng.identity": "~7.2.1",
"@volo/abp.ng.openiddictpro": "~7.2.1",
"@volo/abp.ng.language-management": "~7.2.1",
"@volo/abp.ng.saas": "~7.2.1",
"@volo/abp.ng.text-template-management": "~7.2.1",
"@volosoft/abp.ng.theme.lepton-x": "^2.0.0",
"rxjs": "7.5.6",
"tslib": "^2.1.0",
"zone.js": "~0.11.4",
"apexcharts": "^3.39.0",
"ng-apexcharts": "^1.7.5"
},
"devDependencies": {
"@abp/ng.schematics": "~7.2.1",
"@angular-devkit/build-angular": "^15.0.4",
"@angular-eslint/builder": "~15.1.0",
"@angular-eslint/eslint-plugin": "~15.1.0",
"@angular-eslint/eslint-plugin-template": "~15.1.0",
"@angular-eslint/schematics": "~15.1.0",
"@angular-eslint/template-parser": "~15.1.0",
"@angular/cli": "^15.0.4",
"@angular/compiler-cli": "^15.0.4",
"@angular/language-service": "^15.0.4",
"@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"eslint": "^8.28.0",
"jasmine-core": "~4.0.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.1.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.7.0",
"ng-packagr": "^15.0.3",
"typescript": "~4.8.3"
}
Hi,
This has worked perfectly, thankyou.
If anyone else is looking to do this then this site https://gwfh.mranftl.com/fonts/inter?subsets=latin
Allows easy packaging and CSS generation for local hosting of fonts.
This has solved the issue - I should also add that Suite did not add MyService to environment.ts at all, I did that part manually as part of adding the module to my microservice solution.
environment.ts:
import { Environment } from '@abp/ng.core';
const baseUrl = 'http://localhost:4200';
const oAuthConfig = {
issuer: 'https://localhost:44322/',
redirectUri: baseUrl,
clientId: 'Angular',
responseType: 'code',
scope:
'offline_access openid profile email phone AccountService IdentityService AdministrationService SaasService ProductService MyService',
requireHttps: true,
};
export const environment = {
production: false,
application: {
baseUrl,
name: 'CloudBiz',
},
oAuthConfig,
apis: {
default: {
url: 'https://localhost:44325',
rootNamespace: 'CloudBiz',
},
AbpAccountPublic: {
url: oAuthConfig.issuer,
rootNamespace: 'AbpAccountPublic',
},
ProductService: {
url: 'https://localhost:44325',
rootNamespace: 'CloudBiz',
},
MyService: {
url: 'https://localhost:44325',
rootNamespace: 'CloudBiz',
},
},
} as Environment;
Was the project's abp version 6.0.2 when you created it, or did you upgrade it from an older version? If so, have you build the project after the upgrage?
Hi There,
When upgrading from 6.0.1 after the following steps the suite generation now works 👍
app update
Thanks, AJ.