angular-generic-table icon indicating copy to clipboard operation
angular-generic-table copied to clipboard

Module not found: Error: Can't resolve '@angular-generic-table/core/components/gt-expanding-row.component'

Open michmosh opened this issue 7 years ago • 4 comments

I installed ubutntu 17.10. I started to get error:

Module not found: Error: Can't resolve '@angular-generic-table/core/components/gt-expanding-row.component'

It happens when i do the command ng-serve.

michmosh avatar Apr 16 '18 08:04 michmosh

Hi @michmosh, have you cloned the repository or installed it in your own project using npm?

hjalmers avatar Apr 18 '18 06:04 hjalmers

Hello, Thanks for your reply. I instaled it using npm as part of a larger project that uses generic table. Thank you very much

Regards Moshe Michalovich

בתאריך יום ד׳, 18 באפר׳ 2018, 09:49, מאת Robert Hjalmers ‏< [email protected]>:

Hi @michmosh https://github.com/michmosh, have you cloned the repository or installed it in your own project using npm?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hjalmers/angular-generic-table/issues/216#issuecomment-382281173, or mute the thread https://github.com/notifications/unsubscribe-auth/AQhCIZv0pgMBGpTPIjVR6XH8GpP-ZH3Mks5tpuH3gaJpZM4TWFJM .

michmosh avatar Apr 18 '18 11:04 michmosh

How have you imported it, do you have some code you can share perhaps? If you copied from this example I noticed the reference is wrong it should be:

 import {GtExpandedRow} from '@angular-generic-table/core';

hjalmers avatar Apr 19 '18 06:04 hjalmers

Hello, Thanks for your reply. Could it be related to deleting this line ' @types : [] ' from tsconfig.app.json file ? I deleted it and the problem was solved but i dont know why.

Regards Moshe Michalovich

בתאריך יום ה׳, 19 באפר׳ 2018, 09:18, מאת Robert Hjalmers ‏< [email protected]>:

How have you imported it, do you have some could you can share perhaps? If you copied from this example https://hjalmers.github.io/angular-generic-table/row-click I noticed the reference is wrong it should be:

import {GtExpandedRow} from '@angular-generic-table/core/components/gt-expanding-row.component';

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hjalmers/angular-generic-table/issues/216#issuecomment-382623272, or mute the thread https://github.com/notifications/unsubscribe-auth/AQhCIaBsTidQFdPqiu8wr1GGB9SMooYBks5tqCxQgaJpZM4TWFJM .

michmosh avatar Apr 22 '18 18:04 michmosh