-
Notifications
You must be signed in to change notification settings - Fork 490
angular-datatables has no exported member #1691
Comments
Hi, Can you provide a small, reproducible repo to investigate this? |
I was able to reproduce the issue with #1692 The issue happens with fresh install of angular-datatables@14.0.0 however it doesn't happen if I used a local build of the library (using I tried using Node v14 and v16 and the problem still occurs. @l-lin maybe CI build differs somehow? Any ideas how to investigate this? |
The only difference is that the Github action is using a node version 12 as you see here. Let's see if switching to version 16 changes anything. I'll release a 14.0.1 to test it out. |
Unfortunately, it does not seem to mitigate the issue, although when I start a new angular project with newest angular/cli (v15), I do not reproduce the issue. Interesting behavior... Another thing I notice in the sample provided in #1692 is the fact angular-datatables has a dependency to codelyzer which depends on angular 9: ➜ npm list --depth=10 | grep -A 5 angular-datatables
dt-poc@0.0.0 /home/l-lin/tmp/foobar/angular-datatables-bugged
├── __ngcc_entry_points__.json@ extraneous
├─┬ @angular-devkit/build-angular@14.2.10
│ ├─┬ @ampproject/remapping@2.2.0
│ │ ├─┬ @jridgewell/gen-mapping@0.1.1
│ │ │ ├── @jridgewell/set-array@1.1.2
--
├─┬ angular-datatables@14.0.1
│ └─┬ codelyzer@6.0.2
│ ├─┬ @angular/compiler@9.0.0
│ │ └── tslib@1.14.1 deduped
│ ├─┬ @angular/core@9.0.0
│ │ ├── rxjs@6.6.7 deduped It seems the dependency has been added by this commit. @shanmukhateja, do we need this dependecy? I feel like this issue is linked to this version conflict (same issue as this stackoverflow question. |
v14.0.2 has been released and should fix this issue. |
I started my new project, I tried to compile but it failed to compile.
mycomponent.ts
mypage.html
The text was updated successfully, but these errors were encountered: