AckerApple / agm-overlays

Custom marker overlay for the @agm/core package
MIT License
25 stars 24 forks source link

Angular 7 unable to find angular/core and @agm/core #27

Closed sreeyashu closed 5 years ago

sreeyashu commented 5 years ago
import { AgmCoreModule } from '@agm/core';
import { AgmOverlays } from "agm-overlays";

@NgModule({
  imports: [
    CommonModule,
    //SharedRouting,
    AgmOverlays,
    AccordionModule,
      AgmCoreModule.forRoot({apiKey: Settings.API_KEY})
  ],

ERROR in ../node_modules/agm-overlays/AgmOverlay.component.d.ts(1,53): error TS2307: Cannot find module '@angular/core'. ../node_modules/agm-overlays/AgmOverlay.component.d.ts(2,68): error TS2307: Cannot find module '@agm/core'.

This is the issue I face, I have followed your instruction. What wrong I have made?

Can you guide me? it looks a great addition for AGM I want to use it now.

sreeyashu commented 5 years ago

Sorry, I have reinstalled everything on my Angular project and it started working.