I’m trying to add bootstraps schematics but getting error

ng add @ng-bootstrap/ng-bootstrap

i tried to install bootstrap, but getting the following error

The package that you are trying to add does not support schematics. You can try using a different version of the package or contact the package author to add ng-add support.

then i tried this command

ng add @ng-bootstrap/schematics

but getting many more errors in bootstrap folder, total 17/18 errors, one of them is the following.

node_modules/@ng-bootstrap/ng-bootstrap/rating/rating.module.js:7:5 – error NG6002: Appears in the NgModule.imports of NgbRootModule, but itself has errors

what should i do to add bootstrap?

or just install bootstrap on whole system?

or use the link like in html ?

Source: Angular Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.