Cannot find module '@agm/core'
16,318
Solution 1
npm install @agm/core --save
This command solved my problem.Thanks a lot.
Solution 2
Had the same issue.. Just run :
npm uninstall @agm/core -s
npm install @agm/core -s
Author by
Vishal Biradar
Hello! I'm Vishal I am an experienced Java and Angular web developer with skills in a wide variety of web technologies, both client-side and server-side. I express my creativity through technology and enjoy creating innovative solutions to problems. I am passionate about programming and eager to embrace new ideas, methodologies and technologies to expand my knowledge.
Updated on June 16, 2022Comments
-
Vishal Biradar almost 2 years
I am trying to use Google maps in my angular 4 app.
I am using Angular 4 and Nodejs 8.app.module.ts
import { BrowserModule } from '@angular/platform-browser'; import { NgModule, ApplicationRef } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { AppComponent } from './app.component'; import { AgmCoreModule } from '@agm/core'; @NgModule({ imports: [ BrowserModule, CommonModule, FormsModule, AgmCoreModule.forRoot({ apiKey: 'GOOGLEAPIKEY' }) ], providers: [], declarations: [ AppComponent ], bootstrap: [ AppComponent ] }) export class AppModule {}
Please help me ??