Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Error compiling Angular 4 in Centos 7 / Linux - Solution #3567


User avatar
0
karimgarza created

Hi,

I was getting the following error:

ERROR in /srv/tcagent/BuildAgent/work/a1dd18c76a64b6f5/af-win/angular/src/app/shared/layout/notifications/notifications.component.ts (5,30): Cannot find module '@shared/helpers/JTableHelper'.

ERROR in /srv/tcagent/BuildAgent/work/a1dd18c76a64b6f5/af-win/angular/src/app/shared/layout/linked-accounts-modal.component.ts (5,30): Cannot find module '@shared/helpers/JTableHelper'.

ERROR in /srv/tcagent/BuildAgent/work/a1dd18c76a64b6f5/af-win/angular/src/app/shared/common/lookup/common-lookup-modal.component.ts (6,30): Cannot find module '@shared/helpers/JTableHelper'.

I had to rename the file angular\src\shared\helpers\jtableHelper.ts to JTableHelper.ts


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    ok but the filename is not important. it is looks for the class name and it's correct export class JTableHelper{ }