hsuanxyz / ion2-calendar

📅 A date picker components for ionic2 /ionic3 / ionic4
https://hsuanxyz.github.io/demo/ion2-calendar/
MIT License
555 stars 278 forks source link

ERROR in node_modules/ion2-calendar/dist/calendar.controller.d.ts:1:33 - error TS2307: Cannot find module 'ionic-angular'. [ng] 1 import { ModalController } from 'ionic-angular'; #266

Closed VigneshMohanrajInvensis closed 5 years ago

VigneshMohanrajInvensis commented 5 years ago

Ionic version: (check one with "x") [ ] 2.x [ ] 3.x [ x] 4.x

Ion2-calendar mode: (check one with "x") [x ] components mode [ ] modal mode

I'm submitting a ... (check one with "x") [x ] bug report [ ] feature request [ ] help me

Current behavior:

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here
ERROR in node_modules/ion2-calendar/dist/calendar.controller.d.ts:1:33 - error TS2307: Cannot find module 'ionic-angular'.
[ng] 1 import { ModalController } from 'ionic-angular';

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

insert the output from ionic info here
EDcasa commented 5 years ago

I had the same problem and I solved it with npm install ion2-calendar@next moment --save

VigneshMohanrajInvensis commented 5 years ago

I had the same problem and I solved it with npm install ion2-calendar@next moment --save

Thanks @EDcasa .. it worked for me.

tomavic commented 4 years ago

I tried the command above and still got the same error

tatianilima commented 4 years ago

same problem here