You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.
I have upgraded my npm to the latest version. The npm folder in my Visual Studio Application reads v6.0.3 while my package.json file also corresponds to this version 6.0.3.
But anytime i run my application i get the error cannot find module on the broswer
I believe HttpClient is used in versions above 3x but obviously have a higher version installed.
Please HELP!!!!!!!!!!!
The text was updated successfully, but these errors were encountered:
Did you include HttpModule in app.module.ts?
should be like this:
// app.module.ts:import{NgModule}from'@angular/core';import{BrowserModule}from'@angular/platform-browser';import{HttpClientModule}from'@angular/common/http';
@NgModule({imports: [BrowserModule,// Include it under 'imports' in your application module// after BrowserModule.HttpClientModule,],})exportclassMyAppModule{}
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have upgraded my npm to the latest version. The npm folder in my Visual Studio Application reads v6.0.3 while my package.json file also corresponds to this version 6.0.3.
But anytime i run my application i get the error cannot find module on the broswer
I believe HttpClient is used in versions above 3x but obviously have a higher version installed.
Please HELP!!!!!!!!!!!
The text was updated successfully, but these errors were encountered: