ng2-bootstrap-modal icon indicating copy to clipboard operation
ng2-bootstrap-modal copied to clipboard

this.applicationRef.attachView is not a function

Open ashlesha86 opened this issue 8 years ago • 4 comments

hello, can you please help for this error?

Thanks

ashlesha86 avatar Feb 22 '17 08:02 ashlesha86

Hi ashlesha86, i think you are using an older angular 2 version. You should try to update to the newest version.

paddyhamburg avatar Feb 22 '17 14:02 paddyhamburg

I have the same problem running angular 2.4.3.

AJLewis avatar Mar 03 '17 10:03 AJLewis

Please see https://github.com/ankosoftware/ng2-bootstrap-modal/tree/master/demo or https://plnkr.co/edit/MB6NnzfhicMyAiMJy6YM?p=preview to check what you are doing wrong. Or give me some details.

bikalay avatar Mar 05 '17 22:03 bikalay

I had the same problem, then upgrade to angular 2.4.9, and this problem is gone. After a lot of struggle with upgrading corresponding components, my npm start finally shows no error. However, my webpage doesn't show up and the console error message looks like this

Uncaught NoAnnotationError {_nativeError: ZoneAwareError} Any idea?

miliu99 avatar Apr 02 '17 17:04 miliu99