brunano21 / angular-4-data-table

An Angular 5 data table, with pagination, sorting, expandable rows, row selection, etc. with basic accessibility support.
MIT License
11 stars 19 forks source link

Module not found error? #18

Closed Hepallucion closed 6 years ago

Hepallucion commented 6 years ago

Most Likely this is an angular-newb type of issue, but I stared using angular5-data-tables to replace angular-2-data-tables when I was upgrading my project to angular5. This is the next error I'm encountering. Any help you can give would be great.

ERROR in ./~/angular5-data-table/bundles/angular5-data-table.umd.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../../Observable in C:\<Snip>\node_modules\angular5-data-table\bundles
 @ ./~/angular5-data-table/bundles/angular5-data-table.umd.js 7:19-46 11:21-48

ERROR in ./~/angular5-data-table/bundles/angular5-data-table.umd.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../../operator/debounceTime in C:\<Snip>\node_modules\angular5-data-table\bundles
 @ ./~/angular5-data-table/bundles/angular5-data-table.umd.js 8:21-59

ERROR in ./~/angular5-data-table/bundles/angular5-data-table.umd.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../../operator/do in C:\<Snip>\node_modules\angular5-data-table\bundles
 @ ./~/angular5-data-table/bundles/angular5-data-table.umd.js 12:11-39
Christoffleroux commented 6 years ago

Also getting this issue using angular 5.2.1 rxjs 5.5.1

Christoffleroux commented 6 years ago

@Hepallucion have you found solution/workaround to the issue?

Hepallucion commented 6 years ago

Nope, I've not found the fix yet. The issue is probably in webpack. What version of webpack are you using?

Christoffleroux commented 6 years ago

Hi Not using web pack, yet.... just referecing the bundle as is.

Christoffleroux commented 6 years ago

This package is the only one I have still left to upgrade before we can go to NG5

Hepallucion commented 6 years ago

Ive not been able to find the solution yet. What did you end up doing Christoffleroux?

Christoffleroux commented 6 years ago

@Hepallucion @brunano21 Nope haven't found a workaround

brunano21 commented 6 years ago

@Christoffleroux @Hepallucion Hi, I just published a newer version of the library, v.1.0.0 which includes tons of changes. Could you try and see if this version fixes your issue?

Christoffleroux commented 6 years ago

HI @brunano21 @Hepallucion

The update did resolve this issues.

Thanks very much for this

brunano21 commented 6 years ago

Awesome 👍