laker007 / ionic3-calendar

Ionic Calendar Component
23 stars 24 forks source link

Failed to load resource: the server responded with a status of 404 (Not Found) #5

Open marinagosson opened 6 years ago

marinagosson commented 6 years ago

I installed the library, I placed the module in app.ts, I ran the app and this error appeared.

Typescript Error

Class 'Nav' incorrectly extends base class 'NavControllerBase'.
  Types of property 'goToRoot' are incompatible.
    Type '(opts: NavOptions) => Promise<any>' is not assignable to type '(opts: NavOptions) => Promise<never>'.
      Type 'Promise<any>' is not assignable to type 'Promise<never>'.
        Type 'any' is not assignable to type 'never'.
SaraOunissi commented 6 years ago

Hi!!

Same problem for me

danthegentleman commented 6 years ago

If you are using PageModule for lazy loading the pages, try to import the CalendarModule only in your page module instead of app module.

juanariascsc commented 6 years ago

I temporally fix this issue adding this on tsconfig.json...

"compilerOptions": { .... "skipLibCheck": true, "noStrictGenericChecks": true, .....

Thanks to vascofernandes. This is the link where I get the temporally solution:

https://github.com/ionic-team/ionic/issues/12233