Base solution for your next web application

Activities of "AuroraBMS"

Hi,

I tried that with both "yarn install" and also just "yarn".

Still get the same issue.

If I do this with 8.2.1 I do not experience any issues.

I have sent an email with a link to the project excluding the Node_modules.

Hi,

Any update on this?

I need to start working on this migration quite urgently.

Perfect! It works, thank you ismcagdas!

Hi Yekalkan,

I am also experiencing this issue and it seems that since 8.4 angular/core there has been many old issues popingup with generation:

Errors occuring in both core and angular after the new version was downloaded.

I have regenerated the entity with the power tools after changing the version, no difference in the results.

Just another thing to add.

After downloading 8.4 today most of the baove has been resolved as Power Tools seems to have been updated on the template.

There are still somet things that are giving issues.

One of them are relating to excel exporting.

I see that there is now a different package used for it: using BRM.DataExporting.Excel.NPOI; public class UserListExcelExporter : NpoiExcelExporterBase, IUserListExcelExporter

The problem with this is that the existing power tools still generate the files with: using BRM.DataExporting.Excel.EpPlus: public class TransactionDocumentListsExcelExporter : EpPlusExcelExporterBase, ITransactionDocumentListsExcelExporter

It is something that can be fixed as processed manually, just thought I would reference it here to let you guys know about it if not yet known.

And then the 2nd thing is compiling issues on angular:

i 「wdm」: Compiling... 70% building 152/152 modules 0 active ERROR in src/app/admin/admin.module.ts(8,10): error TS2724: Module '"C:/8.4.0---BRM-License/BRM 8.4.0/angular/node_modules/primeng/primeng"' has no exported member 'DataTableModule'. Did you mean 'TreeTableModule'? src/app/admin/systemSetup/transactionDocumentLists/transactionDocumentLists.component.ts(10,27): error TS2307: Cannot find module 'primeng/components/datatable/datatable'. src/app/admin/systemSetup/transactionDocumentLists/transactionDocumentLists.component.ts(55,18): error TS2339: Property 'primengDatatableHelper' does not exist on type 'TransactionDocumentListsComponent'. src/app/admin/systemSetup/transactionDocumentLists/transactionDocumentLists.component.ts(60,14): error TS2339: Property 'primengDatatableHelper' does not exist on type 'TransactionDocumentListsComponent'. src/app/admin/systemSetup/transactionDocumentLists/transactionDocumentLists.component.ts(72,18): error TS2339: Property 'primengDatatableHelper' does not exist on type 'TransactionDocumentListsComponent'. src/app/admin/systemSetup/transactionDocumentLists/transactionDocumentLists.component.ts(73,18): error TS2339: Property 'primengDatatableHelper' does not exist on type 'TransactionDocumentListsComponent'. src/app/admin/systemSetup/transactionDocumentLists/transactionDocumentLists.component.ts(74,18): error TS2339: Property 'primengDatatableHelper' does not exist on type 'TransactionDocumentListsComponent'. src/app/admin/systemSetup/transactionDocumentLists/transactionDocumentLists.component.ts(76,18): error TS2339: Property 'primengDatatableHelper' does not exist on type 'TransactionDocumentListsComponent'. src/app/admin/systemSetup/transactionDocumentLists/transactionDocumentLists.component.ts(77,18): error TS2339: Property 'primengDatatableHelper' does not exist on type 'TransactionDocumentListsComponent'. src/app/admin/systemSetup/transactionDocumentLists/transactionDocumentLists.component.ts(78,18): error TS2339: Property 'primengDatatableHelper' does not exist on type 'TransactionDocumentListsComponent'.

Date: 2020-04-03T18:55:01.835Z - Hash: 8bfb30d8bb110e72befc 1098 unchanged chunks chunk {main} main.js, main.js.map (main) 3.11 MB [initial] [rendered] Time: 7664ms

ERROR in ./node_modules/primeng/components/chart/chart.js Module not found: Error: Can't resolve 'chart.js' in 'C:\8.4.0---BRM-License\BRM 8.4.0\angular\node_modules\primeng\components\chart' ERROR in ./src/app/admin/systemSetup/transactionDocumentLists/transactionDocumentLists.component.ts Module not found: Error: Can't resolve 'primeng/components/datatable/datatable' in 'C:\8.4.0---BRM-License\BRM 8.4.0\angular\src\app\admin\systemSetup\transactionDocumentLists' i 「wdm」: Failed to compile.

Hi Guys,

Does anyone know where this referenced value is defined for the Power Tools generation Angular client side MainTemplate.txt: {DataTable_Import_Here}}{{TurboTable_Import_Here}};

As well as the segment that determines the below needs to be added because it is not there (It is not even part of the primeng package import { TableModule } from 'primeng/primeng';

Basically what is happening is everything relating to TableModule is generated as DataTableModule and this causes a ton of extra work just to fix it after every generation.

@ANZ Team - This might sound a bit rude, but can you please before a release Generate a new application, create a basic table and generate screens, run the application and test if power tools works correctly as this seems to be a regular occurance that something that should not be there is in the powertools app.

# List of issues:

Power Tools - DataTable not referencing TableModule and related primengDatatableHelper which should be primengTableHelper (based on version 8.2.1 Chart.js - This suddenly started making a comeback as an error when starting the template initially - quick fix but annoying if you constantly get a new version of the template from the downloaded zip and start working on it. Main-Module - Table issue with power tools as well. EpExportExcel - for excel being changed to Npoi and not updating the generation for export to export to excel with the correct create sheet paths and removing styling which is generated by the power tools as well for the sheet. ~~Entity Tracking - 8.4 suddenly does not support entity tracking anymore at all~~.** - I see this is in another post.

If the communtiy knows of a quick fix around this that is maybe config in Power Tools that can resolve this it would be greatly appreciated if it can be commented here if it is in the non-user code for Power Tools then I guess we will have to wait for a fix.**

Thanks, Aurora-BMS

Hi ismcagdas,

Apologies, where on Github should I log this?

More Errors in 8.5.0 and also, latest version of the Power Tools fixis some issues but leaves some still in the process with added extra.

ERROR in ./src/app/main/masterData/oraX_BatchNumbers/oraX_BatchNumbers.component.ts
Module not found: Error: Can't resolve '@abp/notify/notify.service' in 'W:\BRM\BRM-Versions\angular\src\app\main\masterData\oraX_BatchNumbers'
ERROR in ./src/app/main/masterData/oraX_CustomerMasters/oraX_CustomerMasters.component.ts
Module not found: Error: Can't resolve '@abp/notify/notify.service' in 'W:\BRM\BRM-Versions\angular\src\app\main\masterData\oraX_CustomerMasters'
ERROR in ./src/app/main/masterData/oraX_BatchNumbers/oraX_BatchNumbers.component.ts
Module not found: Error: Can't resolve 'primeng/components/paginator/paginator' in 'W:\BRM\BRM-Versions\angular\src\app\main\masterData\oraX_BatchNumbers'
ERROR in ./src/app/main/masterData/oraX_CustomerMasters/oraX_CustomerMasters.component.ts
Module not found: Error: Can't resolve 'primeng/components/paginator/paginator' in 'W:\BRM\BRM-Versions\angular\src\app\main\masterData\oraX_CustomerMasters'
ERROR in ./src/app/main/masterData/oraX_BatchNumbers/oraX_BatchNumbers.component.ts
Module not found: Error: Can't resolve 'primeng/components/table/table' in 'W:\BRM\BRM-Versions\angular\src\app\main\masterData\oraX_BatchNumbers'
ERROR in ./src/app/main/masterData/oraX_CustomerMasters/oraX_CustomerMasters.component.ts
Module not found: Error: Can't resolve 'primeng/components/table/table' in 'W:\BRM\BRM-Versions\angular\src\app\main\masterData\oraX_CustomerMasters'

In the new power tools the date for exporting to excels styling is not creating correctly and needs to be manually allocated for each date field in the excel code.

Some other issues as well:

ERROR in src/app/main/masterData/oraX_CustomerMasters/oraX_CustomerMasters.component.ts:4:31 - error TS2307: Cannot find module '@abp/notify/notify.service'.

4 import { NotifyService } from '@abp/notify/notify.service';
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/main/masterData/oraX_CustomerMasters/oraX_CustomerMasters.component.ts:10:23 - error TS2307: Cannot find module 'primeng/components/table/table'.

10 import { Table } from 'primeng/components/table/table';
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/main/masterData/oraX_CustomerMasters/oraX_CustomerMasters.component.ts:11:27 - error TS2307: Cannot find module 'primeng/components/paginator/paginator'.

11 import { Paginator } from 'primeng/components/paginator/paginator';
                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/main/masterData/oraX_CustomerMasters/oraX_CustomerMasters.component.ts:12:31 - error TS2307: Cannot find module 'primeng/components/common/lazyloadevent'.

12 import { LazyLoadEvent } from 'primeng/components/common/lazyloadevent';

Hi @Ismcagdas

There are still issues with the following:

ERROR in ./src/app/main/masterData/oraX_ItemMasters/oraX_ItemMasters.component.ts Module not found: Error: Can't resolve '@abp/notify/notify.service' in 'W:\BRM\8.5.0\BRM\angular\src\app\main\masterData\oraX_ItemMasters' ERROR in ./src/app/main/masterData/oraX_ItemMasters/oraX_ItemMasters.component.ts Module not found: Error: Can't resolve 'primeng/components/paginator/paginator' in 'W:\BRM\8.5.0\BRM\angular\src\app\main\masterData\oraX_ItemMasters' ERROR in ./src/app/main/masterData/oraX_ItemMasters/oraX_ItemMasters.component.ts Module not found: Error: Can't resolve 'primeng/components/table/table' in 'W:\BRM\8.5.0\BRM\angular\src\app\main\masterData\oraX_ItemMasters'

I created a custom template for this temporarily as the errors are causing quite a bit of delays.

For those that need to bypass this error replace the below in this folder: Path: \aspnet-core\AspNetZeroRadTool\FileTemplates\Client\Angular\ComponentTemplate\MainTemplate.txt (Create a MainTemplate.custom.txt file)

Replace this: import { NotifyService } from '@abp/notify/notify.service';

With this: import { NotifyService } from 'abp-ng2-module';

And this: {{DataTable_Import_Here}}{{TurboTable_Import_Here}}; import { Paginator } from 'primeng/components/paginator/paginator'; import { LazyLoadEvent } from 'primeng/components/common/lazyloadevent';

with this: import { LazyLoadEvent } from 'primeng/public_api'; import { Paginator } from 'primeng/paginator'; import { Table } from 'primeng/table';

Showing 11 to 20 of 76 entries