Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sreeyashu opened this issue Apr 5, 2019 · 1 comment
Closed

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

sreeyashu opened this issue Apr 5, 2019 · 1 comment

Comments

@sreeyashu
Copy link

sreeyashu commented Apr 5, 2019

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 sreeyashu changed the title Angular 7 unable to fine angular/core and @agm/core Angular 7 unable to find angular/core and @agm/core Apr 5, 2019
@sreeyashu
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant