cipchk / ngx-bootstrap-modal

simplify the work with bootstrap modal dialogs
https://cipchk.github.io/ngx-bootstrap-modal
MIT License
22 stars 7 forks source link

ERROR in Error: Metadata version mismatch for module ../node_modules/ngx-bootstrap-modal/index.d.ts, found version 4, expected 3, resolving symbol #4

Closed jenkyjeni closed 6 years ago

jenkyjeni commented 6 years ago

Please help me to resolve this in angular 4. This issue occurs with latest version on angular 4

cipchk commented 6 years ago

please provider your package.json.

or, trying use:

"ngx-bootstrap-modal": "1.0.12"
jenkyjeni commented 6 years ago

thanks it working fine in 1.0.12

Nyantahi commented 6 years ago

Thank you changing to version 1.0.12 worked for me as well.

AakritiGoyal commented 6 years ago

Getting same issue with "ngx-bootstrap-modal": "1.0.12"

cipchk commented 6 years ago

@aakritiOpallios Please remove node_modules & package_lock.json.

AakritiGoyal commented 6 years ago

Working fine now .. I had to remove ^ from the version

AakritiGoyal commented 6 years ago

I am trying to customize alerts but not able to do it ... Title is not visible .. and close button is also not available.. I am using this:

title = "success" message = "successfully updated" this.dialogService.alert(title, message, { "icon": icon, "size": 'sm', "showCancelButton": false, "showConfirmButton": false, "showCloseButton": true, })

cipchk commented 6 years ago

a demo


updated

cipchk commented 6 years ago

I don't think any problem, a shots:

tim 20180109193938

cipchk commented 6 years ago

I think stop discussing for the issues, should be new issues if you have any question. BTW: Please provider a online demo via stackblitz.