ngx-datatable: 6.0.0 breaks AoT: datatable.component.scss not found

I’m submitting a … (check one with “x”)

[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior AOT build using angular-cli beta 26 fails:

ERROR in ENOENT: no such file or directory, open '/foo/frontend/node_modules/@swimlane/ngx-datatable/release/components/datatable.component.scss'

Expected behavior

Reproduction of the problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Table version: 0.7.x 6.0.0

  • Angular version: 2.0.x 2.4.5

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X. n/a

  • Language: [all | TypeScript X.X | ES6/7 | ES5] Typescript 2.1.4

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 6
  • Comments: 34 (19 by maintainers)

Commits related to this issue

Most upvoted comments

Please retest. I made a temp fix to move the scss for now.

+1 I’ve got the same issue

@kabilya do you have solved this problem? i met the same one too. ngx-datatable thank you for any suggestions!

Ya, thats the side effect of that hack. I thought that might happen.

I’m still investigating the best way to do this without it being even more hacky…

I confirm, the fix seems to be working.

If anyone else wants to take a look, I have updated the repo https://github.com/smoke/ngx-datatable-aot-issue