Closed venkatasairamu closed 6 years ago
hi fnds i chnanged from ngOutletContext to ngTemplateOutletContext but i got same error and i try in ionic 3 also but get same error
@venkatasairamu What does your template syntax look like now? ngTemplateOutlet and ngTemplateOutletContext are two different things, they can be replaced from one to another.
have gotten this error too. have done some research and other plugins have updated this to ngTemplateOutletContext for the latest version angular 5 version.
@venkatasairamu can you provide more info. I also got this error but solved it by replacing ngOutletContext
to ngTemplateOutletContext
in the dayview.js, weekview.js and monthview.js. Maybe this can help #252
Hi, I have spent some few hours till i found that i should change the values on those js files, it fixed my problem on my ionic3 project, perhaps there should be some of this explanation on the main readme file so it can help others users too. I have tried all 3 versions and none of them worked, just the replace on those 3 '.js' files @its-Aman mentioned worked like a charm.
@danilocecilia You should not directly change the js files. Instead, you need to use the correct version of this component. There's explanation about which version should be used depending on your Ionic and Angular version in README.
i am getting this error in ionic...i am using the below versions. Angular CLI: 1.7.0 Node: 9.5.0 and ionic 3.19.1.getting the bellow errors need urgent solution compiler.js:466 Uncaught Error: Template parse errors: Can't bind to 'ngOutletContext' since it isn't a known property of 'ng-template'.
In my monthview.ngfactory.ts, I am getting the below error saying can't find module 'ionic-angular/components/slides/slides.ngfactory'; . import as import0 from '@angular/core'; import as import1 from '@angular/common'; import as import2 from './monthview'; import as import3 from 'ionic-angular/components/slides/slides.ngfactory'; import as import4 from 'ionic-angular/components/slides/slides'; import as import5 from 'ionic-angular/config/config'; import as import6 from 'ionic-angular/platform/platform'; import as import7 from 'ionic-angular/navigation/view-controller'; import as import8 from 'ionic-angular/components/slides/slide.ngfactory'; import as import9 from 'ionic-angular/components/slides/slide'; import * as import10 from './calendar.service';
@rajkishoreandia I feel like you are not using the correct version combination of calendar, ionic and angular. Could you provide your package.json file? If you are using ionic 3.19.1 and Angular 5.0+, you need to use the ionic2-calendar@0.4.x, instead of 0.3.x
thanks for reply and problem is solved
On Sun, Dec 17, 2017 at 3:26 PM, twinssbc notifications@github.com wrote:
@venkatasairamu https://github.com/venkatasairamu What does your template syntax look like now? ngTemplateOutlet and ngTemplateOutletContext are two different things, they can be replaced from one to another.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/twinssbc/Ionic2-Calendar/issues/246#issuecomment-352244141, or mute the thread https://github.com/notifications/unsubscribe-auth/AcwBQFTzfwklVOxKT-LtJSXr6BSmRGNkks5tBOVhgaJpZM4RDF-G .
@twinssbc have done it..........thank you
Uncaught Error: Template parse errors: Can't bind to 'ngOutletContext' since it isn't a known property of 'ng-template'.