Ngx-bootstrap: Can't bind to '[XXX]' since it isn't a known property of 'component'

Created on 15 Aug 2016  路  5Comments  路  Source: valor-software/ngx-bootstrap

Since upgrading to RC5 I have been experiencing these errors with various ng2-bootstrap components

Specifically:
Can't bind to 'type' since it isn't a known property of 'alert'
Can't bind to 'dismissible' since it isn't a known property of 'alert'
Can't bind to 'justified' since it isn't a known property of 'tabset'

Similar to this issue below re: datepicker and RC5

833

Most helpful comment

I am having same issue with angular2-webpack build

All 5 comments

So, it appears this is not an ng2-bootstrap issue, but an issue with minifying and compressing my bundled js file after the latest angular updated.

This build_dev build script works with RC4, but produces the above errors once I switched to RC5:

"scripts": {
"build_dev": "tsc && browserify -s main dist/app/main.js > dist/app/bundle.js && npm run minify && npm run compress",
"minify": "uglifyjs dist/app/bundle.js --screw-ie8 --compress --mangle --output dist/app/bundle.min.js",
"compress": "gzip dist/app/bundle.min.js"
},

If I remove the && npm run minify && npm run compress from the script, everything works fine with RC5.

I am having same issue with angular2-webpack build

@valorkin close?

This is the most annoying error I've ever encountered and I hate it

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ravirajhalli picture ravirajhalli  路  3Comments

RolfVeinoeSorensen picture RolfVeinoeSorensen  路  3Comments

PascalHonegger picture PascalHonegger  路  3Comments

phmello picture phmello  路  3Comments

tpiros picture tpiros  路  3Comments