ngx-chips: Error in production build

Current behavior

While doing npm run build

ERROR in Directive ɵa in node_modules/ngx-chips/ngx-chips.d.ts has no selector, please add it! Cannot determine the module for class ɵa in node_modules/ngx-chips/ngx-chips.d.ts! Add ɵa to the NgModule to fix it.

Expected behavior Build should run successfully

What do you use to build your app?. Please specify the version App version : 2.2.1

Angular version: Angular version: 8

ngx-chips version: App version : 2.2.1

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 19 (6 by maintainers)

Most upvoted comments

Thanks @Gbuomprisco, It’s working fine for me now with version 2.1.0 without ^.

Thank you very much for the quick response 😃

Hi!, Same issue, fixed installing previous version 2.1.0

npm i ngx-chips@2.1.0

Same issue with angular 8.0.0 , “ngx-chips”: “^2.1.0”

I have configured to older version “ngx-chips”: “^1.9.8” . Which fixed my usecase