Topic: Errors building because of missing html and scss files

nm_patrick pro asked 5 years ago

I keep getting these errors on multiple html and scss files, they're actually missing: ERROR in ENOENT: no such file or directory, open '/Users/patrickpereira/portal2/src/app/angular-bootstrap-md/pro/material-select/select.component.html'   Looks like all html and scss files are missing.  

Rafał Rogulski free answered 5 years ago

Hi, It's problem with webpack template including, you can fix it moving all HTML from select.component.html to select.component.ts and change
templateUrl: 'select.component.html', to
template: `
  code form select.component.html

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No